ublox-cellular-base-n2xx
Diff: UbloxCellularBaseN2xx.cpp
- Revision:
- 5:66451d314225
- Parent:
- 3:39eadc84c5ac
- Child:
- 6:377997119ef1
--- a/UbloxCellularBaseN2xx.cpp Thu Sep 28 15:31:54 2017 +0100 +++ b/UbloxCellularBaseN2xx.cpp Thu Sep 28 15:34:08 2017 +0100 @@ -171,7 +171,6 @@ LOCK(); MBED_ASSERT(_at != NULL); - tr_debug("ATREQ: %s => %s", cmd, recvFormat); if(_at->send(cmd) && _at->recv(recvFormat, response) && ATOK) { @@ -181,7 +180,6 @@ tr_error("ATRESULT: No Answer!"); } - UNLOCK(); return success; } @@ -359,9 +357,9 @@ char n[50]; if (state) - sprintf(n, "AT+NCONFIG=%s,TRUE", name); + sprintf(n, "AT+NCONFIG=\"%s\",\"TRUE\"", name); else - sprintf(n, "AT+NCONFIG=%s,FALSE", name); + sprintf(n, "AT+NCONFIG=\"%s\",\"FALSE\"", name); return at_send(n); }