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: M2X_dev axeda_wrapper_dev MTS_M2x_Example1 MTS_Cellular_Connect_Example ... more
Diff: cellular/Cellular.h
- Revision:
- 13:0af863114629
- Parent:
- 11:134435d8a2d5
- Child:
- 17:2d7c4ea7491b
--- a/cellular/Cellular.h Fri Dec 13 20:23:40 2013 +0000
+++ b/cellular/Cellular.h Fri Dec 13 23:02:50 2013 +0000
@@ -15,7 +15,7 @@
};
enum ESC_CHAR {
- CR, CTRL_Z
+ CR, CTRL_Z, NONE
};
enum Registration {
@@ -67,12 +67,10 @@
std::vector<Cellular::Sms> getReceivedSms();
Code deleteAllReceivedSms();
Code deleteOnlyReceivedReadSms();
-
- Code getCode();
-
+
private:
MTSBufferedIO& io;
- Code code;
+ bool echoMode;
bool pppConnected;
std::string apn;
@@ -80,6 +78,7 @@
Mode mode;
bool socketOpened;
unsigned int local_port;
+ std::string local_address;
unsigned int host_port;
std::string host_address;
uIP Socket Modem Shield (Outdated - see below)