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: mtsas mtsas mtsas mtsas
Diff: Cellular/Cellular.h
- Revision:
- 8:2d7259d244d1
- Parent:
- 7:0ee8e69a3e9c
- Child:
- 9:1a03e3f3e7fe
diff -r 0ee8e69a3e9c -r 2d7259d244d1 Cellular/Cellular.h
--- a/Cellular/Cellular.h Wed May 21 15:21:25 2014 -0500
+++ b/Cellular/Cellular.h Wed May 21 15:28:37 2014 -0500
@@ -195,7 +195,7 @@
* The default is not connected.
* @returns true if the init was successful, otherwise false.
*/
- virtual bool init(MTSBufferedIO* io) = 0;
+ virtual bool init(MTSBufferedIO* io);
/** A method for testing command access to the radio. This method sends the
* command "AT" to the radio, which is a standard radio test to see if you
@@ -229,7 +229,7 @@
* @param the APN as a string.
* @returns the standard AT Code enumeration.
*/
- virtual Code setApn(const std::string& apn) = 0;
+ virtual Code setApn(const std::string& apn);
/** This method is used to set the DNS which enables the use of URLs instead
* of IP addresses when making a socket connection.
@@ -237,7 +237,7 @@
* @param the DNS server address as a string in form xxx.xxx.xxx.xxx.
* @returns the standard AT Code enumeration.
*/
- virtual Code setDns(const std::string& primary, const std::string& secondary = "0.0.0.0") = 0;
+ virtual Code setDns(const std::string& primary, const std::string& secondary = "0.0.0.0");
/** This method is used to send an SMS message. Note that you cannot send an
* SMS message and have a data connection open at the same time.