-
Notifications
You must be signed in to change notification settings - Fork 3k
CellularBase/AT_CellularBase removal #11996
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
@AnttiKauppila, thank you for your changes. |
CI started |
Test run: FAILEDSummary: 4 of 4 test jobs failed Failed test jobs:
|
@AnttiKauppila There's rebase needed |
I'm OK with the removal of the |
0533254
to
7864929
Compare
CI restarted |
Test run: FAILEDSummary: 4 of 4 test jobs failed Failed test jobs:
|
7864929
to
4e3ff3c
Compare
CI restarted |
Test run: FAILEDSummary: 3 of 4 test jobs failed Failed test jobs:
|
Regarding release notes:
Is this sufficient? What changes need to be done for drivers - do we have it captured anywhere or do I need to go through the code in this PR to find out?
CellularBase -> CellularInterface - just replace and works the same ,no changes to the API?
How to enable it, can we add the exact config to enable/disable ? |
Removed CellularBase and AT_CellularBase from cellular stack and updated both code and unittests accordingly. Moved property handling into AT_CellularDevice
tools folder had a reference to ppp-cell-iface.apn-lookup which is removed. This commit removes the reference to non-existing configuration
1b7fbb0
to
0f861a1
Compare
Release notes updated |
CI restarted |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
@bulislaw Please review, this is then ready for integration |
Removed CellularBase and AT_CellularBase from cellular stack and updated both code and unittests accordingly.
Description
Summary of change
Removed CellularBase and AT_CellularBase from cellular stack and updated both code and unittests accordingly. Also cellular drivers in Mbed OS have been updated.
Earlier cellular device properties were handled in AT_CellularBase class and after this change they are handled now correctly in AT_CellularDevice class. The properties are always modem specific and must be therefore handled in AT_CellularDevice class which is common for all contexts using it.
Also APN lookup and SMS features are now disabled by default
Disabling SMS will save ~4,5kB and APN lookup about ~2kB
Documentation
Pull request type
Test results
Reviewers
@ARMmbed/mbed-os-wan
Release Notes
Summary of changes
Removed CellularBase and AT_CellularBase from cellular stack and updated both code and unittests accordingly. Cellular drivers in Mbed OS have been updated.
APN lookup and SMS features are now disabled by default
Impact of changes
Earlier cellular device properties were handled in AT_CellularBase class and after this change they are handled now correctly in AT_CellularDevice class. The properties are always modem specific and must be therefore handled in AT_CellularDevice class which is common for all contexts using it.
CellularBase has been completely removed so those using must now switch to use CellularInterface instead.
Disabling SMS will save ~4,5kB and APN lookup about ~2kB
Migration actions required
Cellular modem drivers must be updated (done for targets in Mbed OS) by removing references to CellularBase.
CellularBase must be changed to CellularInterface if still in use. (was already typedef'ed so no other changes needed)
If SMS or APN lookup are needed by application, those needs to be enabled in mbed_app.json
(cellular.use-apn-lookup: true or cellular.use-sms: true)