Base class for the ublox-xxx-cellular-xxx classes. Cannot be used standalone, only inherited by classes that do properly useful stuff. Or, to put it another way, if you are using any of the ublox-xxx-cellular-xxx classes, you will need this class also.
Dependents: example-ublox-cellular-interface example-ublox-cellular-driver-gen HelloMQTT example-ublox-cellular-interface_r410M ... more
Diff: UbloxCellularBase.cpp
- Revision:
- 3:f9b2cd6f72b1
- Parent:
- 2:73fcc33c9400
- Child:
- 4:2e640a101db1
diff -r 73fcc33c9400 -r f9b2cd6f72b1 UbloxCellularBase.cpp
--- a/UbloxCellularBase.cpp Tue Jun 13 10:08:52 2017 +0100
+++ b/UbloxCellularBase.cpp Mon Jun 19 15:00:42 2017 +0100
@@ -434,7 +434,7 @@
// Set up the AT parser
_at = new ATCmdParser(_fh, OUTPUT_ENTER_KEY, AT_PARSER_BUFFER_SIZE,
- _at_timeout, _debug_trace_on);
+ _at_timeout, _debug_trace_on);
// Error cases, out of band handling
_at->oob("ERROR", callback(this, &UbloxCellularBase::parser_abort_cb));
@@ -530,7 +530,7 @@
"&K0" //turn off RTC/CTS handshaking
"+IPR=%d;" // Set baud rate
"&C1;" // Set DCD circuit(109), changes in accordance with the carrier detect status
- "&D0", 115200) && // Set DTR circuit, we ignore the state change of DTR
+ "&D0", MBED_CONF_UBLOX_CELL_BAUD_RATE) && // Set DTR circuit, we ignore the state change of DTR
_at->recv("OK");
}
u-blox