Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FXOS8700CQ MODSERIAL XadowGPS mbed
Fork of Avnet_ATT_Cellular_IOT by
Diff: cell_modem.cpp
- Revision:
- 75:8cc98a3b9c62
- Parent:
- 74:3e3ee15584e5
- Parent:
- 73:da723fedfdd2
- Child:
- 77:c65eae5b9958
diff -r 3e3ee15584e5 -r 8cc98a3b9c62 cell_modem.cpp
--- a/cell_modem.cpp Sat Aug 13 15:08:11 2016 +0000
+++ b/cell_modem.cpp Sat Aug 13 17:46:30 2016 +0000
@@ -222,11 +222,12 @@
}
int rsp_idx = 0;
+ // TODO: Test if @EXTERR:<code>
while (rsp_list[rsp_idx]) {
if (strcasecmp(cmd_buf, rsp_list[rsp_idx]) == 0) {
return rsp_idx;
} else if (strncmp(cmd_buf, "@EXTERR", 7) == 0){
- pc.printf("----- We got EXTERR ---\r\n");
+ PRINTF("----- We got EXTERR ---\r\n");
return 2;
} else if (strncmp(cmd_buf, "+CME", 4) == 0){
return 3;
