aboutsummaryrefslogtreecommitdiff
path: root/src/mm-errors.c
AgeCommit message (Collapse)Author
2009-07-06serial: rework 'connected' logicDan Williams
So many modems just don't implement carrier detect that it makes the previous 'connected' logic useless, so base it off connect/disconnect and fix up a few places that didn't check connect status before trying to send commands. Also ensure the serial port is unlocked for PPP to use when connected.
2009-06-29errors: fix typoDan Williams
2008-09-17Add correct message to mobile (+CMEE) errors.Tambet Ingo
2008-09-16Document DBus error codes and messages.Tambet Ingo
2008-09-11Fix the typos.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.