Implementation of the CellularInterface for u-blox C030 boards with N2xx modems. Note: requires the N211 module firmware to be at least 06.57 A01.02.
Dependents: example-ublox-cellular-interface HelloMQTT example-ublox-cellular-interface_r410M example-ublox-mbed-client ... more
Diff: TESTS/unit_tests/default/main.cpp
- Revision:
- 4:2bf3875a13f1
- Parent:
- 1:8ea78dce6b36
- Child:
- 9:f6d022f5c4f5
--- a/TESTS/unit_tests/default/main.cpp Fri Jul 07 13:15:59 2017 +0100 +++ b/TESTS/unit_tests/default/main.cpp Tue Aug 22 16:37:30 2017 +0100 @@ -509,9 +509,6 @@ int x; int size; - interface->SendAT("AT+NSOCR=DGRAM, 17, 10000"); - interface->SendAT("AT+NSOST=0,10.10.10.10,7,200,1122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900"); - TEST_ASSERT(interface->connect(MBED_CONF_APP_DEFAULT_PIN, MBED_CONF_APP_APN, MBED_CONF_APP_USERNAME, MBED_CONF_APP_PASSWORD) == 0); @@ -1079,11 +1076,6 @@ MBED_CONF_APP_DEBUG_ON); interface->connection_status_cb(connection_down_cb); - - tr_debug("Sending large AT command: 150bytes SendTo"); - interface->SendAT("AT+NSOST=0,10.10.10.10,7,150,112233445566778899001122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900"); - tr_debug("Sending large AT command: 200bytes SendTo"); - interface->SendAT("AT+NSOST=0,10.10.10.10,7,200,1122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900112233445566778899001122334455667788990011223344556677889900"); // Run tests return !Harness::run(specification);