FRDM-K64F, Avnet M14A2A, Grove Shield, to create smart home system. In use with AT&Ts M2x & Flow.

Dependencies:   mbed FXOS8700CQ MODSERIAL

Revision:
73:da723fedfdd2
Parent:
68:6e311c747045
Child:
75:8cc98a3b9c62
--- a/cell_modem.cpp	Thu Aug 11 17:04:09 2016 +0000
+++ b/cell_modem.cpp	Fri Aug 12 19:47:29 2016 +0000
@@ -217,9 +217,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){
+                    return rsp_idx;    
                 }
                 rsp_idx++;
             }