This repository has been archived by the owner on Nov 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cellular fix to context activation, SARA-R422 corner case: force it. …
…(#1041) A case has turned up where, for SARA-R422, even though the module indicates that it is context activated on the network, i.e. AT+CGACT? returns 1,1, the module's internal clients (e.g. sockets, MQTT and HTTP) do not believe that is so. What fixes it is to always do an AT+CGACT=1,1 first, i.e. to force context activation. No idea why this should be necessary; the existing code has been in use for SARA_R422 for several years. Anyway, this is now done for SARA-R422.
- Loading branch information
Showing
1 changed file
with
35 additions
and
11 deletions.
There are no files selected for viewing
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
cba2456
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you expand more on the edge case that was found which required activation of the context? Just trying to make sure this isn't related to any of our problems.
Tagging @knj11 for his reference.
cba2456
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Peter: the issue that required the fix was this one:
#158
Best read from the end backwards I think.