Re: 3G Signal CSQ

2012-03-23 Thread Aleksander Morgado



That's 1/2 a lie, they support RSSI, which is the value they return from
AT+CSQ.  RSSI is an arbitrary unit that's assumed to be linear in scale
(unlike dBm).  CSQ is defined to be 0 - 31, and internally in NM that's
normalized to a 0...100 scale.  Technically GetSignalQuality*does*
return RSSI, but may not be reported in the modem's native RSSI scale.
On some devices (Ericsson MBM) the scale is 0...5 even.

If you're looking for a much deeper RSSI, like radio diagnostic data,
then that's actually impossible to get for most devices


Very thanks for your help.

Aleksander already said me (in spanish). But with my modem seems to be a
bug with "echo", solved in next versions of NM (fedora 16 still have old
version).



Specifically, the logs show that even if we try to disable the echo, the 
modem doesn't do it, so the replies to AT+CSQ and every other command 
come with the echo:


modem-manager[2430]:  [1332115236.128042] 
[mm-at-serial-port.c:298] debug_log(): (ttyACM1): -->  'AT+CSQ'
modem-manager[2430]:  [1332115236.134616] 
[mm-at-serial-port.c:298] debug_log(): (ttyACM1):<-- 'AT+CSQ'
modem-manager[2430]:  [1332115236.136292] 
[mm-at-serial-port.c:298] debug_log(): (ttyACM1):<-- '+CSQ: 
24,0OK'


Newer MM 0.5.2 comes with the built-in echo removal thingy, which should 
help to fix this issue.


--
Aleksander
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: 3G Signal CSQ

2012-03-23 Thread PV

El 22/03/12 17:31, Dan Williams escribió:

That's 1/2 a lie, they support RSSI, which is the value they return from
AT+CSQ.  RSSI is an arbitrary unit that's assumed to be linear in scale
(unlike dBm).  CSQ is defined to be 0 - 31, and internally in NM that's
normalized to a 0...100 scale.  Technically GetSignalQuality*does*
return RSSI, but may not be reported in the modem's native RSSI scale.
On some devices (Ericsson MBM) the scale is 0...5 even.

If you're looking for a much deeper RSSI, like radio diagnostic data,
then that's actually impossible to get for most devices


Very thanks for your help.

Aleksander already said me (in spanish). But with my modem seems to be a 
bug with "echo", solved in next versions of NM (fedora 16 still have old 
version).


But, like a driver,..., I only need the speed, not, how speed it is 
calculated.


I think that I can use RSSI (0-31) with: -113 - (RSSI x 2) dBm.

Regards,
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: 3G Signal CSQ

2012-03-22 Thread Dan Williams
On Thu, 2012-03-22 at 11:14 -0500, Dan Williams wrote:
> On Sun, 2012-03-18 at 16:51 +0100, Aleksander Morgado wrote:
> > Hoola,
> > 
> > > I see that NM request signal quality from 3G modem. I need dbm or
> > > similar. Any command line option while modem it is locked by NM.
> > > I need obtain dbm or result of at+csq
> > >
> > 
> > You can query the signal quality retrieved by NM/MM directly using the 
> > DBus interface and the 'dbus-send' command line utility (assuming your 
> > modem is at index 0 here):
> > 
> > dbus-send --system --dest=org.freedesktop.ModemManager --print-reply 
> > /org/freedesktop/ModemManager/Modems/0 
> > org.freedesktop.ModemManager.Modem.Gsm.Network.GetSignalQuality
> > 
> > That won't give you neither the raw dBm value nor the rssi, though. It 
> > will give you a computed percentage value [0,100] representing the 
> > signal quality.
> 
> Right; most modems don't support reporting dBm or RSSI, including almost

That's 1/2 a lie, they support RSSI, which is the value they return from
AT+CSQ.  RSSI is an arbitrary unit that's assumed to be linear in scale
(unlike dBm).  CSQ is defined to be 0 - 31, and internally in NM that's
normalized to a 0...100 scale.  Technically GetSignalQuality *does*
return RSSI, but may not be reported in the modem's native RSSI scale.
On some devices (Ericsson MBM) the scale is 0...5 even.

If you're looking for a much deeper RSSI, like radio diagnostic data,
then that's actually impossible to get for most devices.

Dan

> all that only support AT commands.  Proprietary interfaces like CnS,
> QMI, WMC, or DIAG etc may support reporting dBm though.  However,
> remember that dBm is really only useful for 2G and 4G technologies.  For
> 3G, whether EVDO or UMTS, the unit you're really looking for is EC/IO
> (energy-per-chip over interference) which is how signal quality is
> calculated for [W]CDMA-based air interfaces.
> 
> Dan
> 
> ___
> networkmanager-list mailing list
> networkmanager-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list


___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: 3G Signal CSQ

2012-03-22 Thread Dan Williams
On Sun, 2012-03-18 at 16:51 +0100, Aleksander Morgado wrote:
> Hoola,
> 
> > I see that NM request signal quality from 3G modem. I need dbm or
> > similar. Any command line option while modem it is locked by NM.
> > I need obtain dbm or result of at+csq
> >
> 
> You can query the signal quality retrieved by NM/MM directly using the 
> DBus interface and the 'dbus-send' command line utility (assuming your 
> modem is at index 0 here):
> 
> dbus-send --system --dest=org.freedesktop.ModemManager --print-reply 
> /org/freedesktop/ModemManager/Modems/0 
> org.freedesktop.ModemManager.Modem.Gsm.Network.GetSignalQuality
> 
> That won't give you neither the raw dBm value nor the rssi, though. It 
> will give you a computed percentage value [0,100] representing the 
> signal quality.

Right; most modems don't support reporting dBm or RSSI, including almost
all that only support AT commands.  Proprietary interfaces like CnS,
QMI, WMC, or DIAG etc may support reporting dBm though.  However,
remember that dBm is really only useful for 2G and 4G technologies.  For
3G, whether EVDO or UMTS, the unit you're really looking for is EC/IO
(energy-per-chip over interference) which is how signal quality is
calculated for [W]CDMA-based air interfaces.

Dan

___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: 3G Signal CSQ

2012-03-18 Thread Aleksander Morgado

Hoola,


I see that NM request signal quality from 3G modem. I need dbm or
similar. Any command line option while modem it is locked by NM.
I need obtain dbm or result of at+csq



You can query the signal quality retrieved by NM/MM directly using the 
DBus interface and the 'dbus-send' command line utility (assuming your 
modem is at index 0 here):


dbus-send --system --dest=org.freedesktop.ModemManager --print-reply 
/org/freedesktop/ModemManager/Modems/0 
org.freedesktop.ModemManager.Modem.Gsm.Network.GetSignalQuality


That won't give you neither the raw dBm value nor the rssi, though. It 
will give you a computed percentage value [0,100] representing the 
signal quality.


Cheers,

--
Aleksander

___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list