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:
- 101:edfeb8af206e
- Parent:
- 99:3116d3e900ed
- Child:
- 102:fb982ff9da82
--- a/MDM.cpp Tue Jul 01 05:46:06 2014 +0000 +++ b/MDM.cpp Tue Jul 01 06:41:26 2014 +0000 @@ -309,12 +309,11 @@ pin = 1; ::wait_ms(100); // purge any messages - while (WAIT != waitFinalResp(NULL,NULL,0)) - /* nothing */; + purge(); - // check interface and disable local echo + // check interface sendFormated("AT\r\n"); - int r = waitFinalResp(NULL,NULL,500); + int r = waitFinalResp(NULL,NULL,1000); if(RESP_OK == r) break; } if (i < 0) {