Commit Graph
40 Commits
Author SHA1 Message Date
Tambet Ingo b4176325e5 Update the patches for NetworkManager and nm-applet.
Implement modem properties dialog for the applet which shows all sorts of
information about the modem, allows to scan for visible networks and create
NMConnections based on scan results.
2008-09-12 17:05:43 +03:00
Tambet Ingo 567278d19d Make sure the response buffer doesn't grow without bounds. 2008-09-11 16:55:44 +03:00
Tambet Ingo 675964a6b2 Fix device added and removed signals.
The device argument was a MMModem object, which conflicted with the spec.
Changed it to the modem's udi.
2008-09-11 16:37:01 +03:00
Tambet Ingo e0b3d478b4 Fix the typos. 2008-09-11 16:36:41 +03:00
Tambet Ingo 37b716de8a Fix error codes. 2008-09-11 15:12:07 +03:00
Tambet Ingo 29387c24b0 Fix a bug where the serial command queue sent the same command multiple times. 2008-09-11 11:41:36 +03:00
Tambet Ingo 55bc5300db Cache signal quality after successful registration.
If trying to get signal quality when connected, use the cached value.
2008-09-11 11:22:04 +03:00
Tambet Ingo 40e4d2fed0 Don't try to send commands to the serial device if it's connected.
Implement mm_serial_is_connected() function and call it before trying to write
anything to the serial port.
2008-09-11 11:21:04 +03:00
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 bb874acea0 Update the NetworkManager and nm-applet patches. 2008-09-02 09:51:23 +03:00
Tambet Ingo 9c9de2d626 License ModemManager with GNU Lesser General Public License, version 2.1. 2008-09-01 18:54:28 +03:00
Tambet Ingo ebd99af6a0 Disable the HSO modem in addition to just closing the device on Enable(False). 2008-09-01 18:51:48 +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 209a6390cb Fix up HSO modem plugin. 2008-09-01 11:27:35 +03:00
Tambet Ingo 2087ca49b6 Fix another upper case inconsistency in the public API (SetApn). 2008-08-29 18:09:23 +03:00
Tambet Ingo c71ae54f88 Include the missing mm-gsm-modem-hso.xml to EXTRA_DIST. 2008-08-29 14:29:26 +03:00
Tambet Ingo 3d9fc420d2 Update the NetworkManager and nm-applet patches.
Update the NetworkManager and nm-applet patches to work with the DBus API reorganization.
2008-08-29 13:13:00 +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 9d5b29203e Update the NetworkManager and nm-applet patches. 2008-08-26 15:08:57 +03:00
Tambet Ingo 64b4827c4c Implement HSO modem driver. 2008-08-26 14:40:20 +03:00
Tambet Ingo fc992ce8ab Add a patch for the current nm-applet to make it use ModemManager. 2008-08-22 14:54:42 +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 91ac2260b7 Remove the pkg-config file, we're not a library. 2008-08-22 14:49:12 +03:00
Tambet Ingo d6be2af93f Implement registration information retrieving for GSM modems. 2008-08-21 17:18:38 +03:00
Tambet Ingo 9afafdf46d Add a patch to make the latest NetworkManager use ModemManager. 2008-08-21 09:48:11 +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 751a9f8273 Fix a typo. 2008-08-13 10:05:45 +03:00
Tambet Ingo a93f08429c Fix distcheck. 2008-08-13 10:05:31 +03:00
Tambet Ingo be059f7a73 Document the public DBus API. 2008-07-31 17:14:50 +03:00
Tambet Ingo 135fad9e6d Fix typos. 2008-07-31 15:45:07 +03:00
Tambet Ingo cf815d3952 Write README. 2008-07-31 15:43:25 +03:00
Tambet Ingo c375992cc2 Enable the device before trying to operate on it. 2008-07-31 15:01:01 +03:00
Tambet Ingo 710df6f66b Handle Enable() method correctly when it's already been called. 2008-07-31 15:00:03 +03:00
Tambet Ingo 911b2b6926 Handle serial device opening when it's already open. 2008-07-31 14:58:38 +03:00
Tambet Ingo f0a2dc606c Add an example testing program. 2008-07-31 14:03:37 +03:00
Tambet Ingo fa9c303d98 Merge fixes from NetworkManager SVN. 2008-07-31 12:24:12 +03:00
Tambet Ingo c7e8eacb1c Add .gitignore. 2008-07-31 09:49:25 +03:00
Tambet Ingo cc31458b18 Initial commit. 2008-07-31 09:43:00 +03:00