How can one retrieve RXLEV / dBm signal strength value?
Hi, sailors.
It's a common knowledge, that one can retrieve cellular-related parameters by issuing the command:
dbus-send --system --print-reply=literal --type=method_call --dest=org.ofono /ril_0 org.ofono.NetworkRegistration.GetProperties
The number provided by the signal strength parameter seems to be a percentage value. This isn't quite good. Search yielded this link . Jarkko Lehtoranta said that one could just convert percentage value to RSSI. However, the conversion algorithm wasn't discussed. I know, that the scale can be of different nature for different chips/modules/vendors . So, can anyone enlighten me on how can I perform such a conversion? Okay, I know that Jolla CSD tool exists (##310##), and it does show dBm values. I know, that it's a proprietary tool, but can developers clarify, whether they get dBm values directly or convert from percentage values?
Also, if we dig into ofono itself, we'll find many interesting things. For example, this . A special interface called org.ofono.CellInfo could exist as well as a method called GetNeighbors() . As you can see from the patch description, there is RXLEV parameter, that we all really want. Does ofono supplied with Jolla Phone support such an interface?
P.S. Don't tell me that having percentage value is enough. The underlying bindings should provide low-level parameters.
P.P.S. Not only RXLEV is interesting. The full list is:
rxlev: integer type, received signal strength level
ber: integer type; channel bit error rate (in percent)
rscp: integer type, received signal code power
ecno: integer type, ratio of the received energy per PN chip to the total received power spectral density
rsrq: integer type, reference signal received quality
rsrp: integer type, reference signal received power