diff options
author | John Klug <john.klug@multitech.com> | 2023-01-11 11:26:50 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2023-01-11 11:26:50 -0600 |
commit | e661044a43345f7cac947c3bb6178a2c045028f6 (patch) | |
tree | 904f32734e0e2dff8ecccbf83264b8bf8a8cecc1 /include/mts/MTS_IO_CellularRadio.h | |
parent | 81c924e1b30efabd5e5a7c712998b989917b2a8e (diff) | |
parent | 430506fb7757d6736988d75c8ea53c85f6c97da9 (diff) | |
download | libmts-io-e661044a43345f7cac947c3bb6178a2c045028f6.tar.gz libmts-io-e661044a43345f7cac947c3bb6178a2c045028f6.tar.bz2 libmts-io-e661044a43345f7cac947c3bb6178a2c045028f6.zip |
Verizon IMSI detection merge1.0.33
Diffstat (limited to 'include/mts/MTS_IO_CellularRadio.h')
-rw-r--r-- | include/mts/MTS_IO_CellularRadio.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/mts/MTS_IO_CellularRadio.h b/include/mts/MTS_IO_CellularRadio.h index f32251c..e985c21 100644 --- a/include/mts/MTS_IO_CellularRadio.h +++ b/include/mts/MTS_IO_CellularRadio.h @@ -145,6 +145,11 @@ namespace MTS { CODE getVoiceSupport(Json::Value& jData) override; CODE getVoiceSupport(bool& bVoiceEnabled, bool& bSmsOnly) override; + CODE getPdpContexts(Json::Value& jData) override; + CODE setPdpContext(const std::string& sId, const Json::Value& jConfig) override; + + CODE getDiagnostics(std::string& sReport) override; + protected: CellularRadio(const std::string& sName, const std::string& sRadioPort); @@ -264,6 +269,15 @@ namespace MTS { virtual CODE sendData(const char* pData, size_t nBytes); virtual CODE sendBasicQuery(const std::string& sCmd, const std::string& sLabel, std::string& sResult, int32_t timeoutMillis = 100, const char& ESC = ICellularRadio::CR); + /** + * @brief getDiagCommands - returns the list of Cellular Diagnostics commands for this radio. + * + * @param bIsSimReady - set to "true" if the SIM card is inserted and NOT locked by PIN or PUK. + * + * @return the list of AT commands (strings). + */ + virtual const std::vector<std::string>& getDiagCommands(bool bIsSimReady = true) = 0; + class RadioBandMap : public MTS::NonCopyable { public: RadioBandMap() |