Age | Commit message (Collapse) | Author | Files |
|
MTX-2952 fix mPower: Cellular mode selection - Device does not support 4g but radio-query returns 4g as well
See merge request !4
|
|
but radio-query returns 4g as well
|
|
L4 n1 mna1
See merge request !3
|
|
Mtx 2891 mpower 2g 3g 4g
See merge request !2
|
|
|
|
|
|
|
|
methods for get-cellular-mode
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Quectel radio
See merge request !1
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
Cleanup: Removed a comment for a function whose implementation was moved
to the radio-specific classes
|
|
Fixed the timeouts for several AT commands, including SIM-related commands
|
|
Added a timeout of 5 seconds for the SIM PIN unlock command
|
|
|
|
A small fix for the QuectelRadio::getNetwork - removed extra `"` character
when only short / long operator name is returned by +COPS?
|
|
|
|
Fixed a tiny issue with Telit implementation of CellularRadio::getSimLockAttempts
|
|
Added Quectel-specific implementation of the CellularRadio::getIsSimInserted and
CellularRadio::getSimLockAttempts utility methods
|
|
Added Telit-specific implementation of the CellularRadio::getIsSimInserted and
CellularRadio::getSimLockAttempts utility methods
|
|
Added common implementations for CellularRadio::unlockSimCard and
CellularRadio::getSimLockStatus
|
|
Added a common implementation for the CellularRadio::getSimStatusSummary method
|
|
Defined the JSON object fields for SIM Status Summary data
|
|
Defined common protected utility methods for the CellularRadio class:
- getIsSimInserted
- getSimLockStatus
- getSimLockAttempts
|
|
Declared the interface for SIM status and PIN-related methods
|
|
RAT - Radio Access Technology
|
|
Generate index to archive. instead of ranlib.
|
|
Fixed a tiny difference between RSSI placement in TelitRadio and QuectelRadio implementation
|
|
Made the same changes for QuectelRadio as for the whole project
|
|
Ported the recent changes made by Maksym
|
|
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,-,-,-,-,-,-,-,-,-,""
|
|
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)
|
|
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
|
|
|
|
Corrected the check for QENG="servingcell" prefix
|
|
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.
|
|
Added a proper implementation of the EG95Radio class
|
|
Modified QuectelRadio::getNetworkStatus to populate Quectel-specific debug information.
Added as a separate commit for simple reverts
|
|
Added the full implementation of QuectelRadio class.
Ported the changes from a local branch to the new libmts-io architecture.
|