[OpenWrt-Devel] [PATCH] umbim: add home provider query support
bjorn at mork.no
Thu Aug 29 02:22:39 EDT 2019
Ingo Feinerer <feinerer at logic.at> writes:
> This adds support to query the home provider, mainly for debugging and
> information purposes.
Looks nice to me. Did a simple run test just to confirm that it works
as expected with my EM7455 at least:
$ ./umbim -p -d /dev/cdc-wdm0 home
cellularclass: 0001 - gsm
The rssi and errorrate numbers are what my modem returns, but the values
do look a little strange in hex... But it is consistent with other umbim
output, so I guess it's the least confusing choice.
For reference, this is the libmbim output:
$ mbimcli -p -d /dev/cdc-wdm0 --query-home-provider
[/dev/cdc-wdm0] Home provider:
Provider ID: '24201'
Provider name: 'TELENOR'
Cellular class: 'gsm'
Error rate: '99'
You can add
Reviewed-by: Bjørn Mork <bjorn at mork.no>
if that helps.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel