Add methods to return IMEI, MEID, IMSI, ICCID and RSSI.
Fork of ublox-cellular-base by
Revision 3:f9b2cd6f72b1, committed 2017-06-19
- Comitter:
- rob.meades@u-blox.com
- Date:
- Mon Jun 19 15:00:42 2017 +0100
- Parent:
- 2:73fcc33c9400
- Child:
- 4:2e640a101db1
- Commit message:
- Corrected hard coding of modem baud rate.
Changed in this revision
| UbloxCellularBase.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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");
}
