summaryrefslogtreecommitdiff
path: root/include/mts/MTS_IO_ICellularRadio.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-20Support Portal Case #5086148: use Cellular Radio timeas alternative to GPS ↵sdesai1
or NTP
2023-03-15GP-139:Support Portal Case #5086148: use Cellular Radio timeas alternative ↵sdesai1
to GPS or NTP
2023-02-27[GP-1597] mPower R.6.3.X: Cellular Provider Profiles - LTE AuthenticationYevhen Mykhno1
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-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
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-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-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
Added "cellularMode" value to the list dynamic (network stats) params
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-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.
2019-07-31Removed obsolete methods get/set radio modeMaksym Telychko1
Use get/setCellularMode instead Revert of commits: 4ef332ec707946a3cf2a55473d05dfc9af3d4b11 [MTS-MTQ] network radio mode switch: refactoring method name 143feb6a4587817d28c77e4df3a1b594b855f5e5 [MTS-MTQ] RAT mode switch: implementation for telit and quectel
2019-07-30MTX-2891 mpower 2-3-4g switch refactoring: enumsMaksym Telychko1
2019-07-29MTX-2891 mpower 2-3-4g switch refactoring: method namesMaksym Telychko1
2019-07-25MTX-2891 mpower: 2-3-4g switch implementation for TelitMaksym Telychko1
2019-06-26[MTS-MTQ] network radio mode switch: refactoring method nameMaksym Telychko1
2019-06-24Merge branch 'mtr-mtq-sim-status' into quectel-radioSerhii Kostiuk1
2019-06-22[MTS-MTQ] SIM status and PIN unlock proceduresSerhii Kostiuk1
Defined the JSON object fields for SIM Status Summary data
2019-06-22[MTS-MTQ] SIM status and PIN unlock proceduresSerhii Kostiuk1
Declared the interface for SIM status and PIN-related methods
2019-06-21[MTS-MTQ] RAT mode switch: implementation for telit and quectelMaksym Telychko1
RAT - Radio Access Technology
2019-06-11[MTS-MTQ] refactoring: cellular factory namespacesMaksym 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-08[MTS-MTQ] refactoring: telit radio implementationMaksym Telychko1
leave telit specific code in telit class. move common code to cellular radio class.
2019-06-07[MTS-MTQ] refactoring: public symbols visibilityMaksym Telychko1
Make exported ICellularRadio and CellularRadioFactory only
2019-06-06[MTS-MTQ] refactoring: moved common consts and static methods to ICellularRadioMaksym Telychko1
2019-06-06[MTS-MTQ] refactoring: added quectel empty classes, CellularRadio moved to ↵Maksym Telychko1
TelitRadio