Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-07-06 | serial: rework 'connected' logic | Dan 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-29 | errors: fix typo | Dan Williams | |
2008-09-17 | Add correct message to mobile (+CMEE) errors. | Tambet Ingo | |
2008-09-16 | Document DBus error codes and messages. | Tambet Ingo | |
2008-09-11 | Fix the typos. | Tambet Ingo | |
2008-09-11 | Fix error codes. | Tambet Ingo | |
2008-09-11 | Rewrite 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. |