Report signal strength via AT+CIND
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| ModemManager |
Fix Released
|
Medium
|
|||
| modemmanager (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
Many 3G modem reports various network information via AT+CIND command including signal strength. Few devices only support AT+CIND, for example the Teracom (Linktop LW273) distributed by BSNL in India, only reports signal strength of UMTS network via AT+CIND command.
It will be great if ModemManager add support for CIND by default and fallback to CSQ if CIND is not supported. This is already the behaviour of OFONO.
The process could be like this:
1. on connect find the singal index by issuing AT+CIND=? command else set CIND not supported
2. on get_signal_quality issue AT+CIND? if CIND is supported else issue AT+CSQ
3. on get_signal_
With LW273 modem, I have following result for the CIND command:
AT+CIND=?
+CIND: ("battchg"
OK
AT+CIND?
+CIND: 0,3,1,0,
OK
So here the signal strength reported is 3 which is in the range of min 0 to max 5. So the value should be normalized at follows:
quality = (signal * 100) / (5 - 0)
See http://
| summary: |
- Report signal strength via CIND + Report signal strength via AT+CIND |
| Changed in modemmanager: | |
| importance: | Undecided → Unknown |
| status: | Fix Committed → Unknown |
| Changed in modemmanager (Ubuntu): | |
| status: | New → Fix Released |
| Changed in modemmanager: | |
| importance: | Unknown → Medium |
| status: | Unknown → Fix Released |
Should work as of dc95f531adc3816 6cb4ec0ec08e405 27dd04385a upstream, please test and let me know. If you test, please include full modem-manager --debug output so we can diagnose any problems. Also, it's best to track modem-manager problems upstream at bugzilla.gnome.org since I don't often look directly at launchpad, as LP is Ubuntu-specific.