Skip to content
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

application: serial_lte_modem: Multiple socket support #19929

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

junqingzou
Copy link
Contributor

Current solution
.SLM manages all opened sockets for MCU
.use #XSOCKETSELECT to switch active socket
.only one active socket

New solution
.MCU manages all opened socket
.Remove #XSOCKETSELECT
.multiple active sockets

Current solution
.SLM manages all opened sockets for MCU
.use #XSOCKETSELECT to switch active socket
.only one active socket

New solution
.MCU manages all opened socket
.Remove #XSOCKETSELECT
.multiple active sockets

Signed-off-by: Jun Qing Zou <jun.qing.zou@nordicsemi.no>
@github-actions github-actions bot added doc-required PR must not be merged without tech writer approval. changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. labels Jan 16, 2025
@NordicBuilder
Copy link
Contributor

CI Information

To view the history of this post, clich the 'edited' button above
Build number: 1

Inputs:

Sources:

more details

Github labels

Enabled Name Description
ci-disabled Disable the ci execution
ci-all-test Run all of ci, no test spec filtering will be done
ci-force-downstream Force execution of downstream even if twister fails
ci-run-twister Force run twister
ci-run-zephyr-twister Force run zephyr twister
List of changed files detected by CI (0)

Outputs:

Toolchain

Version:
Build docker image:

Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped; ⚠️ Quarantine

  • ❌ Toolchain
  • ❌ Build twister
  • ❌ Integration tests

Note: This message is automatically posted and updated by the CI

@junqingzou
Copy link
Contributor Author

ATTN: this is only a draft PR from customer requirement of supporting multiple sockets simultaneously, which is possible with Nordic competitors. There is no need of reviewing for NCS integretion as of now.

@NordicBuilder
Copy link
Contributor

You can find the documentation preview for this PR at this link.

Note: This comment is automatically posted by the Documentation Publish GitHub Action.

@@ -1017,9 +988,12 @@ static int handle_at_socket(enum at_parser_cmd_type cmd_type, struct at_parser *
} break;
Copy link
Contributor

Choose a reason for hiding this comment

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

You need ability to close a specific socket. Likely it could be a different AT-command.

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggestions:

  • sockopt_get and sec_sockopt_get should likely print out the socket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. doc-required PR must not be merged without tech writer approval.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants