Commit Graph

1604 Commits

Author SHA1 Message Date
Denis Kenzior b15eccf0f4 Revert: Previous powered patch 2009-12-08 03:44:55 -06:00
Denis Kenzior 07bdfc6bce Harden the CGREG parsing function
Sometimes the CGREG query and CGREG unsolicited notification get
intermixed.  Since they have the same prefix, GAtChat clumps them
together.  Make sure the parser skips the unsolicited notification.
2009-12-08 03:43:54 -06:00
Alexander Kanavin 81d7cd4e12 Fix a crash during isimodem initialization 2009-12-08 17:09:15 +02:00
Denis Kenzior 94f71484db Register to MBM ERINFO notification
This is purely for information gathering purposes
2009-12-07 18:36:27 -06:00
Denis Kenzior 7c7f265ebc Add experimental Option tech parsing
Option seems to implement their own commands for network technology
reporting.  This is a first attempt to implement this for data gathering
purposes.
2009-12-07 17:14:57 -06:00
Denis Kenzior 749930dd18 Add HSO quirk to hso modem driver 2009-12-07 17:14:41 -06:00
Denis Kenzior 5b12b25ce6 Add support for HSO signal quality reporting 2009-12-07 17:14:41 -06:00
Denis Kenzior 8b496ec7eb Add Option HSO quirk 2009-12-07 17:14:41 -06:00
Denis Kenzior e50efac7cc Fix: Sometimes Option modems don't return info
When querying CGMI the Option modems sometimes just return OK, with no
manufacturer information given.
2009-12-07 17:14:41 -06:00
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