diff options
author | Yevhen Mykhno <yevhen.mykhno@globallogic.com> | 2023-01-31 13:26:34 +0200 |
---|---|---|
committer | Yevhen Mykhno <yevhen.mykhno@globallogic.com> | 2023-01-31 14:42:13 +0200 |
commit | 5da5645c2dad56eb9654e4fbe7b9c070cb997e5d (patch) | |
tree | 1679304e1b5858dfc092edaaaec9de7a0f3ed69b /src/MTS_IO_EG25Radio.cpp | |
parent | 430506fb7757d6736988d75c8ea53c85f6c97da9 (diff) | |
download | libmts-io-5da5645c2dad56eb9654e4fbe7b9c070cb997e5d.tar.gz libmts-io-5da5645c2dad56eb9654e4fbe7b9c070cb997e5d.tar.bz2 libmts-io-5da5645c2dad56eb9654e4fbe7b9c070cb997e5d.zip |
[GP-1733] mPower R.6.3.X: L6G1 Support - libmts-io, radio-cmd, radio-query
- function getRegistrationCommands() implemented as
pure virtual and overrided for every base radio model
- minor indentation fixes
- function getSimStatusSummary(Json::Value& jData) changed to process
radio modems that do not have separate commands for the SIM presence check
- function getManufacturer(std::string& sManufacturer) changed: AT command changet to 'AT+CGMI'
- src/MTS_IO_QuectelRadio.cpp -- comments correction
Diffstat (limited to 'src/MTS_IO_EG25Radio.cpp')
-rw-r--r-- | src/MTS_IO_EG25Radio.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/MTS_IO_EG25Radio.cpp b/src/MTS_IO_EG25Radio.cpp index c6d1c34..effac4c 100644 --- a/src/MTS_IO_EG25Radio.cpp +++ b/src/MTS_IO_EG25Radio.cpp @@ -38,4 +38,8 @@ EG25Radio::~EG25Radio() { ICellularRadio::CODE EG25Radio::getSupportedCellularModes(CELLULAR_MODES &networks) { networks = static_cast<CELLULAR_MODES>(CELLULAR_MODE_2G | CELLULAR_MODE_3G | CELLULAR_MODE_4G); return SUCCESS; +} + +const std::vector<std::string> EG25Radio::getRegistrationCommands() { + return { "CREG", "CGREG", "CEREG" }; }
\ No newline at end of file |