summaryrefslogtreecommitdiff
path: root/src/MTS_IO_ICellularRadio.cpp
AgeCommit message (Collapse)AuthorFiles
2021-05-31[GP-1111] mPower R. Apr 2021: +CEMODE shall be set to CEMODE=2Serhii Kostiuk1
Switched to the separate fields for SIM MCC and SIM MNC after a code review.
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-04-15[MTX-3998] mPower R. Apr 2021: +CEMODE shall be set to CEMODE=2 - Quectel - ↵mykola.salomatin1
GP-1111 Added CEMODE switching support for Quectel radios
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 Changes after a code review
2020-08-06Quectel EG25-G Delta Radio Firmware Upgrade support - libmts-io implementationSerhii Kostiuk1
Added waitResponse overloads to the public interface of ICellularRadio.
2020-08-06Quectel EG25-G Delta Radio Firmware Upgrade support - libmts-io implementationSerhii Kostiuk1
Refactored MTS::IO::ICellularRadio::sendCommand. Moved response waiting code to the MTS::IO::ICellularRadio::waitResponse function. **Motivation** In many places in the modern libmts-io implementation there are cases when we need to wait for some response from the radio without executing or sending any commands. Such places may wait for some URC messages, acknowledge strings during data transmission and so on. One way to handle such cases is to use `sendCommand` with `cmd` argument set to an empty string. It generally works but according to POSIX: "If count is zero and fd refers to a file other than a regular file, the results are not specified." The other way to handle such cases is to use `isNeedMoreData` callback of `sendCommand` function to analyze all the data on the fly. But this approach may not work for data transfers when `sendCommand` and its std::string argument may not be used to store binary data with null characters within. This commit moves the "wait for the radio to answer" part to the separate function which allows reusablity of such a code.
2020-07-16Add vendor firmware versionAndrii Pientsov1
2020-06-30Merge remote-tracking branch 'origin/master' into sk/quectel-delta-fwuSerhii Kostiuk1
2020-06-30Merge remote-tracking branch 'origin/master' into sk/quectel-delta-fwuSerhii Kostiuk1
2020-06-25[MTX-3489] mPower Oct20: Porting "LNA7 Intermediate Release" changesSerhii Kostiuk1
Merged all the changes from the intermediate release to master.
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-05-30Quectel Delta Radio Firmware Upgrade support - libmts-io implementationSerhii Kostiuk1
Initial implementation of the delta firmware image upload for Quectel radios.
2020-05-29mPower Oct20: L4G1 libmts-io supportmykola.salomatin1
2020-02-25[MTX-3239] Add "cellularMode" value to the radio-query --dynamicSerhii Kostiuk1
Added "cellularMode" value to the list dynamic (network stats) params
2020-02-19Merge branch 'cleanup_MAT1_MVW1_radios' into 'master' Jeff Hatch1
MTX-3211 Remove the code that is used to support ME910C1-NV and ME910C1-NA See merge request !10
2020-02-18[MTX-3232] Add "supportedCellularModes" value to the radio-query --staticSerhii Kostiuk1
Defined "KEY_SUPPORTED_CELL_MODES" for a new field in radio-query --static output. This new field will return a comma-separated list of cellular modes (2g,3g,4g) that are supported by the modem.
2020-02-17MTX-3211 Remove the code that is used to support ME910C1-NV and ME910C1-NAAndrii Pientsov1
2019-11-22[GP-359][MTX-3072] mPower Edge: LVW3 radio supportSerhii Kostiuk1
Added LVW3 radio support to the libmts-io.
2019-06-22[MTS-MTQ] SIM status and PIN unlock proceduresSerhii Kostiuk1
Defined the JSON object fields for SIM Status Summary data
2019-06-12[MTS-MTQ] QuectelRadio implementationSerhii Kostiuk1
Updated the following functions to support Quectel radios: - CellularRadioFactory::createEG95Radio - fixed to build a EG95Radio instance; - ICellularRadio::extractModelFromResult - returning EG95 for EG95 radios; - ICellularRadio::convertModelToType - returning VALUE_TYPE_LTE for EG95.
2019-06-11[MTS-MTQ] cellular factory: quectel eg95 instance creationMaksym Telychko1
2019-06-11[MTS-MTQ] refactoring: performance optimizationMaksym Telychko1
strings replaced by const-char pointer
2019-06-10[MTS-MTQ] refactoring: static function moved to ICellularRadioMaksym Telychko1
2019-06-06[MTS-MTQ] refactoring: moved common consts and static methods to ICellularRadioMaksym Telychko1