fork
Revision 39:911ba7cb69aa, committed 2019-08-01
- Comitter:
- fahimalavi
- Date:
- Thu Aug 01 17:32:08 2019 +0500
- Parent:
- 38:c4e646ab61fb
- Commit message:
- set NB1 edrx related parameters
Changed in this revision
TESTS/unit_tests/default/main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r c4e646ab61fb -r 911ba7cb69aa TESTS/unit_tests/default/main.cpp --- a/TESTS/unit_tests/default/main.cpp Thu Aug 01 10:09:34 2019 +0500 +++ b/TESTS/unit_tests/default/main.cpp Thu Aug 01 17:32:08 2019 +0500 @@ -1201,8 +1201,12 @@ // Deregister from Network drop_connection(interface); } + // Set MNO profile + TEST_ASSERT(interface->set_mno_profile((UbloxATCellularInterface::MNOProfile)MBED_CONF_UBLOX_CELL_DEFAULT_MNO_PROFILE)); + tr_debug("MNO configured\n"); interface->set_receive_period(2, UbloxCellularBase::EDRXEUTRAN_WB_S1_mode, c_edrx_value); + interface->set_receive_period(2, UbloxCellularBase::EDRXEUTRAN_NB_S1_mode, c_edrx_value); // Rebooting modem for settings to take effect TEST_ASSERT(interface->reboot_modem()); @@ -1219,6 +1223,7 @@ drop_connection(interface); interface->set_receive_period(3, UbloxCellularBase::EDRXEUTRAN_WB_S1_mode); + interface->set_receive_period(3, UbloxCellularBase::EDRXEUTRAN_NB_S1_mode); // Set MNO profile TEST_ASSERT(interface->set_mno_profile((UbloxATCellularInterface::MNOProfile)(MBED_CONF_UBLOX_CELL_DEFAULT_MNO_PROFILE+1)));