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.
Revision 127:4df82b52f834, committed 2015-06-17
- Comitter:
- RobMeades
- Date:
- Wed Jun 17 12:51:56 2015 +0000
- Parent:
- 126:76b578ec2912
- Commit message:
- Update handling of RAS AT command to wait for the OK at the end.
Changed in this revision
MDM.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 76b578ec2912 -r 4df82b52f834 MDM.cpp --- a/MDM.cpp Fri May 22 08:54:47 2015 +0000 +++ b/MDM.cpp Wed Jun 17 12:51:56 2015 +0000 @@ -717,7 +717,9 @@ if (_dev.dev == DEV_LISA_N100) { // Neul modem -------------------------- sendFormated("AT+RAS\r\n"); - if (RESP_OK != waitFinalResp(_cbRAS, &ok)) + if (waitFinalResp(_cbRAS, &ok)) + waitFinalResp(NULL); // Must wait for the OK string also + if (!ok) goto failure; if (ok) { _net.psd = REG_HOME;