diff options
author | Andres Salomon <dilinger@collabora.co.uk> | 2009-08-25 18:07:28 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-09-02 16:11:10 -0700 |
commit | 3b1733b18af596b0085902986eafd646ab08c58d (patch) | |
tree | 7422604dc4997f34a9a59e3a0f6b78b7735addc9 /src/common.c | |
parent | 7b9f0773fa0bee12b9fe3128ad424f14ece731f0 (diff) | |
download | ofono-3b1733b18af596b0085902986eafd646ab08c58d.tar.bz2 |
G1: Add a G1 syntax for parsing
This is based on the generic_at parser, with unnecessary stuff removed.
The G1 routinely screws up CRLFs, so the parser needs to account for
that. This parser ignores leading CRLFs (which is what reference-ril
does as well), as well as trailing LFs (which are sometimes left out).
CRs are used as end-of-message indicators. Since we're not bothering
tracking CRLFs, there's also no need for a GARBAGE state, or MULTILINE
stuff.
Diffstat (limited to 'src/common.c')
0 files changed, 0 insertions, 0 deletions