[OpenWrt-Devel] [PATCH] umbim: add home provider query support
Bjørn Mork
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
provider_id: 24201
provider_name: TELENOR
cellularclass: 0001 - gsm
rssi: 0063
errorrate: 0063
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'
State: 'home'
Cellular class: 'gsm'
RSSI: '99'
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
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list