Fwd: Correct name of LTE interface - --nas-get-tx-rx-info=

Андрей rhianon.a at gmail.com
Tue Oct 6 13:57:51 UTC 2020


Hello Aleksander!

Thank you for your answer.

Yes, I found before that link with interface naming -  "The method requires
a QmiNasRadioInterface"
But cause, those values were in upper case, I just tested this one

~ # qmicli -d /dev/cdc-wdm0 -p --nas-get-tx-rx-info=LTE
error: invalid radio interface value given: 'LTE'

with lower case, it works fine. Thank you a lot!

~ # qmicli -d /dev/cdc-wdm0 -p --nas-get-tx-rx-info=lte
[/dev/cdc-wdm0] Successfully got TX/RX info
RX Chain 0:
        Radio tuned: 'yes'
        Power: '-64.6 dBm'
        ECIO: '18.1 dB'
        RSRP: '99.5 dBm'
        Phase: '0.00 degrees'
RX Chain 1:
        Radio tuned: 'yes'
        Power: '-68.2 dBm'
        ECIO: '17.7 dB'
        RSRP: '104.4 dBm'
        Phase: '100.62 degrees'
TX:
        In traffic: 'yes'
        Power: '15.0 dBm'

wbr, Andrew

сб, 3 окт. 2020 г. в 15:40, Aleksander Morgado <aleksander at aleksander.es>:

> Hey,
>
> > Could you please to show the correct syntax of command
> >
> >  qmicli -d /dev/cdc-wdm0 -p --nas-get-tx-rx-info=
> >
> > I have try many other values like
> >
> > qmicli -d /dev/cdc-wdm0 -p --nas-get-tx-rx-info=/dev/cdc-wdm0
> > qmicli -d /dev/cdc-wdm0 -p --nas-get-tx-rx-info=wwa0
> > qmicli -d /dev/cdc-wdm0 -p --nas-get-tx-rx-info=qmi
> >
>
> There's not much info about that in the qmicli help, sorry for that :/
>
> The request looks like this:
>
> https://www.freedesktop.org/software/libqmi/libqmi-glib/latest/libqmi-glib-NAS-Get-Tx-Rx-Info-request.html#qmi-message-nas-get-tx-rx-info-input-set-radio-interface
>
> The method requires a QmiNasRadioInterface:
>
> https://www.freedesktop.org/software/libqmi/libqmi-glib/latest/libqmi-glib-NAS-enumerations-and-flags.html#QmiNasRadioInterface
>
> Which given as an input string for qmicli, it would be "cdma-1x",
> "cdma-1xevdo", "amps", "gsm", "umts", "lte", "td-scdma", "5gnr".
>
> So, it's not expecting an interface name, it's expecting the access
> technology name.
>
> --
> Aleksander
> https://aleksander.es
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20201006/d2a7d77c/attachment.htm>


More information about the libqmi-devel mailing list