From 1b8146c578dbea3868e16e560f5800007d104b5f Mon Sep 17 00:00:00 2001 From: Jeff Hatch Date: Wed, 2 May 2018 14:55:40 -0500 Subject: Add support for getting the Firmware Build Version from the Telit radio --- include/mts/MTS_IO_CellularRadio.h | 3 +++ include/mts/MTS_IO_ME910Radio.h | 2 ++ 2 files changed, 5 insertions(+) (limited to 'include') diff --git a/include/mts/MTS_IO_CellularRadio.h b/include/mts/MTS_IO_CellularRadio.h index bc7c437..ca3eeb2 100644 --- a/include/mts/MTS_IO_CellularRadio.h +++ b/include/mts/MTS_IO_CellularRadio.h @@ -170,6 +170,7 @@ namespace MTS { static const std::string KEY_MANUFACTURER; //!< Manufacturer: Telit static const std::string KEY_HARDWARE; //!< Radio Hardware Version static const std::string KEY_FIRMWARE; //!< Radio Firmware Version + static const std::string KEY_FIRMWARE_BUILD;//!< Radio Firmware Build static const std::string KEY_IMEI; //!< International Mobile Station Equipment Identity static const std::string KEY_MEID; //!< Mobile Equipment Identifier static const std::string KEY_IMSI; //!< International Mobile Subscriber Identity @@ -185,6 +186,7 @@ namespace MTS { static const std::string KEY_DATETIME; //!< Date and Time from tower static const std::string KEY_SERVICE; //!< Service Connection Type [GPRS, EGPRS, WCDMA, HSDPA, 1xRTT, EVDO] static const std::string KEY_NETWORK; //!< Cellular Service Provider + static const std::string KEY_NETWORK_REG; //!< Network Registration static const std::string KEY_CID; //!< Cellular ID (Tower) in HEX static const std::string KEY_LAC; //!< Location Area Code in HEX static const std::string KEY_RAC; //!< Routing Area Code in HEX @@ -264,6 +266,7 @@ namespace MTS { static CODE convertActiveBandToString(ACTIVEBAND eBand, std::string& sBand); virtual CODE getFirmware(std::string& sFirmware); + virtual CODE getFirmwareBuild(std::string& sFirmwareBuild); virtual CODE getHardware(std::string& sHardware); virtual CODE getManufacturer(std::string& sManufacturer); virtual CODE getImei(std::string& sImei); diff --git a/include/mts/MTS_IO_ME910Radio.h b/include/mts/MTS_IO_ME910Radio.h index b3eefcf..e665d19 100644 --- a/include/mts/MTS_IO_ME910Radio.h +++ b/include/mts/MTS_IO_ME910Radio.h @@ -44,6 +44,8 @@ namespace MTS { virtual CODE setRxDiversity(const Json::Value& jArgs); + virtual CODE getFirmwareBuild(std::string& sFirmware); + protected: private: -- cgit v1.2.3