Cellular library for MTS Socket Modem Arduino Shield devices from Multi-Tech Systems

Dependents:   mtsas mtsas mtsas mtsas

Revision:
27:ec44d5a9544f
Parent:
26:2b769ed8de4f
Child:
31:529db15abda7
--- a/Cellular/Cellular.h	Thu Jun 26 21:12:37 2014 +0000
+++ b/Cellular/Cellular.h	Mon Jun 30 17:13:00 2014 +0000
@@ -322,6 +322,12 @@
     * @returns the enumeration name as a string.
     */
     static std::string getRadioNames(Radio radio);
+    /** A method for changing the echo commands from radio.
+    * @param state Echo mode is off (an argument of 1 turns echos off, anything else turns echo on)
+    * @returns standard Code enumeration
+    */
+    virtual Code echo(bool state)=0; //Implemented the same way in both UIP and EasyIP, 
+                                        //and thus could be moved to cellular class
 
 protected:
     MTSBufferedIO* io; //IO interface obect that the radio is accessed through.