-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
samples: mmss: fix connection initialization order #8689
Conversation
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.
Generally fine.
Commit message should be:
Jira: IRIS-4777
or
IRIS-4777
not IRIS4777
4e0377e
to
bca4738
Compare
You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds. Note: This comment is automatically posted by the Documentation Publishing GitHub Action. |
Integration test specification
Test spec set is empty, this is probabley due to no matching entry in .github/test-spec.yml Detailed information of selected test modules Note: This message is automatically posted and updated by the CI |
Adding DNM. I’ll add my review comments tomorrow. |
@@ -642,7 +642,7 @@ static int connect_cloud(void) | |||
* | |||
* @return int - 0 on success, otherwise a negative error code. | |||
*/ | |||
static int setup_lte(void) | |||
static int setup_modem(void) |
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.
if FMFU is enabled and a delta update is performed, the code below will print out an invalid error message.
i think changing the check to if (err < 0)
should be sufficient.
For reference, see
static void handle_nrf_modem_lib_init_ret(void) |
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 catch -- I've decided to add debug logging for all three possibilities
bca4738
to
0b6789f
Compare
9f68c97
to
e8eb006
Compare
e8eb006
to
14b42b8
Compare
The changelog entry should be added to PR#8510 as a comment at this point to prevent merge conflicts. |
Slightly alter initialization procedure in connection.c to make sure delta firmware FOTA succeeds IRIS-4777 Signed-off-by: Georges Oates_Larsen <georges.larsen@nordicsemi.no>
Changelog entry will be added in the release notes PR directly, with the applied edit.
Slightly alter initialization procedure in connection.c to make sure delta firmware FOTA succeeds
IRIS4777
Signed-off-by: Georges Oates_Larsen georges.larsen@nordicsemi.no