This class provides SMS, USSD and modem file system support for u-blox modules on the C027 and C030 boards (excepting the C030 N2xx flavour) from mbed 5.5 onwards.
Dependents: example-ublox-at-cellular-interface-ext example-ublox-cellular-driver-gen HelloMQTT ublox_new_driver_test ... more
Diff: TESTS/unit_tests/ussd/main.cpp
- Revision:
- 5:b935404dcf7c
- Parent:
- 3:027c9eaec52c
--- a/TESTS/unit_tests/ussd/main.cpp Tue Jun 13 10:45:14 2017 +0100 +++ b/TESTS/unit_tests/ussd/main.cpp Thu Jun 15 01:14:18 2017 +0100 @@ -30,6 +30,11 @@ // } //} +// Whether debug trace is on +#ifndef MBED_CONF_APP_DEBUG_ON +# define MBED_CONF_APP_DEBUG_ON false +#endif + // The credentials of the SIM in the board. #ifndef MBED_CONF_APP_DEFAULT_PIN // Note: this is the PIN for the SIM with ICCID @@ -94,7 +99,7 @@ static UbloxCellularDriverGen *pDriver = new UbloxCellularDriverGen(MDMTXD, MDMRXD, MBED_CONF_UBLOX_CELL_BAUD_RATE, - true); + MBED_CONF_APP_DEBUG_ON); // A general purpose buffer static char buf[USSD_STRING_LENGTH + 1];