diff options
author | Jeff Hatch <Jeff.Hatch@multitech.com> | 2017-07-13 07:36:27 -0500 |
---|---|---|
committer | Jeff Hatch <Jeff.Hatch@multitech.com> | 2017-07-13 07:36:27 -0500 |
commit | 57b06af5b3e4e3c139cefbebb9fe76a8191c82ec (patch) | |
tree | d9288e1871d6a40f34f0ee0289864e6e03a0daf5 /src/MTS_IO_CdmaRadio.cpp | |
parent | cb427be9a092b0968aee1a42a2bc805735c9c8f2 (diff) | |
download | libmts-io-57b06af5b3e4e3c139cefbebb9fe76a8191c82ec.tar.gz libmts-io-57b06af5b3e4e3c139cefbebb9fe76a8191c82ec.tar.bz2 libmts-io-57b06af5b3e4e3c139cefbebb9fe76a8191c82ec.zip |
Add support for US Cellular devices1.0.2
Diffstat (limited to 'src/MTS_IO_CdmaRadio.cpp')
-rw-r--r-- | src/MTS_IO_CdmaRadio.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/MTS_IO_CdmaRadio.cpp b/src/MTS_IO_CdmaRadio.cpp index 72923a7..5b53f02 100644 --- a/src/MTS_IO_CdmaRadio.cpp +++ b/src/MTS_IO_CdmaRadio.cpp @@ -1082,7 +1082,7 @@ CellularRadio::CODE CdmaRadio::activate(const Json::Value& jArgs, UpdateCb& step std::string sCarrier; getCarrier(sCarrier); - if(sCarrier == "Aeris") { + if(sCarrier == VALUE_CARRIER_AERIS) { if(!jArgs["msid"].isString()) { printError("%s| Arguments missing \"msid\"", getName().c_str()); @@ -1122,8 +1122,10 @@ CellularRadio::CODE CdmaRadio::activate(const Json::Value& jArgs, UpdateCb& step return SUCCESS; - } else if(sCarrier == "Verizon") { + } else if(sCarrier == VALUE_CARRIER_VERIZON) { sActivationCmd = "AT+CDV*22899\r"; + } else if(sCarrier == VALUE_CARRIER_USCELLULAR) { + sActivationCmd = "AT+CDV*228\r"; } else { return NOT_APPLICABLE; } |