-
Notifications
You must be signed in to change notification settings - Fork 3k
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: Added API for setting default parameters to a network inter… #9287
Cellular: Added API for setting default parameters to a network inter… #9287
Conversation
Moved methods to classes CellularDevice and CellularInformation. SIM interface was removed to simplify cellular usage and methods better suite new classes. Updated greentea and unit tests.
-added an API for checking network eps ciot optimization support -renamed the API for getting the UE parameters -the API for setting the UE parameters includes now a callback, which will be called once network support for eps ciot optimization is known
Cellular: Remove sim interface
…n_feature_branch Cellular ciot eps on feature branch
Cell refactor power api
Cellular: changed support features to CellularProperty array.
After this change we were able to change methods ATHandler::set_urc_handler and CellularDevice::set_ready_cb to void and simplify error handling.
Cellular: Removed unnecessary checks after new
This change enables removing function has_registration from class AT_CellularNetwork and all targets inheriting AT_CellularNetwork.
After AT_CellularNetwork::has_registration was replaced with CellularProperties and better AT_CellularNetwork::set_access_technology_impl default implementation we can delete most of the target specific classes that inherit AT_CellularNetwork.
Change usage of AT_CellularContext::stack_type_supported to AT_CellularBase::get_property. This way we can rid of targets overriding stack_type_supported and delete unnecessary classes and simplify new targets.
Generic cellular module (GENERIC_AT3GPP) can by used as a default module when porting new cellular module. It's a good starting point and eases porting of new modules. GENERIC_AT3GPP uses only standard 3GPP AT commands when communicating with the modem.
_sim_pin was changed to pointer from array and length was checked with strlen. If _sim_pin was null it caused crash. Fix by checking _sim_pin against NULL. Power class could have been called without checking if power is NULL. Fix by checking that power class is not null. Fix state machine to return correct states when queried.
Cellular: Add generic cellular modem
Cellular: added setting of data carrier support for UART.
I'm not sure about the cherry picking commit. It ran into conflict because travis file was many commits behind. I took the content as it is now in master. Is that ok? |
yes, should be |
Trying a thing. Standby. |
This is getting really annoying... |
This will go into CI once 5.11.2 RC test completes (soon in the current queue) |
85047bb
to
d2d8215
Compare
CI started |
Test run: FAILEDSummary: 1 of 1 test jobs failed Failed test jobs:
|
…face A network interface instantiated directly is initially unconfigured. This API can be used to set the default parameters that would have been set if the interface had been requested using NetworkInterface::get_default_instance()
Corrected simplified astyle job behavior when base branch is not master Consolidated efforts from PR ARMmbed#9336. Previous job's env vars would not be populated correctly if the base branch of a PR was not master. Corected by pulling remaining respository information to perform comparison between read-only instance of PR and base branch.
d2d8215
to
d6c42f7
Compare
Fixed the CI UT linking error |
CI started |
Test run: FAILEDSummary: 1 of 7 test jobs failed Failed test jobs:
|
6b0639d
to
007caa0
Compare
Latest rebase caused few conflicts here. |
Description
Added API for setting default parameters to a network interface.
Reason:
A network interface instantiated directly is initially unconfigured. This API can be used to set the default parameters that would have been set if the interface had been requested using NetworkInterface::get_default_instance().
This is needed when instantiating NonIP cellular interface for example and NetworkInterface::get_default_instance() cannot be used.
Pull request type