Commit Graph

19 Commits

Author SHA1 Message Date
Kuba Pawlak 5a6fe84ec0 gatchat: Fix parsing fields with odd number of quotation marks
Events like +CLCC and +CCWA can have contact name attached to the
end of line. If this field contains odd number of quotation marks,
parser will eventually reject such message as malformatted.
2016-11-10 10:18:26 -06:00
Marcel Holtmann 359f790c77 gatsyntax: Fix typo with GSM_PERMISSIVE_STATE_RESPONSE_STRING 2012-05-25 20:48:22 +02:00
Denis Kenzior 6cbcfb66b8 gatsyntax: Handle lines starting with '"' 2012-05-24 09:28:31 -05:00
Marcel Holtmann 21f9da9916 gatchat: Update copyright information 2011-10-10 13:39:25 -07:00
Denis Kenzior 2ed142de3c gatsyntax: support short prompt in v1 parser 2011-03-28 18:06:59 -05:00
Denis Kenzior b6d6282158 gatsyntax: support short prompt for permissive 2011-03-28 18:06:59 -05:00
Denis Kenzior 92a6b18ef4 gatsyntax: Support echo of empty lines 2011-03-28 18:06:57 -05:00
Denis Kenzior 54736c532c gatsyntax: Re-name enum a proper way 2011-03-28 18:06:57 -05:00
Jeevaka Badrappan 2182336c8b gatchat: M15 coding styles fixes 2011-01-12 08:06:59 -08:00
Denis Kenzior 94fb2f23f8 gatsyntax: Fix responses starting with a quote 2010-09-29 05:37:41 -05:00
Denis Kenzior 5681e9df49 gatchat: Handle embedded \r and \n in responses 2010-08-16 12:44:50 -05:00
Denis Kenzior 988b24adb0 Fix: Introduce PPP data state
Some modems send PPP data introspersed along with the CONNECT final
response.  Fixup the parser so we can still detect the final response.
2010-03-31 18:48:52 -05:00
Denis Kenzior d7e784d517 Fix: Treat garbage as echo 2010-03-30 19:16:47 -05:00
Marcel Holtmann 144080e749 Update copyright information 2010-01-01 17:00:10 -08:00
Denis Kenzior 740312f8fb Add GSM Permissive parser 2009-09-04 20:37:48 -05:00
Denis Kenzior 789610389e Fix a problem with CtrlZ echo
When a PDU is submitted and echoed by the modem, the CtrlZ character
is also echoed back.  Fix the parser to handle this case appropriately.
2009-08-29 10:47:16 -05:00
Denis Kenzior a53559e88f Fix trailing whitespace 2009-08-06 17:24:23 -05:00
Denis Kenzior d2c106b4db Be more lenient for PDU lines 2009-08-06 17:05:52 -05:00
Denis Kenzior 83820c88b2 Refactor GAtChat to accept user-provided parsers
Intended for really broken modems.  A default 27.007 compliant
parser is provided.
2009-08-06 16:38:39 -05:00