[PATCH] modem-helpers: fix parsing of CREG/CGREG/CEREG responses

Aleksander Morgado aleksander at lanedo.com
Thu Aug 1 03:28:02 PDT 2013


On 01/08/13 08:48, Ben Chan wrote:
> 
> This patch is probably not the best solution, but incurs minimal
> changes. I hope there is no modem that puts leading zeros in integers
> and also doesn't quote hexadecimal strings.
> 
> Have you got any modem that put leading zeros in the <n>, <stat>, <AcT>
> fields?  I wonder if the support for leading zeros can be scoped to the
> plugin level.

Iridium modems use leading zeroes IIRC; but not sure about the hex
strings, will need to check my old logs.

-- 
Aleksander


More information about the ModemManager-devel mailing list