final 1
Fork of C027_Support by
Diff: MDM.cpp
- Revision:
- 130:3189949981ec
- Parent:
- 128:0415646a9934
- Child:
- 131:965a7cbc1e58
--- a/MDM.cpp Fri Aug 21 09:13:56 2015 +0000 +++ b/MDM.cpp Fri Aug 28 12:40:05 2015 +0000 @@ -421,7 +421,7 @@ ERROR("SIM PIN not available\r\n"); goto failure; } - sendFormated("AT+CPIN=%s\r\n", simpin); + sendFormated("AT+CPIN=\"%s\"\r\n", simpin); if (RESP_OK != waitFinalResp(_cbCPIN, &_dev.sim)) goto failure; } else if (_dev.sim != SIM_READY) {