-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
HL7800 driver fixes for TLS and DTLS #83763
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ensure the proper byte order is used for the network socket in the stack. When sending the AT commands, the port needs to be converted to host endianess. TLS handshakes check that the remote address and port match what is expected. Signed-off-by: Ryan Erickson <[email protected]>
Add commented kconfig options for debugging DTLS connections. Signed-off-by: Ryan Erickson <[email protected]>
rerickson1
force-pushed
the
PR/PROD-17883
branch
5 times, most recently
from
January 10, 2025 01:42
997f640
to
af0f757
Compare
rerickson1
force-pushed
the
PR/PROD-17883
branch
from
January 10, 2025 18:07
767ac95
to
0ef7f30
Compare
zephyrbot
added
area: Modem Drivers
area: Samples
Samples
area: Networking
area: LWM2M
area: HTTP
HTTP client/server support
area: Sockets
Networking sockets
labels
Jan 10, 2025
zephyrbot
requested review from
jukkar,
kartben,
mrodgers-witekio,
nashif,
pdgendt,
rlubos,
SeppoTakalo,
ssharks and
tbursztyka
January 10, 2025 18:25
rerickson1
force-pushed
the
PR/PROD-17883
branch
from
January 10, 2025 18:43
b89a77e
to
dfba807
Compare
jukkar
reviewed
Jan 14, 2025
rerickson1
added
bug
The issue is a bug, or the PR is fixing a bug
priority: medium
Medium impact/importance bug
labels
Jan 15, 2025
Add an overlay for hl7800 modem configuration. Adjust the client to wait until the network is ready before trying to connect to the lwm2m server. Signed-off-by: Ryan Erickson <[email protected]>
All other APIs that need to reset the modem do so in an async way. Make the rest API async as well. This fixes issues where modem events related to the reset were not generated properly. Signed-off-by: Ryan Erickson <[email protected]>
When powering off the modem, appropriate state events should be triggered. Signed-off-by: Ryan Erickson <[email protected]>
The new state event allows a user to know the overall state of the HL7800 driver. Signed-off-by: Ryan Erickson <[email protected]>
Ensure the HL7800 is awake before starting a firmware update. Signed-off-by: Ryan Erickson <[email protected]>
Ensure the HL7800 stays awake for the entire firmware update. Signed-off-by: Ryan Erickson <[email protected]>
Update AT command API to return a response. Add param to set the timeout when waiting for a response. If the user does not desire a response, the response buffer can be NULL. Signed-off-by: Ryan Erickson <[email protected]>
When sleep modes are used, sockets are restored from NV after boot. If the network changes IP addresses, restore sockets maintain old network info in the HL7800 firmware. On boot, restored sockets should be closed to ensure new sockets are created with updated network info. Signed-off-by: Ryan Erickson <[email protected]>
On boot cleanup any restored sockets if they exist. Signed-off-by: Ryan Erickson <[email protected]>
Minor fixes to ensure GET google.com is successful. Signed-off-by: Ryan Erickson <[email protected]>
rerickson1
force-pushed
the
PR/PROD-17883
branch
2 times, most recently
from
January 16, 2025 16:36
3a9d599
to
3afc4c2
Compare
Add overlay and small adjustments for using the hl7800 modem. Works out of the box with pinnacle_100_dvk and mg100. Signed-off-by: Ryan Erickson <[email protected]>
Add support for the pinnacle_100_dvk and mg100. With these boards, wait to get on the network before trying to connect to AWS. Signed-off-by: Ryan Erickson <[email protected]>
Add release notes for HL7800 driver fixes included in the 4.1 release. Signed-off-by: Ryan Erickson <[email protected]>
rerickson1
force-pushed
the
PR/PROD-17883
branch
from
January 16, 2025 16:40
3afc4c2
to
f40c15e
Compare
rlubos
approved these changes
Jan 17, 2025
jukkar
approved these changes
Jan 20, 2025
@rerickson1 can you please look into CI failure in main? |
sent a hotfix here: #84243 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: HTTP
HTTP client/server support
area: LWM2M
area: Modem Drivers
area: Networking
area: Samples
Samples
area: Sockets
Networking sockets
bug
The issue is a bug, or the PR is fixing a bug
priority: medium
Medium impact/importance bug
Release Notes
To be mentioned in the release notes
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes
#81672