Support for LISA-N101
Fork of C027_Support by
This is a variant of the C027 driver code for the C027N version, i.e. the one with the Neul/Huawei/u-blox Cellular Internet of Things module on board. The AT command interface for this module is entirely different to the AT interface for the other u-blox modules, hence this fork of the driver. Work is underway to rearchitect the original C027 driver so that a merge can be done.
Diff: MDM.cpp
- Revision:
- 59:382695f1ce85
- Parent:
- 58:e38a2e942fbb
- Child:
- 61:eafa56058398
- Child:
- 63:42cb563a25bc
diff -r e38a2e942fbb -r 382695f1ce85 MDM.cpp --- a/MDM.cpp Tue May 13 06:14:13 2014 +0000 +++ b/MDM.cpp Tue May 13 06:54:27 2014 +0000 @@ -547,11 +547,14 @@ _ip = NOIP; if (_dev.dev == DEV_LISA_C200) { // TODO: is there something to do here? - +#if 0 //Get local IP address sendFormated("AT+CMIP?\r\n"); if (RESP_OK != waitFinalResp(_cbCMIP, &_ip)) return NOIP; +#else + return 0x01010101; // a fake IP +#endif } else { // check gprs attach status sendFormated("AT+CGATT?\r\n");