Simple detection for LE910-NA1 modules
Fork of MTS-Cellular by
Diff: Cellular/Cellular.h
- Revision:
- 63:f46ef5823ab5
- Parent:
- 56:43205bd2752a
- Child:
- 69:93dace69ee98
--- a/Cellular/Cellular.h Wed Aug 13 21:50:43 2014 +0000 +++ b/Cellular/Cellular.h Mon Aug 18 17:16:27 2014 +0000 @@ -462,6 +462,12 @@ * @returns true if the IP was set, false if IP address assignment failed. */ virtual bool setDeviceIP(std::string address = "DHCP"); + + /** Get the device IMEI or MEID (whichever is available) + * @returns string containing the IMEI for GSM, the MEID for CDMA, or an empty string + * if it failed to parse the number. + */ + std::string getEquipmentIdentifier(); protected: MTSBufferedIO* io; //IO interface obect that the radio is accessed through.