qmicli --nas-get-rf-band-info issue listing bands
Testing with libqmi 1.26.8
[17 Feb 2021, 15:02:25] [Debug] [/dev/cdc-wdm2] received message...
<<<<<< RAW:
<<<<<< length = 29
<<<<<< data = 01:1C:00:80:03:02:02:01:00:31:00:10:00:02:04:00:00:00:00:00:01:06:00:01:08:91:00:38:18
[17 Feb 2021, 15:02:25] [Debug] [/dev/cdc-wdm2] received generic response (translated)...
<<<<<< QMUX:
<<<<<< length = 28
<<<<<< flags = 0x80
<<<<<< service = "nas"
<<<<<< client = 2
<<<<<< QMI:
<<<<<< flags = "response"
<<<<<< transaction = 1
<<<<<< tlv_length = 16
<<<<<< message = "Get RF Band Information" (0x0031)
<<<<<< TLV:
<<<<<< type = "Result" (0x02)
<<<<<< length = 4
<<<<<< value = 00:00:00:00
<<<<<< translated = SUCCESS
<<<<<< TLV:
<<<<<< type = "List" (0x01)
<<<<<< length = 6
<<<<<< value = 01:08:91:00:38:18
<<<<<< translated = { [0] = '[ radio_interface = 'lte' active_band_class = 'eutran-20' active_channel = '6200' ] '}
[/dev/cdc-wdm2] Successfully got RF band info
Band Information:
Radio Interface: 'lte'
Active Band Class: 'eutran-20'
Active Channel: '6200'
(qmicli:181197): GLib-WARNING **: 15:02:25.372: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Field 'Bandwidth List' was not found in the message