-
Notifications
You must be signed in to change notification settings - Fork 3k
cellular: Error messages #6632
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
cellular: Error messages #6632
Conversation
@AriParkkila please review |
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.
Looks good to me.
@jarvte please review
@@ -97,6 +98,20 @@ void AT_CellularNetwork::read_reg_params_and_compare(RegistrationType type) | |||
int lac = -1, cell_id = -1, act = -1; | |||
|
|||
read_reg_params(type, reg_status, lac, cell_id, act); | |||
|
|||
switch (reg_status) { |
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.
you could add this inside #if MBED_CONF_MBED_TRACE_ENABLE so when trace not enabled no extra code is generated
} | ||
|
||
|
||
CellularSIM::SimState AT_CellularSIM::trace_sim_errors(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.
you could add this inside #if MBED_CONF_MBED_TRACE_ENABLE so when trace not enabled no extra code is generated
/morph build |
Build : SUCCESSBuild number : 1750 Triggering tests/morph test |
Test : FAILUREBuild number : 1555 |
Unexpected error, restarting /morph test |
Exporter Build : SUCCESSBuild number : 1387 |
Test : SUCCESSBuild number : 1559 |
This is based on top of changes introduced in #6496 which is for 5.9 |
Description
Error messages modified to give more information about failure causes
Pull request type
[X] Fix
[ ] Refactor
[ ] New target
[ ] Feature
[ ] Breaking change