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:
- 120:4f4aaf0c9521
- Parent:
- 119:d62a42409280
- Child:
- 121:2ec1046f7251
--- a/MDM.cpp Tue Mar 10 16:35:50 2015 +0000 +++ b/MDM.cpp Thu Mar 12 13:40:55 2015 +0000 @@ -444,18 +444,10 @@ if (RESP_OK != waitFinalResp(_cbGmiString, _dev.manu)) goto failure; #ifndef DISABLE_NEUL_TEST_COMMANDS - // GSM Channel 183 (DL: 880.1MHz, UL: 835.1MHz), CRNTI 123456, DCI MCS = 4, CELL ID = 22 - // sendFormated ("AT+MACTEST=24,02000000a0427534609dc631160000004523010001040100\r\n"); - // GSM Channel 183 (DL: 880.1MHz, UL: 835.1MHz), CRNTI 123456, DCI MCS = 2, CELL ID = 22 - sendFormated ("AT+MACTEST=24,02000000a0427534609dc631160000004523010001020100\r\n"); - if (RESP_OK != waitFinalResp()) - goto failure; - sendFormated ("AT+DI=0\r\n"); - if (RESP_OK != waitFinalResp()) - goto failure; - sendFormated ("AT+LQMI=0\r\n"); - if (RESP_OK != waitFinalResp()) - goto failure; + /* In a phase 1 deployment special initialisation command should be inserted here, for example: */ + /* sendFormated ("AT+DI=0\r\n"); + if (RESP_OK != waitFinalResp()) + goto failure; */ #endif // get the sw version sendFormated("AT+GMR\r\n");