Simple detection for LE910-NA1 modules

Fork of MTS-Cellular by MultiTech

Revision:
8:2d7259d244d1
Parent:
7:0ee8e69a3e9c
Child:
9:1a03e3f3e7fe
--- 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.