Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of C027_Support by
Revision 140:4da98eea8853, committed 2017-06-02
- Comitter:
- Okoshi
- Date:
- Fri Jun 02 23:46:06 2017 +0000
- Parent:
- 139:fd9fe498f142
- Commit message:
- C027 ? mbes os 5 ????????????; I confirmed the operation at mbes os 5 of C 027.
Changed in this revision
MDM.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r fd9fe498f142 -r 4da98eea8853 MDM.cpp --- a/MDM.cpp Thu Apr 20 08:44:47 2017 +0000 +++ b/MDM.cpp Fri Jun 02 23:46:06 2017 +0000 @@ -1935,9 +1935,10 @@ LOCK(); if (_dev.dev == DEV_LISA_U2_03S || _dev.dev == DEV_SARA_U2 ){ sendFormated("AT+UGSRV=\"%s\",\"%s\",\"%s\"\r\n", server_1, server_2, token, days, period, resolution); + /// printf("AT+UGSRV=\"%s\",\"%s\",\"%s\"\r\n", server_1, server_2, token, days, period, resolution); ok = (RESP_OK == waitFinalResp()); } else - ERROR("Command not supported\r\n"); + ERROR("Command not supported 1\r\n"); UNLOCK(); return ok; } @@ -1951,7 +1952,7 @@ sendFormated("AT+UGAOP=\"%s\",%d,%d,%d\r\n", server_1, port, latency, mode); ok = (RESP_OK == waitFinalResp()); } else - ERROR("Command not supported\r\n"); + ERROR("Command not supported 2\r\n"); UNLOCK(); return ok; } @@ -1964,7 +1965,7 @@ sendFormated("AT+ULOCIND=%d\r\n", mode); ok = (RESP_OK == waitFinalResp()); } else - ERROR("Command not supported\r\n"); + ERROR("Command not supported 3\r\n"); UNLOCK(); return ok; } @@ -1977,7 +1978,7 @@ sendFormated("AT+ULOCCELL=%d\r\n", scanMode); ok = (RESP_OK == waitFinalResp()); }else - ERROR("Command not supported\r\n"); + ERROR("Command not supported 4\r\n"); UNLOCK(); return ok; } @@ -2006,7 +2007,7 @@ sendFormated("AT+ULOC=2,%d,1,%d,%d\r\n", sensor, timeout, accuracy); ok = (RESP_OK == waitFinalResp()); } else - ERROR("Command not supported\r\n"); + ERROR("Command not supported 5\r\n"); UNLOCK(); return ok; }