Commit Graph
662 Commits
Author SHA1 Message Date
Tambet Ingo ac4409e7ce Rewrite serial device communications.
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.
2008-09-11 08:35:32 +03:00
Tambet Ingo c56d5a257b Handle reading failure replies correctly everywhere. 2008-09-01 16:01:55 +03:00
Tambet Ingo 1bb60347b5 Implement reading IMEI, IMSI, manufacturer, model, and version (revision). 2008-09-01 15:45:55 +03:00
Tambet Ingo 424f514b02 Implement the more granular GSM interfaces as agreed on NM mailing list.
Convert all exisiting code over to new DBus interfaces.
2008-08-29 11:43:36 +03:00
Tambet Ingo 2d00b75341 Make the timeout handling simpler in the NMSerial class. 2008-08-28 10:52:00 +03:00
Tambet Ingo 64b4827c4c Implement HSO modem driver. 2008-08-26 14:40:20 +03:00
Tambet Ingo 36b1ba72d4 Grab the registration information right after a successful registration.
The registration information is stored now because in the generic case, it
is not possible to issue AT commands when the device is connected.
2008-08-22 14:50:02 +03:00
Tambet Ingo d6be2af93f Implement registration information retrieving for GSM modems. 2008-08-21 17:18:38 +03:00
Tambet Ingo 149b41f220 Implement per modem type DBus interfaces.
A major code reorganization.
2008-08-21 09:11:17 +03:00
Tambet Ingo 911b2b6926 Handle serial device opening when it's already open. 2008-07-31 14:58:38 +03:00
Tambet Ingo fa9c303d98 Merge fixes from NetworkManager SVN. 2008-07-31 12:24:12 +03:00
Tambet Ingo cc31458b18 Initial commit. 2008-07-31 09:43:00 +03:00