aboutsummaryrefslogtreecommitdiff
path: root/src/mm-serial-parsers.c
AgeCommit message (Collapse)Author
2009-09-23generic: match CONNECT even if we get PPP spewDan Williams
Found by Eugene Crosser <crosser@average.org>
2009-08-06license: add license header to all files and set copyright based on git logAlexander Sack
2009-06-28asynchronous and deferred port detectionDan Williams
Allow plugins to perform asynchronous port detection, and to defer port detection until later. This moves the prober bits into MMPluginBase so that all plugins can take adavantage of it only when needed; the probing is not done at udev time. Furthermore, plugins like Novatel can flip the secondary ports over the AT mode through deferred detection, by deferring the secondary ports until the main port has been detected and AT$NWDMAT has been sent. This commit also finishes the port of the rest of the plugins (except mbm) over to the new port detection methods and plugin API.
2009-04-02Implement 'V1 E1' parser to work with modems which refuse to turn their echo ↵Tambet Ingo
off.
2009-02-10add --enable-more-warnings=yes/no and fix up resulting errorsDan Williams
2009-01-23Relax the "CONNECT" string regex a bit.Tambet Ingo
2008-10-24Add guards to public functions to validate passed arguments.Tambet Ingo
2008-09-17Finish the non-verbose (V0) mode parser.Tambet Ingo
2008-09-11Fix error codes.Tambet Ingo
2008-09-11Rewrite serial device communications.Tambet Ingo
Instead of vague "send something, wait something" the responses are now analyzed by (overridable) parsers. Makes all the modem implementations much easier since each caller knows without any code whether the call succeeded or failed. Another thing that makes modem code simpler (and the whole thing more robust), is the queueing of sent commands. Each queued command has a command and a callback which is quaranteed to get called, even if sending failed. Define and implement error reporting.