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.
Dependents: Cellular_HelloMQTT UBLOXModemDriver UBLOXMQTTDriver
Fork of C027_Support by
Diff: MDM.cpp
- Revision:
- 127:c1c27d0f53c5
- Parent:
- 126:bfbb9e19f6e0
- Child:
- 128:0415646a9934
--- a/MDM.cpp Thu Aug 20 16:40:55 2015 +0000
+++ b/MDM.cpp Fri Aug 21 07:37:49 2015 +0000
@@ -753,12 +753,12 @@
const char* config = NULL;
if (!apn && !username && !password)
config = apnconfig(_dev.imsi);
-/*NOT SUP*/ if ((_dev.dev != DEV_TOBY_L2) && (_dev.dev != DEV_MPCI_L2)) {
- // Set up the dynamic IP address assignment.
- sendFormated("AT+UPSD=" PROFILE ",7,\"0.0.0.0\"\r\n");
- if (RESP_OK != waitFinalResp())
- goto failure;
-/*NOT SUP*/ }
+/**** NOT SUPPORTED YET ****/ if ((_dev.dev != DEV_TOBY_L2) && (_dev.dev != DEV_MPCI_L2)) {
+ // Set up the dynamic IP address assignment.
+ sendFormated("AT+UPSD=" PROFILE ",7,\"0.0.0.0\"\r\n");
+ if (RESP_OK != waitFinalResp())
+ goto failure;
+/**** NOT SUPPORTED YET ****/ }
do {
if (config) {
apn = _APN_GET(config);
@@ -793,12 +793,12 @@
// 2 = CHAP (Challenge Handshake Authentication Protocol)
for (int i = AUTH_NONE; i <= AUTH_CHAP && !ok; i ++) {
if ((auth == AUTH_DETECT) || (auth == i)) {
-/*NOT SUP*/ if ((_dev.dev != DEV_TOBY_L2) && (_dev.dev != DEV_MPCI_L2)) {
- // Set up the Authentication Protocol
- sendFormated("AT+UPSD=" PROFILE ",6,%d\r\n",i);
- if (RESP_OK != waitFinalResp())
- goto failure;
-/*NOT SUP*/ }
+/**** NOT SUPPORTED YET ****/ if ((_dev.dev != DEV_TOBY_L2) && (_dev.dev != DEV_MPCI_L2)) {
+ // Set up the Authentication Protocol
+ sendFormated("AT+UPSD=" PROFILE ",6,%d\r\n",i);
+ if (RESP_OK != waitFinalResp())
+ goto failure;
+/**** NOT SUPPORTED YET ****/ }
// Activate the profile and make connection
sendFormated("AT+UPSDA=" PROFILE ",3\r\n");
if (RESP_OK == waitFinalResp(NULL,NULL,150*1000))
