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 MTS-Cellular by
Diff: Cellular/Cellular.h
- 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.