Fork of ublox-cellular-base to add LARA-R2 support
Fork of ublox-cellular-base by
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"); }