-
Notifications
You must be signed in to change notification settings - Fork 3k
Cellular: Add deativation of context associated with profile #12589
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
I updated the title (add cellular: to identify the module changed here) |
@fahim-ublox, thank you for your changes. |
CI started |
Looks like unittest failed, CI will report soon the build logs |
Test run: FAILEDSummary: 1 of 4 test jobs failed Failed test jobs:
|
I found this in the logs:
|
@fahim-ublox thanks a lot, i tested it and is up and running in 21 sec |
@fahim-ublox i just discovered that if i turn off the AT debug |
I suppose this failure is target independent. We don't have build system ready to build these target independent tests. The failure in unit test is due to I have made do_disconnect a protected method. |
Tested with |
@ARMmbed/mbed-os-wan Please review ^^ |
To fix the unittests, you need to add do_disconnect() function body to: https://github.com/ARMmbed/mbed-os/blob/master/UNITTESTS/stubs/AT_CellularContext_stub.cpp |
@AnttiKauppila this file is maintained by Arm and it's not target dependant. |
This PR changes the visibility of the method so UT fix must come with this PR. And like Antti mentioned, just implement an empty function. |
Pull request has been modified.
@fahim-ublox thanks for the updates @ARMmbed/mbed-os-maintainers can we re-run tests please? |
Apologies for delay as WFH. Now AT_CellularContext_stub.cpp has been updated |
CI restarted |
Test run: FAILEDSummary: 1 of 6 test jobs failed Failed test jobs:
|
Looks like unrelated ci issues, restarting |
Test run: FAILEDSummary: 1 of 6 test jobs failed Failed test jobs:
|
test restarted (internal issue should be resolved) |
CI restarted |
Test run: SUCCESSSummary: 6 of 6 test jobs passed |
@ARMmbed/mbed-os-wan Please review, ready for merge once approved |
@ARMmbed/mbed-os-maintainers Please go ahead and merge |
CI restarted |
Test run: SUCCESSSummary: 6 of 6 test jobs passed |
Summary of changes
Add deactivation of context associated with profile and fixing initialization phase
Impact of changes
Upon disconnect deactivation of context.
Documentation
None
Pull request type
Test results
Test report attached report_C030.zip
Reviewers
@MarceloSalazar