Commit Graph

1395 Commits

Author SHA1 Message Date
Denis Kenzior ddad4d8067 Refactor: Calypso unsolicited signal strength 2009-12-07 17:14:40 -06:00
Marcel Holtmann 349ccf45c6 Release 0.13 2009-12-06 23:06:10 +01:00
Marcel Holtmann ca5d0f9c35 Require udev-143 or later 2009-12-05 05:49:47 +01:00
Marcel Holtmann 548c0ca401 Check that signalfd() is supported 2009-12-05 05:38:37 +01:00
Denis Kenzior 5745292cca Don't generate multiple g_sources, 1 is enough 2009-12-04 20:51:19 -06:00
Denis Kenzior adfb6c9d60 Use signalfd for signal handling 2009-12-04 20:44:04 -06:00
Denis Kenzior 18e8c906c5 Make sure to list calls in HFP voicecall driver 2009-12-04 16:52:32 -06:00
Zhenhua Zhang 62df556f28 Fix release clcc_source when voicecall is removed
Release the timer to avoid invoking the callback function after
voicecall driver is removed.
2009-12-04 16:52:32 -06:00
Zhenhua Zhang d90c657bd4 Add hfp_send_dtmf to send tones for hfpmodem 2009-12-04 16:52:32 -06:00
Denis Kenzior e1ceeafe5f Optimize: call list signal emission 2009-12-04 16:52:31 -06:00
Denis Kenzior 0fbaed38aa Refactor: Run CLCC when initializing
When voicecall atom is initialized, we should run a CLCC query to
populate our call list.  This also notifies the core of the new calls
2009-12-04 16:52:31 -06:00
Denis Kenzior 770586bfb7 Update atmodem voicecall driver to new world order 2009-12-04 16:52:31 -06:00
Denis Kenzior 7fa99301a0 Fix: Style 2009-12-04 16:52:31 -06:00
Denis Kenzior a3539b5988 Update HFP voicecall driver to new world order 2009-12-04 16:52:31 -06:00
Denis Kenzior 341c631cd1 Remove: at_util callid APIs are no longer necessary 2009-12-04 16:52:31 -06:00
Denis Kenzior 752c5af2f0 Update voicecall atom to use new callid api 2009-12-04 16:52:31 -06:00
Denis Kenzior 8e258ff54b Get rid of list_calls in hfp driver 2009-12-04 16:52:31 -06:00
Denis Kenzior 3d3a9eee84 Get rid of list_calls in calypso driver 2009-12-04 16:52:31 -06:00
Denis Kenzior 4d5eb77de5 Get rid of list_calls in isi driver 2009-12-04 16:52:30 -06:00
Denis Kenzior 0b754835f5 Add utility to get the next free call id 2009-12-04 16:52:30 -06:00
Denis Kenzior c7ac706de1 Refactor: call id allocation / release 2009-12-04 16:52:30 -06:00
Denis Kenzior 8e02b1a67f Refactor: Remove list_calls from voicecall driver 2009-12-04 16:52:30 -06:00
Marcel Holtmann 4bade3b3e7 Mention Martin's contributions 2009-12-03 22:13:27 +01:00
Martin Xu 4960526aa9 Allow builds to install the test scripts for debugging 2009-12-03 22:11:40 +01:00
Denis Kenzior bcef5a1dd6 Fix: Exit right away
If no plugin needs to run the eventloop to shutdown cleanly, exit right
away.
2009-12-03 00:42:59 -06:00
Denis Kenzior 44848d5a9b Add unit test for max message size encoding 2009-12-03 00:26:20 -06:00
Denis Kenzior 0500fadc63 Fix: Be a bit more signal-handler safe 2009-12-02 20:10:18 -06:00
Denis Kenzior 39568bbef7 Fix: Paste error 2009-12-02 19:24:37 -06:00
Denis Kenzior b0f0e248e9 When SIGTERM is received, run the event loop
This feature will continue running the event loop for another 10 seconds
or so or until all the modems have been shut down.  This will allow the
modem drivers to properly shutdown their respective devices.
2009-12-02 19:11:36 -06:00
Denis Kenzior c25532df50 Fix: Convert PalmPre plugin to new world order 2009-12-02 19:11:36 -06:00
Denis Kenzior 82a4903eeb Fix: Convert Novatel plugin to new world order 2009-12-02 19:11:36 -06:00
Denis Kenzior ecfa61c50f Fix: Convert MBM plugin to new world order 2009-12-02 19:11:35 -06:00
Denis Kenzior 4dc8c0aa80 Fix: Convert Huawei plugin to new world order 2009-12-02 19:11:35 -06:00
Denis Kenzior 21b9d4f017 Fix: Convert HSO plugin to new world order 2009-12-02 19:11:35 -06:00
Denis Kenzior b77c63b73a Fix: Convert G1 plugin to new world order 2009-12-02 19:11:35 -06:00
Denis Kenzior 9c63c7dc20 Refactor: Set powered to false if disable timedout 2009-12-02 19:11:32 -06:00
Denis Kenzior 1d98c226b5 Add g_at_chat_unregister_all function 2009-12-02 19:10:08 -06:00
Denis Kenzior b787745b00 Fix: unregister modem when unregistering driver 2009-12-02 19:10:07 -06:00
Denis Kenzior 6266e3f679 Refactor: modem de-registration 2009-12-02 19:10:07 -06:00
Denis Kenzior dac0ccc8a8 Fix: Remove all atoms when attempting to power off
The current behavior is to remove atoms when the modem has powered off
successfully.  The modem driver must now take special precautions to
cancel all pending actions of the atom drivers, since they would have
been destroyed.
2009-12-02 19:10:07 -06:00
Denis Kenzior cf98ebb653 Add: g_at_chat_cancel_all function
This will cancel all commands currently queued.
2009-12-02 19:10:04 -06:00
Denis Kenzior 9b5b1057e4 Fix: Sometimes it is possible to cancel first cmd
Commands on the head of the queue can be canceled if none of its bytes
have actually been written to the modem.  This is tracked by
cmd_bytes_written variable.
2009-12-02 15:27:26 -06:00
Denis Kenzior 0d022d3057 Fix: Don't allow cancelation of command id 0 2009-12-02 15:26:56 -06:00
Marcel Holtmann ab4e631c98 Release 0.12 2009-12-02 18:58:50 +01:00
Denis Kenzior 83a03d5fbf Fix: Store refs as 16 bits, not 8
Refs are handled as 16 bits properly everywhere, yet are stored as 8
bits in the assembly.
2009-12-02 09:55:57 -06:00
Denis Kenzior da496112b7 Fix: Don't forget to cleanup the atom watch 2009-12-01 22:53:45 -06:00
Denis Kenzior fc030de2ec Fix: Make sure to never overflow DNS variable 2009-12-01 20:38:26 -06:00
Denis Kenzior 8cd0990c66 Fix: Poll ENAP on older mbm hardware 2009-12-01 19:38:44 -06:00
Denis Kenzior 6389552fd5 Style: Fix whitespace 2009-12-01 17:36:48 -06:00
Denis Kenzior 3a189b1973 Fix: Fix parsing in MBM 2009-12-01 17:35:30 -06:00