summaryrefslogtreecommitdiff
path: root/include/mts/MTS_IO_CellularRadio.h
AgeCommit message (Collapse)AuthorFiles
2023-04-26Fix tabs vs spaces in the latest changesHEAD1.0.35masterSerhii Kostiuk1
This commit does not chanhe any code except whitespace characters. Please look for the previous commits if you run `git blame`. Good places to continue the search via git blame: - 33ed089d4b59bd79ae35f626ea6fc3da20c2edb9 - the commit before time changes; - 582634c91a778dba7047a69b5559f849d03be112 - the time changes commit before the merge.
2023-03-30Commit merge with master on libmts-io mirrorjeff1
2023-03-23Support Portal Case #5086148: use Cellular Radio time as alternative to GPS ↵sdesai1
or NTP
2023-03-23Support Portal Case #5086148: use Cellular Radio time as alternative to GPS ↵sdesai1
or NTP
2023-03-20Support Portal Case #5086148: use Cellular Radio timeas alternative to GPS ↵sdesai1
or NTP
2023-02-27[GP-1597] mPower R.6.3.X: Cellular Provider Profiles - LTE AuthenticationYevhen Mykhno1
2023-01-31[GP-1733] mPower R.6.3.X: L6G1 Support - libmts-io, radio-cmd, radio-queryYevhen Mykhno1
- 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
2022-12-19[GP-1195] Cellular debugging - add a querySerhii Kostiuk1
Define the set of debugging AT commands and a function to execute such commands. The function executes the commands one-by-one end returns raw command outputs. To be used by radio-query --diagnostics.
2022-11-07[MTX-4694][GP-1791] MTCAP3 mPower R.6.1.X: LNA7D support - APN setup ↵Andrii Davydenko1
behavior when provider is Verizon Implement getting the CGDCONT from the modem Implement setting the CGDCONT to the modem
2022-04-18Update MODBUS slave feature, Rogers Certification issueandrii.davydenko1
2021-09-29[MTX-4206] mPower R.6.0: Making Telit and Quectel radios data-only on AT&T ↵Mykola Salomatin1
network. GP-1364 Add 2 functions for Telit and Quectel modems: - disableVoiceSupport: disable voice support (IMS and CSFB) and enable SMS only registration flag. - getVoiceSupport: get voice support configuration for the current radio.
2021-05-29[GP-1111] mPower R. Apr 2021: +CEMODE shall be set to CEMODE=2Serhii Kostiuk1
Extended the implementation of "getSimCarrierCode" to detect the carrier (home network) based on the MCC/MNC combination. Historically mPower used ICCIDs to detect the carrier and apply the carrier-specific settings. ICCIDs are known for Verizon and AT&T, but the list of known ICCIDs is not exhaustive. This change allows the firmware to detect more AT&T SIM cards by using the MCC/MNC combinations (PLMN IDs) when ICCID is not recognized. Limitation: The SIM shall be relatively new and report its MNC length, otherwise MCC/MNC can't be determined and so the carrier code.
2021-05-29[GP-1111] mPower R. Apr 2021: +CEMODE shall be set to CEMODE=2Serhii Kostiuk1
Added an ability to read the PLMN ID (MCC/MNC combination) of the home carrier from the SIM. SIM PLMN ID is a part of the IMSI that contains identifier of the home network. PLMN ID in turn consists of 3-digit MCC (country code) and 2-or-3-digit MNC (network code). The length of the MNC is stored in the SIM Elementary File called "Administrative Data" (EFad for short). The purpose of the new functions is to extract PLMN ID from the SIM if this information is available.
2021-04-16[MTX-3998] mPower R. Apr 2021: +CEMODE shall be set to CEMODE=2 - Quectel - ↵mykola.salomatin1
GP-1111 Refactoring after review
2021-04-15[MTX-3998] mPower R. Apr 2021: +CEMODE shall be set to CEMODE=2 - Quectel - ↵mykola.salomatin1
GP-1111 Refactoring common functions, telit and quectel functions related to CEMODE switching
2021-03-31[GP-1111] mPower R. Apr 2021: +CEMODE shall be set to CEMODE=2 - libmts-io ↵rodion.shyshkin1
for Telit Changes after a code review
2021-03-31[GP-1111] mPower R. Apr 2021: +CEMODE shall be set to CEMODE=2 - libmts-io ↵rodion.shyshkin1
for Telit Adding an ability to set UE mode of operation to libmts-io. There was added two clear virtual methods in iCellularRadio, correct implementation for them for Telit LTE modems and implementation with error messages for all other.
2020-08-06Quectel EG25-G Delta Radio Firmware Upgrade support - libmts-io implementationSerhii Kostiuk1
Added waitResponse overloads to the public interface of ICellularRadio.
2020-07-16Add vendor firmware versionAndrii Pientsov1
2020-07-15MTX-3404 Code ReviewAndrii Pientsov1
2020-07-13MTX-3404 Code ReviewAndrii Pientsov1
2020-07-03Quectel Delta Radio Firmware Upgrade support - libmts-io implementationSerhii Kostiuk1
Started code cleanup before finishing the procedure. Renamed functions related to the delta radio firmware upgrade to follow established patterns: - uploadDeltaFirmwareFile -> fumoLocalInject - applyDeltaFirmwareFile -> fumoLocalApply - removeDeltaFirmwareFile -> fumoLocalCleanup - new function: updateFumoLocal - encapsulates all the magic for radios that may not support separate stages for the delta upload and delta apply
2020-06-30Merge remote-tracking branch 'origin/master' into sk/quectel-delta-fwuSerhii Kostiuk1
2020-06-16[GP-654] Add SIM card-based carrier detectionSerhii Kostiuk1
Changes after a code review: - renamed "MTS Carrier Code" to the "Carrier Code"; - fixed descriptions for the new field and methods.
2020-06-16GP-654: Add SIM card-based carrier detectionSerhii Kostiuk1
This commit adds implementation of the SIM-based carrier detection. The goal for this implementation is to replace various places in the firmware that previously relied on the ICCID-based carrier detection, provide some layer of abstraction and forward compatibility for such places. It is particularly useful for fwSwitch radios with AUTO firmware selection capability.
2020-06-02[GP-651] LNA7: Allow to start the OMA DM procedure when it is requiredSerhii Kostiuk1
This commits adds support for the Quectel-specific OMA DM commands. This allows to trigger OMA DM procedure om Verizon to fetch the corrent APN values and other settings from the network. Expected radio output on success: ``` +QODM: "DME",0,DM Start +QODM: "DME",0,DM End ``` Other +QODM URC codes are also possible according to information from Quectel forum: https://forums.quectel.com/t/what-is-the-meaning-of-qodm-fumo-report-failed/2444/5. But only "DM Start" and "DM End" responses are expected, supported and treated as correct in the libmts-io.
2020-05-30Quectel Delta Radio Firmware Upgrade support - libmts-io implementationSerhii Kostiuk1
Initial implementation of the delta firmware image upload for Quectel radios.
2020-05-30Quectel Delta Radio Firmware Upgrade support - libmts-io implementationSerhii Kostiuk1
Declared base interface and added stub implementation for the Delta Radio Firmware Upgrade support in libmts-io.
2020-02-25[MTX-3239] Add "cellularMode" value to the radio-query --dynamicSerhii Kostiuk1
Ported "cellularModeStr" function to MTS::IO::CellularRadio class. This function converts integer bitmap to comma-separated list of cellular modes.
2020-02-13Commands CREG, CGREG and CEREG should be utilized to get registered statusAndrii Pientsov1
2019-08-05MTX-2898 mpower 2-3-4g: quectel methods for set-cellular-mode and common ↵Maksym Telychko1
methods for get-cellular-mode
2019-07-18[MTS-MTQ] QuectelRadio implementationSerhii Kostiuk1
Refactored the CellularRadio class to include base stub implementation for the "CellularRadio::getCarrierFromFirmware" and "CellularRadio::getHardwareVersionFromFirmware" methods. From now assuming that those two possibilities are not supported by the modem until otherwise specified (i.e. until the method implementation was overridden in derived class). This change was implemented after a code review.
2019-06-22[MTS-MTQ] SIM status and PIN unlock proceduresSerhii Kostiuk1
Added common implementations for CellularRadio::unlockSimCard and CellularRadio::getSimLockStatus
2019-06-22[MTS-MTQ] SIM status and PIN unlock proceduresSerhii Kostiuk1
Added a common implementation for the CellularRadio::getSimStatusSummary method
2019-06-22[MTS-MTQ] SIM status and PIN unlock proceduresSerhii Kostiuk1
Defined common protected utility methods for the CellularRadio class: - getIsSimInserted - getSimLockStatus - getSimLockAttempts
2019-06-13Merge branch 'quectel-radio' into quectel-specificSerhii Kostiuk1
Ported the recent changes made by Maksym
2019-06-12[MTS-MTQ] refactoring: using full qualified names for constsMaksym Telychko1
2019-06-11[MTS-MTQ] QuectelRadio implementationSerhii Kostiuk1
Moved Telit-specific conversion between RSSI and dBm into the TelitRadio class. Quectel has MOSTLY the same conversion logic but in the case of TD-SCDMA the RSSI values may be uncompatible.
2019-06-11[MTS-MTQ] QuectelRadio implementationSerhii Kostiuk1
Converted the following functions to protected virtual functions: - CellularRadio::queryLteLac - CellularRadio::setCGREG - CellularRadio::queryCGREGstring Those functions are handy to fetch LAC in LTE mode for both Quectel and Telit radios. Also fixed comments and debug messages for the mentioned functions.
2019-06-11[MTS-MTQ] QuectelRadio implementationSerhii Kostiuk1
Removed Telit-specific implementation of the getCarrierFromFirmware and getHardwareVersionFromFirmware out of the QuectelRadio class. BTW, it's still present in the TelitRadio class.
2019-06-11[MTS-MTQ] QuectelRadio implementationSerhii Kostiuk1
Moved CellularRadio::getNetwork implementation to the TelitRadio::getNetwork as Quectel radio doesn't have a AT#RFSTS command that returns the needed field.
2019-06-10[MTS-MTQ] refactoring: static function moved to ICellularRadioMaksym Telychko1
2019-06-08[MTS-MTQ] refactoring: telit radio implementationMaksym Telychko1
leave telit specific code in telit class. move common code to cellular radio class.
2019-06-06[MTS-MTQ] refactoring: added quectel empty classes, CellularRadio moved to ↵Maksym Telychko1
TelitRadio
2018-06-25Update convertModelToMtsShortCode signature to support LNA3 and LAT3 radios1.0.11Jeff Hatch1
2018-05-02Add support for getting the Firmware Build Version from the Telit radio1.0.6Jeff Hatch1
2018-04-13Add getModemLocation for CellularRadio and LE910 radio1.0.5Jeff Hatch1
2017-07-13Add support for US Cellular devices1.0.2Jeff Hatch1
2017-06-02Add AT#FWSWITCH command for LNA radio support in radio-query and radio-cmd1.0.1Jeff Hatch1
2016-03-16fix: set CGREG back to original setting instead of 00.3Brandon Bayer1