aboutsummaryrefslogtreecommitdiff
path: root/src/mm-errors.c
AgeCommit message (Collapse)Author
2010-03-13gsm: add character set get/set supportDan Williams
2010-02-26core: add authorization providers and optional PolicyKit supportDan Williams
When the support is complete, use --with-polkit to enable PolicyKit support. It's not there yet, but this commit adds an authorization provider framework which will be extended to allow hooking into PolicyKit.
2010-01-31errors: rework error conversionDan Williams
Use the same error structure for parsing numeric and string-based errors.
2010-01-19core: protect against modem removal in critical callbacks (rh #553953)Dan Williams
There are more places to handle, but these are the most critical. If the modem is removed while a command is in-progress, the mm-callback-info code will set info->modem to NULL. Make sure we check for that in callbacks and return a reasonable error. Previous code would just blindly forge ahead and die on a null dereference.
2009-11-26nozomi: fix detection (lp:425312)Dan Williams
Nozomi devices aren't quite ready when the ports show up, so we have to keep trying to open the port for a few seconds and eventually it'll succeed. Should really be fixed in the driver (ie, don't create the ttys until they can actually be used) but whatever.
2009-09-08core: don't allow concurrent flashes on the same deviceDan Williams
Previously, a few operations (like disable) could trigger a modem flash in parallel with another flash. That's wrong, don't allow that. At the same time, add in finer-grained error checking on serial port speed operations, and fix a GSM generic bug that would send the POWER_UP string on disable.
2009-08-06license: add license header to all files and set copyright based on git logAlexander Sack
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.