summaryrefslogtreecommitdiff
path: root/src/MTS_IO_ME910C1WWRadio.cpp
diff options
context:
space:
mode:
authorSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2019-06-12 17:23:03 +0300
committerSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2019-06-12 17:31:15 +0300
commitacb40ca0033a48cedfeb118dcc216f60e4dd8c45 (patch)
treefd63a2dbcde588f076ae6049aa3827e30ff5e6b7 /src/MTS_IO_ME910C1WWRadio.cpp
parentd388f51c9611d0f5009abf105aba44c85fcee4b0 (diff)
downloadlibmts-io-acb40ca0033a48cedfeb118dcc216f60e4dd8c45.tar.gz
libmts-io-acb40ca0033a48cedfeb118dcc216f60e4dd8c45.tar.bz2
libmts-io-acb40ca0033a48cedfeb118dcc216f60e4dd8c45.zip
[MTS-MTQ] QuectelRadio implementation
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,-,-,-,-,-,-,-,-,-,""
Diffstat (limited to 'src/MTS_IO_ME910C1WWRadio.cpp')
0 files changed, 0 insertions, 0 deletions