summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2019-07-30MTX-2891 mpower 2-3-4g switch refactoring: enumsMaksym Telychko5
2019-07-29MTX-2891 mpower 2-3-4g switch refactoring: method namesMaksym Telychko7
2019-07-26MTX-2891 mpower 2-3-4g switch: build and treat warnings as errorsMaksym Telychko2
2019-07-25MTX-2891 mpower: 2-3-4g switch implementation for TelitMaksym Telychko5
2019-07-25MTX-2891 mpower: partial build fixMaksym Telychko1
2019-07-23Merge branch 'quectel-radio' into 'master' Jeff Hatch34
Quectel radio See merge request !1
2019-07-18[MTR-MTQ] Namespace-related usage improvementsSerhii Kostiuk18
Restored full qualification of the ICellularRadio::CODE object type for all files that used full qualification before (effectively, for all source files and only one header file). This commit partially reverses 53efcef2e2f521135b323e194c45f1d9fa7b5d5d.
2019-07-18[MTS-MTQ] QuectelRadio implementationSerhii Kostiuk4
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-07-18[MTS-MTQ] QuectelRadio implementationSerhii Kostiuk1
Now using "<rat>" field instead on number of fields returned in "AT+QENG" result for the QuectelRadio::getNetworkStatus implementation. This change was implemented after a code review.
2019-07-15[MTS-MTQ] SIM status and PIN unlock proceduresSerhii Kostiuk1
Increased timeout for the AT+QPINC="SC" command up to 2 seconds as the modem fails to respond in the current 500ms time limit while executing several successive commands.
2019-07-15[MTS-MTQ] QuectelRadio implementationSerhii Kostiuk1
Cleanup: Removed a comment for a function whose implementation was moved to the radio-specific classes
2019-07-15[MTX-2886] MTR_MTQ - radio-cmd shows invalid message on valid SIM PINSerhii Kostiuk3
Fixed the timeouts for several AT commands, including SIM-related commands
2019-07-05[MTX-2886] MTR_MTQ - radio-cmd shows invalid message on valid SIM PINSerhii Kostiuk1
Added a timeout of 5 seconds for the SIM PIN unlock command
2019-06-26[MTS-MTQ] network radio mode switch: refactoring method nameMaksym Telychko5
2019-06-26[MTS-MTQ] QuectelRadio implementationSerhii Kostiuk1
A small fix for the QuectelRadio::getNetwork - removed extra `"` character when only short / long operator name is returned by +COPS?
2019-06-24Merge branch 'mtr-mtq-sim-status' into quectel-radioSerhii Kostiuk8
2019-06-22[MTS-MTQ] SIM status and PIN unlock proceduresSerhii Kostiuk1
Fixed a tiny issue with Telit implementation of CellularRadio::getSimLockAttempts
2019-06-22[MTS-MTQ] SIM status and PIN unlock proceduresSerhii Kostiuk2
Added Quectel-specific implementation of the CellularRadio::getIsSimInserted and CellularRadio::getSimLockAttempts utility methods
2019-06-22[MTS-MTQ] SIM status and PIN unlock proceduresSerhii Kostiuk2
Added Telit-specific implementation of the CellularRadio::getIsSimInserted and CellularRadio::getSimLockAttempts utility methods
2019-06-22[MTS-MTQ] SIM status and PIN unlock proceduresSerhii Kostiuk2
Added common implementations for CellularRadio::unlockSimCard and CellularRadio::getSimLockStatus
2019-06-22[MTS-MTQ] SIM status and PIN unlock proceduresSerhii Kostiuk2
Added a common implementation for the CellularRadio::getSimStatusSummary method
2019-06-22[MTS-MTQ] SIM status and PIN unlock proceduresSerhii Kostiuk2
Defined the JSON object fields for SIM Status Summary data
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-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 Telychko5
RAT - Radio Access Technology
2019-06-21[MTS-MTQ] refactoring: Makefile build static library option fixMaksym Telychko1
Generate index to archive. instead of ranlib.
2019-06-14[MTS-MTQ] QuectelRadio implementationSerhii Kostiuk1
Fixed a tiny difference between RSSI placement in TelitRadio and QuectelRadio implementation
2019-06-13[MTS-MTQ] refactoring: using full qualified names for consts [2]Serhii Kostiuk1
Made the same changes for QuectelRadio as for the whole project
2019-06-13Merge branch 'quectel-radio' into quectel-specificSerhii Kostiuk8
Ported the recent changes made by Maksym
2019-06-12[MTS-MTQ] QuectelRadio implementationSerhii Kostiuk1
Fixed parsing of RSSI dBm in QuectelRadio::getNetworkStatus for GSM mode. As stated in the datasheet[1], we should substract "111" from the value in <rxlev> field in order to get a proper value in dBm. The thing is that the values returned by a real device are already out of the "0-63" range stated in a datasheet. And looks like those values are already in a dBm scale. [2] This commit removes additional substraction and saves the value of <rxlev> field directly without any modifications. Sources: - [1] QuectelEC2x26EG9x26EM05QuecCellATCommandsManualV10.929966385.pdf, page 9, <rxlev> field description. - [2] +QENG: "servingcell","NOCONN","GSM",REDACTED,REDACTED,REFACTED,REDACTED,8,522,0,-66,255,255,0,41,41,1,-,-,-,-,-,-,-,-,-,""
2019-06-12[MTS-MTQ] QuectelRadio implementationSerhii Kostiuk1
Changed implementation of the QuectelRadio::getService - Replaced sscanf with functions from MTS::Text - Emulated the behaviour of TelitRadio::getService - return FAILURE when <Act> is not available The TelitRadio::getService returns FAILURE when device stays without a SIM card (probably, until it will be registered to the network)
2019-06-12[MTS-MTQ] QuectelRadio implementationSerhii Kostiuk1
Fixes and improvements - Corrected the format of getNetwork output - Fixed pasrsing for the trailing values in QuectelRadio::getNetworkStatus (removed extra characters) - Removed empty "debug" field from QuectelRadio::getNetworkStatus output in GSM mode - Corrected parsing in the QuectelRadio::getServiceDomain - Corrected parsing in the QuectelRadio::getService - Corrected target fields for Service Domain value in QuectelRadio::getNetworkStatus
2019-06-12[MTS-MTQ] refactoring: using full qualified names for constsMaksym Telychko8
2019-06-12[MTS-MTQ] QuectelRadio implementationSerhii Kostiuk1
Corrected the check for QENG="servingcell" prefix
2019-06-12[MTS-MTQ] QuectelRadio implementationSerhii Kostiuk2
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-12[MTS-MTQ] QuectelRadio implementationSerhii Kostiuk2
Added a proper implementation of the EG95Radio class
2019-06-11[MTS-MTQ] QuectelRadio implementationSerhii Kostiuk1
Modified QuectelRadio::getNetworkStatus to populate Quectel-specific debug information. Added as a separate commit for simple reverts
2019-06-11[MTS-MTQ] QuectelRadio implementationSerhii Kostiuk2
Added the full implementation of QuectelRadio class. Ported the changes from a local branch to the new libmts-io architecture.
2019-06-11Merge branch 'quectel-radio' into quectel-specificSerhii Kostiuk7
2019-06-11[MTS-MTQ] QuectelRadio implementationSerhii Kostiuk2
Removed copies of the following functions: - TelitRadio::queryLteLac - TelitRadio::setCGREG - TelitRadio::queryCGREGstring Those functions are already implemented in the CellularRadio class. Their implementation is common for both Telit and Quectel. There is no need to override them in TelitRadio.
2019-06-11[MTS-MTQ] refactoring cellular factory: non interface class shouldn't have ↵Maksym Telychko2
such virtual methods
2019-06-11[MTS-MTQ] cellular factory: radio identification by AT+GMMMaksym Telychko1
2019-06-11[MTS-MTQ] cellular factory: quectel eg95 instance creationMaksym Telychko5
2019-06-11[MTS-MTQ] refactoring: cellular factory namespacesMaksym Telychko3
2019-06-11[MTS-MTQ] QuectelRadio implementationSerhii Kostiuk4
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 Kostiuk2
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 Kostiuk2
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 Kostiuk4
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-11[MTS-MTQ] refactoring: makefile clean target fixMaksym Telychko1
2019-06-11[MTS-MTQ] refactoring: performance optimizationMaksym Telychko3
strings replaced by const-char pointer