-
Notifications
You must be signed in to change notification settings - Fork 3k
Cellular: Fixed con-disc sequence can now be called multiple times. #6928
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
Conversation
} | ||
} | ||
|
||
void EasyCellularConnection::set_plmn(const char* plmn) | ||
{ | ||
_cellularConnectionFSM.set_plmn(plmn); | ||
if (_cellularConnectionFSM) { |
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.
should we take plmn in temporary store or init FSM similar to set_sim_pin
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.
Good point, will add init
_credentials_err = init(); | ||
|
||
if (_credentials_err) { | ||
return; |
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.
should we just assert here..?
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.
_credentials_err is used later when trying to connect to return proper error. Because of the inherited void function we must store error for later use.
Please proceed with this one. |
/morph build |
Build : FAILUREBuild number : 2100 |
@0xc0170 morph pc out of space? |
Looks like that. I already noticed this a moment ago and reported. We will restart it |
/morph build |
Build : FAILUREBuild number : 2121 |
} | ||
} | ||
if (!success) { | ||
tr_warning("Failed to set any URC's for registration"); |
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.
Please review the build logs. Looks like this is not defined (missing include ?) .
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.
Fix LGTM
Holding off on restarting CI since we're manually prioritizing builds for PRs going into master in prep for 5.9 code freeze. Since this is a fix, it can come in during 5.8.6. |
/morph build |
Build : SUCCESSBuild number : 2162 Triggering tests/morph test |
Test : SUCCESSBuild number : 1952 |
Exporter Build : SUCCESSBuild number : 1788 |
Description
Fixed connect-disconnect sequence so that it can now be called multiple times from EasyCellularConnection.
Minor improvements to cellular state machine to make connect faster.
Internal ref to defect: IOTCELL-995
@AriParkkila @mirelachirica please review
Pull request type