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: UbloxCellularDriverGen.cpp
- Revision:
- 8:e6f6bf43a5d1
- Parent:
- 7:a9eea2dbdd68
- Child:
- 9:a5389248c8d0
--- a/UbloxCellularDriverGen.cpp Fri Jun 16 00:49:52 2017 +0100 +++ b/UbloxCellularDriverGen.cpp Tue Jul 24 13:06:55 2018 +0000 @@ -675,7 +675,7 @@ // of 100 ms (for short files) timer.reset(); timer.start(); - timeLimit = blockSize * 4 / ((MBED_CONF_UBLOX_CELL_BAUD_RATE / 8) / 1000); + timeLimit = FILE_BUFFER_SIZE * 4 / ((MBED_CONF_UBLOX_CELL_BAUD_RATE / 8) / 1000); if (timeLimit < 100) { timeLimit = 100; }