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:
- 94:d697fe11f3e5
- Parent:
- 93:2b5478693c20
- Child:
- 95:8282dbbe1492
--- a/MDM.h Thu Jun 12 07:17:38 2014 +0000 +++ b/MDM.h Thu Jun 12 12:41:26 2014 +0000 @@ -94,9 +94,9 @@ \param auth is the authentication mode (CHAP,PAP,NONE or DETECT) \return true if successful, false otherwise */ - bool connect(const char* simpin, - const char* apn, const char* username, - const char* password, Auth auth = AUTH_DETECT, + bool connect(const char* simpin = NULL, + const char* apn = NULL, const char* username = NULL, + const char* password = NULL, Auth auth = AUTH_DETECT, PinName pn MDM_IF( = MDMPWRON, = D4)); /** register (Attach) the MT to the GPRS service.