aboutsummaryrefslogtreecommitdiff
path: root/src/mm-utils.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-02-01 21:12:01 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:15:00 +0100
commit0cdc8e8dd7efeee36dc18abd6b9456447e613283 (patch)
treee34099e3f1c8d576741a543250db2725be03ea7c /src/mm-utils.c
parentaee2b32a3551786415041098978640a00df54397 (diff)
broadband-modem: don't assume CIEV/CIND signal quality is in the [0,5] range
When running AT+CIND=? we get the real range for the signal quality indications, like: "signal",(1-7). The max value doesn't need to be 5; so if we do get min and max, we will normalize the returned quality using the proper range and scale it to the [0,100] range.
Diffstat (limited to 'src/mm-utils.c')
0 files changed, 0 insertions, 0 deletions