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
Diff: MDM.h
- Revision:
- 128:0415646a9934
- Parent:
- 126:bfbb9e19f6e0
- Child:
- 129:7b747676de86
--- a/MDM.h Fri Aug 21 07:37:49 2015 +0000
+++ b/MDM.h Fri Aug 21 09:11:54 2015 +0000
@@ -6,7 +6,7 @@
#include "Pipe.h"
#include "SerialPipe.h"
-#ifdef TARGET_UBLOX_C027
+#if 0 //def TARGET_UBLOX_C027
#define MDM_IF(onboard,shield) onboard
#else
#define MDM_IF(onboard,shield) shield
@@ -520,6 +520,8 @@
//! override the unlock in a rtos system
virtual void unlock(void) { }
protected:
+ bool _activateProfile(const char* apn, const char* username, const char* password, Auth auth);
+ bool _activateProfileByCid(int cid, const char* apn, const char* username, const char* password, Auth auth);
// parsing callbacks for different AT commands and their parameter arguments
static int _cbString(int type, const char* buf, int len, char* str);
static int _cbInt(int type, const char* buf, int len, int* val);
