Skip to content

wiseconnect: Adding SiWx917 Network Stack Application APIs #100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

ragurram26
Copy link
Contributor

@ragurram26 ragurram26 commented May 9, 2025

To support the SiWx917 Network Stack Application
protocol offloading, we need to add the Silicon Labs APIs,
so adding the corresponding source files and include files

@ragurram26 ragurram26 changed the title wiseconnect: Adding SL Embedded TA APIs wiseconnect: Adding Silabs Embedded TA APIs May 9, 2025
@ragurram26 ragurram26 force-pushed the Embedded_TA_stack branch 2 times, most recently from 7a1b843 to bf99442 Compare May 12, 2025 05:10
@jhedberg
Copy link
Member

@ragurram26 please follow the same guidelines for commit messages as is required in the main tree: https://docs.zephyrproject.org/latest/contribute/guidelines.html#commit-guidelines

Also, please remove the revert commit and instead git push --force a clean revision.

@ragurram26 ragurram26 force-pushed the Embedded_TA_stack branch 4 times, most recently from 1d06dd3 to 32a7525 Compare May 13, 2025 05:42
@ragurram26 ragurram26 changed the title wiseconnect: Adding Silabs Embedded TA APIs wiseconnect: Adding SiWx917 Network Stack Application APIs May 13, 2025
Copy link
Member

@jhedberg jhedberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't accept MSLA licensed files upstream. Also please note that since #97 was merged you likely need to sync up with that, and be sure to indicate which wiseconnect version you're importing the files from (btw, you need to also update the include script).

Comment on lines 9 to 14
* The licensor of this software is Silicon Laboratories Inc. Your use of this
* software is governed by the terms of Silicon Labs Master Software License
* Agreement (MSLA) available at
* www.silabs.com/about-us/legal/master-software-license-agreement. This
* software is distributed to you in Source Code format and is governed by the
* sections of the MSLA applicable to Source Code.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MSLA

Comment on lines 9 to 14
* The licensor of this software is Silicon Laboratories Inc. Your use of this
* software is governed by the terms of Silicon Labs Master Software License
* Agreement (MSLA) available at
* www.silabs.com/about-us/legal/master-software-license-agreement. This
* software is distributed to you in Source Code format and is governed by the
* sections of the MSLA applicable to Source Code.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MSLA

Comment on lines 6 to 11
* The licensor of this software is Silicon Laboratories Inc. Your use of this
* software is governed by the terms of Silicon Labs Master Software License
* Agreement (MSLA) available at
* www.silabs.com/about-us/legal/master-software-license-agreement. This
* software is distributed to you in Source Code format and is governed by the
* sections of the MSLA applicable to Source Code.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MSLA

Comment on lines 9 to 14
* The licensor of this software is Silicon Laboratories Inc. Your use of this
* software is governed by the terms of Silicon Labs Master Software License
* Agreement (MSLA) available at
* www.silabs.com/about-us/legal/master-software-license-agreement. This
* software is distributed to you in Source Code format and is governed by the
* sections of the MSLA applicable to Source Code.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MSLA

Comment on lines 6 to 11
* The licensor of this software is Silicon Laboratories Inc. Your use of this
* software is governed by the terms of Silicon Labs Master Software License
* Agreement (MSLA) available at
* www.silabs.com/about-us/legal/master-software-license-agreement. This
* software is distributed to you in Source Code format and is governed by the
* sections of the MSLA applicable to Source Code.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MSLA

Comment on lines 6 to 11
* The licensor of this software is Silicon Laboratories Inc. Your use of this
* software is governed by the terms of Silicon Labs Master Software License
* Agreement (MSLA) available at
* www.silabs.com/about-us/legal/master-software-license-agreement. This
* software is distributed to you in Source Code format and is governed by the
* sections of the MSLA applicable to Source Code.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MSLA

@jerome-pouiller jerome-pouiller added the DNM Do Not Merge label May 13, 2025
@jerome-pouiller
Copy link
Collaborator

The commit message associated to this import is described here: https://docs.zephyrproject.org/latest/contribute/guidelines.html#identifying-contribution-origin

In addition, can you update the list in import_wiseconnect.py (otherwise these file will disappear in next migration)?

For reference, check:
be0adf6
d48b7d0

FYI, the exact wiseconnect version currently used is 05ef77e82bb473fdf157d33fb9cbf6e1d9a11a9e (v3.5.0-rc3).

@jerome-pouiller
Copy link
Collaborator

@ragurram26 you have to rebase your PR rather merging with main branch (see https://docs.zephyrproject.org/latest/contribute/guidelines.html#contribution-workflow).

@ragurram26 ragurram26 force-pushed the Embedded_TA_stack branch 6 times, most recently from ef883c6 to de789c9 Compare May 14, 2025 17:30
"components/service/network_manager/src/sli_net_common_utility.c",
"components/service/network_manager/src/sl_net_basic_profiles.c",
"components/service/network_manager/src/sl_net.c",
"components/service/network_manager/src/sl_net_credentials.c",
"components/service/sntp/si91x/sl_sntp.c",
"components/service/http_client/si91x_socket/sl_http_client.c",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This list of file is in fact sorted in alphabetical order.

@jerome-pouiller
Copy link
Collaborator

Can you import the files in a separated commit (without change in import_wiseconnect.py)?

@ragurram26 ragurram26 force-pushed the Embedded_TA_stack branch 4 times, most recently from 941f6d1 to a4ec11d Compare May 15, 2025 10:15
@ragurram26 ragurram26 force-pushed the Embedded_TA_stack branch from a4ec11d to 3edda6d Compare May 15, 2025 10:25
@ragurram26 ragurram26 force-pushed the Embedded_TA_stack branch 11 times, most recently from 4f591ae to bfb5446 Compare May 22, 2025 11:16
ragurram26 and others added 2 commits May 22, 2025 18:05
Origin: Silicon Labs WiseConnect SDK
License: Zlib
URL: https://github.com/siliconlabs/wiseconnect
Commit: 05ef77e82bb473fdf157d33fb9cbf6e1d9a11a9e
Version: v3.5.0-rc3
Purpose: To support the SiWx917 SNTP Network Stack Application
protocol offloading, we need to add the Silicon Labs APIs,
so adding the corresponding source files and include files

Co-authored-by: Swami Das Nampalli <[email protected]>
Signed-off-by: Swami Das Nampalli <[email protected]>
Signed-off-by: Rahul Gurram <[email protected]>
Origin: Silicon Labs WiseConnect SDK
License: Zlib
URL: https://github.com/siliconlabs/wiseconnect
Commit: 05ef77e82bb473fdf157d33fb9cbf6e1d9a11a9e
Version: v3.5.0-rc3
Purpose: To support the SiWx917 HTTP Network Stack Application protocol
offloading, we need to add the Silicon Labs APIs,
so adding the corresponding source files and include files

Co-authored-by: Swami Das Nampalli <[email protected]>
Signed-off-by: Swami Das Nampalli <[email protected]>
Signed-off-by: Rahul Gurram <[email protected]>
@ragurram26 ragurram26 force-pushed the Embedded_TA_stack branch from bfb5446 to ed1d95f Compare May 22, 2025 12:35
Add SNTP, HTTP, MQTT, ICMP, Websockets, MDNS,
DNS sdk files in import_wiseconnect.py

Signed-off-by: Rahul Gurram <[email protected]>
Origin: Silicon Labs WiseConnect SDK
License: Zlib
URL: https://github.com/siliconlabs/wiseconnect
Commit: 05ef77e82bb473fdf157d33fb9cbf6e1d9a11a9e
Version: v3.5.0-rc3
Purpose: To support the SiWx917 MQTT Network Stack Application
protocol offloading, we need to add the Silicon Labs APIs,
so adding the corresponding source files and include files

Signed-off-by: Rahul Gurram <[email protected]>
Origin: Silicon Labs WiseConnect SDK
License: Zlib
URL: https://github.com/siliconlabs/wiseconnect
Commit: 05ef77e82bb473fdf157d33fb9cbf6e1d9a11a9e
Version: v3.5.0-rc3
Purpose: To support the SiWx917 ICMP Network Stack Application
protocol offloading, we need to add the Silicon Labs APIs,
so adding the corresponding source files and include files

Signed-off-by: Rahul Gurram <[email protected]>
Origin: Silicon Labs WiseConnect SDK
License: Zlib
URL: https://github.com/siliconlabs/wiseconnect
Commit: 05ef77e82bb473fdf157d33fb9cbf6e1d9a11a9e
Version: v3.5.0-rc3
Purpose: To support the SiWx917 Websockets Network
Stack Application protocol offloading, we need to
add the Silicon Labs APIs,so adding the corresponding
source files and include files

Signed-off-by: Rahul Gurram <[email protected]>
Origin: Silicon Labs WiseConnect SDK
License: Zlib
URL: https://github.com/siliconlabs/wiseconnect
Commit: 05ef77e82bb473fdf157d33fb9cbf6e1d9a11a9e
Version: v3.5.0-rc3
Purpose: To support the SiWx917 MDNS Network
Stack Application protocol offloading, we need to
add the Silicon Labs APIs,so adding the corresponding
source files and include files

Signed-off-by: Rahul Gurram <[email protected]>
sl_strlen() and sl_strnlen() can be safely replaced by Posix
equivalents.

Signed-off-by: Rahul Gurram <[email protected]>
To avoid any confusion between BSD sockets and Wiseconnect API, this
patch just call the underlying functions (sli_si91x_shutdown()) instead
of close(). sli_si91x_connect instead of connect() sli_si91x_send()
intead of send()

Signed-off-by: Rahul Gurram <[email protected]>
Origin: Silicon Labs WiseConnect SDK
License: Zlib
URL: https://github.com/siliconlabs/wiseconnect
Commit: 05ef77e82bb473fdf157d33fb9cbf6e1d9a11a9e
Version: v3.5.0-rc3
Purpose: To support the SiWx917 DNS Network
Stack Application protocol offloading, we need to
add the Silicon Labs APIs,so adding the corresponding
source files and include files

Signed-off-by: Rahul Gurram <[email protected]>
@ragurram26 ragurram26 force-pushed the Embedded_TA_stack branch from 180635f to 60a35dd Compare May 23, 2025 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DNM Do Not Merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants