Hi Jonas,
On 12/10/19, Jonas Bonn <jonas(a)norrbonn.se> wrote:
Hi,
On 09/12/2019 07:50, JH wrote:
> Hi,
>
> I get 4G LTE RSSI from dbus connman service, I usually got about -61 I
> thought it was accurate. But today, we are doing a test to check 4G LTE
> RSSI based on different antennas, when connected to a antenna, the RSSI
> is about -61, when I did not connect to an antenna, the RSSI = -40 but
> the 4G LTE connection lost:
>
> kernel: qmi_wwan 1-1:1.3: nonzero urb status received: -71.
Here your modem has probably crashed, right?
Right, I lost LTE connection at that time.
>
> Apparently that RSSI = -40 was wrong in the situation of without antenna
> connection. I tried to build qmicli, but I could not get it running.
> googling Internet, people pointed out, it could not be run if the qmi is
> running by other services (ofono is running qmi on /dev/cdc-wdm0).
>
> # qmicli --nas-get-signal-strength --device=/dev/cdc-wdm0
> error: couldn't create client for the 'nas' service: CID allocation
> failed in the CTL client: Transaction timed out
Just make sure ofono is stopped before running ofono.
# systemctl stop ofono
Hmm, that is too difficult to use qmicli, it is not practical to stop
ofono every time. Are there any workarounds without stopping ofono?
Googling internet, followed suggestion to use qmi-proxy, but I still
could not get that work either:
# qmicli -p --nas-get-signal-strength --device=/dev/cdc-wdm0
error: couldn't open the QmiDevice: Couldn't spawn the qmi-proxy
The qmicli seems showing complete different values, but it did make
sense than the values from connman dbus query:
[/dev/cdc-wdm0] Successfully got signal strength
Current:
Network 'none': '-128 dBm'
RSSI:
Network 'none': '-128 dBm'
ECIO:
Network 'none': '-2.5 dBm'
IO: '-106 dBm'
SINR (8): '9.0 dB'
So RSSI from comman dbus query was false, right?
What is the normal methods you guys to measure the 4G LTE signaling strength?
Thank you very much Jonas,
Kind regards,
- jh