[PATCH] modem-helpers: fix parsing of CREG/CGREG/CEREG responses
Ben Chan
benchan at chromium.org
Mon Aug 5 21:59:57 PDT 2013
Aleksander,
How do you think about this patch?
Thanks,
Ben
On Thu, Aug 1, 2013 at 3:28 AM, Aleksander Morgado <aleksander at lanedo.com>wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/modemmanager-devel/attachments/20130805/9804a374/attachment-0001.html>
More information about the ModemManager-devel
mailing list