Add a bunch of APNs
Fork of C027_Support by
Diff: MDM.cpp
- Revision:
- 33:fb8fb5021b09
- Parent:
- 32:8f12ac182bbb
- Child:
- 35:9275215a3a5b
diff -r 8f12ac182bbb -r fb8fb5021b09 MDM.cpp --- a/MDM.cpp Wed Apr 09 13:03:48 2014 +0000 +++ b/MDM.cpp Wed Apr 09 13:51:26 2014 +0000 @@ -244,7 +244,7 @@ return false; // Return the pseudo ESN or MEID sendFormated("AT+GSN\r\n"); - if (OK != waitFinalResp(_cbString, _dev.imei)) + if (OK != waitFinalResp(_cbString, _dev.meid)) return false; } else { // disable flow control @@ -384,7 +384,7 @@ if (OK != waitFinalResp(_cbString, _net.num)) return false; // check if we have a Mobile Directory Number - if (memcmp(_net.num, "0000", 4) == 0); + if (memcmp(_net.num, "0000", 4) == 0) return false; // get the the Network access identifier string char nai[64];