Parsing Cinterion RadioBand
Aleksander Morgado
aleksander at aleksander.es
Mon Mar 6 12:00:20 UTC 2017
On Mon, Mar 6, 2017 at 11:38 AM, <colin.helliwell at ln-systems.com> wrote:
> I’m using the Cinterion plugin on an EHS5. This does include ‘Radio Band’ in
> its response to ‘AT^SCFG=?’, but in a format that
> mm_cinterion_parse_scfg_test () may not be able to parse?
>
> ^SCFG: "Radio/Band",("1"-"147")
>
>
>
> (Which I take to probably mean any bitmask from 1 to 128+16+2+1)
Yeah, that format isn't expected, see:
https://cgit.freedesktop.org/ModemManager/ModemManager/tree/plugins/cinterion/mm-modem-helpers-cinterion.c#n68
We were expecting something like "1-147".
Could you share the whole response, not just that line, so that a full
unit test can be added? see:
https://cgit.freedesktop.org/ModemManager/ModemManager/tree/plugins/cinterion/tests/test-modem-helpers-cinterion.c#n72
Patches welcome, btw :)
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list