Re: how to get signal strength of 3g modem?



On Thu, 2013-06-27 at 09:12 +0200, Aleksander Morgado wrote:
NetworkManager preventing to use AT+CSQ by locking modem device file.
There isn't any method like getSignalStrength in NetworkManager gdbus
object
<https://projects.gnome.org/NetworkManager/developers/api/09/spec.html#org.freedesktop.NetworkManager.Device.Modem>.
 
nm-applet was able to display signal strength in system tray. so there
should be a way to get signal strength form network manager!

|nmcli| is command line counter part of nm-applet. Can i get signal
strength using nmcli? nothing about signal strength is mentioned in its
man pages.


Signal quality from a 3G modem is directly read (IIRC) from
ModemManager, not from NetworkManager; check the
org.freedesktop.ModemManager.Modem or
org.freedesktop.ModemManager1.Modem interfaces, If you're using the
latest MM, there's online documentation for it:

http://www.freedesktop.org/software/ModemManager/api/latest/gdbus-org.freedesktop.ModemManager1.Modem.html#gdbus-property-org-freedesktop-ModemManager1-Modem.SignalQuality

We've also discussed having a  limited set of read-only attributes
proxied through NM (reg state, signal strength, access tech, maybe
network name) which I think is reasonable enough, but it's not done yet.

Dan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]