Age | Commit message (Collapse) | Author | Files |
|
RAT - Radio Access Technology
|
|
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.
|
|
|
|
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.
|
|
such virtual methods
|
|
|
|
|
|
|
|
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.
|
|
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.
|
|
Removed Telit-specific implementation of the getCarrierFromFirmware and
getHardwareVersionFromFirmware out of the QuectelRadio class.
BTW, it's still present in the TelitRadio class.
|
|
Moved CellularRadio::getNetwork implementation to the TelitRadio::getNetwork as
Quectel radio doesn't have a AT#RFSTS command that returns the needed field.
|
|
strings replaced by const-char pointer
|
|
|
|
leave telit specific code in telit class.
move common code to cellular radio class.
|
|
|
|
|
|
|
|
TelitRadio
|
|
Using identificators in appropriate namespace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Jeff Hatch <Jeff.Hatch@multitech.com>
|
|
|
|
|
|
Signed-off-by: Jeff Hatch <Jeff.Hatch@multitech.com>
|
|
|
|
|
|
|