summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMykola Salomatin <mykola.salomatin@globallogic.com>2023-02-01 20:14:39 +0200
committerMykola Salomatin <mykola.salomatin@globallogic.com>2023-02-01 20:14:39 +0200
commit9dd23340c9254c2cd73642f5d3a5d3ec19ff15da (patch)
tree7704f285f59fd8f6e3e8bf290c5a6eed9158ded2
parentb504ed673fa55ae1a429fd468079ee8c16c4a04a (diff)
downloadlibmts-io-9dd23340c9254c2cd73642f5d3a5d3ec19ff15da.tar.gz
libmts-io-9dd23340c9254c2cd73642f5d3a5d3ec19ff15da.tar.bz2
libmts-io-9dd23340c9254c2cd73642f5d3a5d3ec19ff15da.zip
[MTX-4769] mPower R.6.3.X: L6G1 Support - Cellular Diagnostics
Add additional command about all carrier profiles that are supported.
-rw-r--r--src/MTS_IO_LE910Radio.cpp6
-rw-r--r--src/MTS_IO_QuectelRadio.cpp3
-rw-r--r--src/MTS_IO_TelitRadio.cpp3
3 files changed, 12 insertions, 0 deletions
diff --git a/src/MTS_IO_LE910Radio.cpp b/src/MTS_IO_LE910Radio.cpp
index 3b2864b..81adb0a 100644
--- a/src/MTS_IO_LE910Radio.cpp
+++ b/src/MTS_IO_LE910Radio.cpp
@@ -171,6 +171,9 @@ const std::vector<std::string>& LE910Radio::getDiagCommands(bool bIsSimReady) {
// Radio model and firmware:
"AT+CGMI", "AT+CGMM", "AT+CGMR", "AT#SWPKGV", "AT#CFVR",
+ // All carrier profiles that are supported:
+ "AT#FWSWITCH=?",
+
// Current operator profile on the radio side:
"AT#FWSWITCH?", "AT+CGSN",
@@ -198,6 +201,9 @@ const std::vector<std::string>& LE910Radio::getDiagCommands(bool bIsSimReady) {
// Radio model and firmware:
"AT+CGMI", "AT+CGMM", "AT+CGMR", "AT#SWPKGV", "AT#CFVR",
+ // All carrier profiles that are supported:
+ "AT#FWSWITCH=?",
+
// Current operator profile on the radio side:
"AT#FWSWITCH?", "AT+CGSN",
diff --git a/src/MTS_IO_QuectelRadio.cpp b/src/MTS_IO_QuectelRadio.cpp
index af7adde..0c0c8ab 100644
--- a/src/MTS_IO_QuectelRadio.cpp
+++ b/src/MTS_IO_QuectelRadio.cpp
@@ -1635,6 +1635,9 @@ const std::vector<std::string>& QuectelRadio::getDiagCommands(bool) {
// Radio model and firmware:
"AT+CGMI", "AT+CGMM", "AT+CGMR", "AT+QGMR",
+ // All carrier profiles that are supported:
+ "AT+QMBNCFG=\"LIST\"",
+
// Current operator profile on the radio side:
"AT+QMBNCFG=\"SELECT\"", "AT+CGSN",
diff --git a/src/MTS_IO_TelitRadio.cpp b/src/MTS_IO_TelitRadio.cpp
index 704f692..21af65d 100644
--- a/src/MTS_IO_TelitRadio.cpp
+++ b/src/MTS_IO_TelitRadio.cpp
@@ -1184,6 +1184,9 @@ const std::vector<std::string>& TelitRadio::getDiagCommands(bool) {
// Radio model and firmware:
"AT+CGMI", "AT+CGMM", "AT+CGMR", "AT#SWPKGV", "AT#CFVR",
+ // All carrier profiles that are supported:
+ "AT#FWSWITCH=?",
+
// Current operator profile on the radio side:
"AT#FWSWITCH?", "AT+CGSN",