Commit Graph

6251 Commits

Author SHA1 Message Date
Daniel Wagner c3e7e5e4fb dundee: Add D-Bus configuration file 2012-05-22 18:44:46 +02:00
Daniel Wagner 5db94cecd8 dundee: Add D-Bus error messages 2012-05-22 18:44:46 +02:00
Daniel Wagner bd8ebf3d0f dundee: Add skeleton implementation 2012-05-22 18:44:46 +02:00
Daniel Wagner 63ec5989c9 dundee: Add test scripts 2012-05-22 18:44:46 +02:00
Daniel Wagner 01cbd32550 dundee: Add documentation 2012-05-22 18:44:46 +02:00
Daniel Wagner 83becec832 bluetooth: Add Serial interface definition 2012-05-22 18:44:46 +02:00
Denis Kenzior 91cbcbf371 hfp_hf: Fix up whitespace corruption 2012-05-21 21:26:19 -05:00
Guillaume Zajac 7158c5790b test: Add timeout to be compliant with GCF
With some GCF test cases, default python script timeout
is too short to pass the tests.
2012-05-21 20:53:18 -05:00
Marcel Holtmann 9b288f92f8 iceramodem: Add special GPRS context driver 2012-05-22 12:05:24 +02:00
Marcel Holtmann c26cc80b08 icera: Add SIM, network registration and GPRS handling 2012-05-22 12:04:13 +02:00
Marcel Holtmann 929c529716 atmodem: The Icera modem does not support CIND reporting 2012-05-22 12:03:00 +02:00
Marcel Holtmann d543281e4f atmodem: Add specific quirk for Icera modems 2012-05-22 12:02:30 +02:00
Lucas De Marchi 4fa967e7e2 gdbus: do not check signature twice
Message signature is already checked in generic_message(), so there's no
need to check again in the callback.
2012-05-20 02:47:57 -07:00
Lucas De Marchi e400426267 gdbus: add Method.NoReply annotation in introspection 2012-05-20 02:47:57 -07:00
Lucas De Marchi e42130a83b gdbus: add Deprecated annotation in introspection 2012-05-20 02:47:57 -07:00
Lucas De Marchi 7f2b69d7b8 gdbus: remove signature and reply from tables 2012-05-20 02:47:57 -07:00
Lucas De Marchi e0d6f9f0ce Do not set signature and reply in GDBus tables
Use GDBUS_* macros, so signature and reply fields are not set in each
method/signal.
2012-05-20 02:47:57 -07:00
Lucas De Marchi ce3345e21d gdbus: loop over args to check message signature 2012-05-20 02:47:57 -07:00
Lucas De Marchi 568a7d0707 gdbus: use GDBusArgInfo to generate introspection
By using GDBusArgInfo in methods and signals, the introspection
generation is much simpler and we can add each argument name.
2012-05-20 02:47:57 -07:00
Lucas De Marchi b3489f2ee8 Convert GDBus methods to use macro helpers
With these macro helpers we can separate in/out arguments and use their
own vector.
2012-05-20 02:47:57 -07:00
Lucas De Marchi 8e815c100b gdbus: add and use helpers for table declarations 2012-05-20 02:47:57 -07:00
Lucas De Marchi d1a1a9bcc9 gdbus: add argument info to methods and signals 2012-05-20 02:47:56 -07:00
Henrique Dante de Almeida 924ee02ff7 Constify GDBus signal tables
Constify signal tables with the following command:

    find . -name '*.[ch]' -exec \
             sed -i 's/\(GDBusSignalTable .* =\)/const \1/g' {} \;
2012-05-20 02:47:56 -07:00
Henrique Dante de Almeida 63bbdebdf2 Constify GDBus method tables
Constify method tables with the following command:

find . -name '*.[ch]' -exec \
             sed -i 's/\(GDBusMethodTable .* =\)/const \1/g' {} \;
2012-05-20 02:47:56 -07:00
Marcel Holtmann addd756348 gdbus: Constify introspection method table 2012-05-17 19:58:02 -07:00
Lucas De Marchi 37805e0197 gdbus: do not call memset for terminating NUL 2012-05-17 19:58:01 -07:00
Lucas De Marchi a77fcca3c6 gdbus: return if method signature is malformed 2012-05-17 19:58:01 -07:00
Marko Saukko 25268b4270 build: BlueZ version 4.99 is required.
BlueZ 4.99 introduced key_size to bt_security struct that is used in
oFono, thus the requirement needs to be higher.
2012-05-14 13:01:47 -07:00
Marcel Holtmann 38b37cbc4f mailmap: Fix up Michael's name 2012-05-01 12:40:09 +02:00
Marcel Holtmann f18f810de0 mailmap: Fix up Syam's email address 2012-05-01 01:17:30 +02:00
Oleg Zhurakivskyy aa8e11bed6 call-forwarding: Remove unneeded variable 2012-04-23 15:39:35 -05:00
Oleg Zhurakivskyy 6356612822 call-forwarding: Streamline set_query_cf_callback() 2012-04-23 15:39:27 -05:00
Oleg Zhurakivskyy 9d8aa928b8 call-forwarding: Refactor cf_find_unconditional() 2012-04-23 15:35:22 -05:00
Oleg Zhurakivskyy d797a868c0 call-forwarding: Streamline cf_find_timeout() logic 2012-04-23 15:33:44 -05:00
Oleg Zhurakivskyy e67a7fb913 call-forwarding: Get rid of extra variable 2012-04-23 15:32:12 -05:00
Denis Kenzior bed9f4e09b call-forwarding: Make cf_cond_find more readable 2012-04-23 15:31:29 -05:00
Oleg Zhurakivskyy e53723e3c6 call-forwarding: Refactor cf_condition_find_with_cls() 2012-04-23 15:27:47 -05:00
Oleg Zhurakivskyy 9b37eefdb7 call-forwarding: Refactor cf_condition_compare() 2012-04-23 15:21:17 -05:00
Denis Kenzior fe1ced212f test: Add test script for ReleaseAndAnswer 2012-04-23 15:18:41 -05:00
Marcel Holtmann 8fb761efb0 Release 1.6 2012-04-20 21:12:48 +02:00
Denis Kenzior 7f51df4d03 doc: Clarify CallRemoved behavior 2012-04-19 08:58:20 -05:00
Denis Kenzior 8c3569c78f doc: Clarify Interfaces property 2012-04-19 08:50:26 -05:00
Mikel Astiz c9d3ce5c22 hfp_hf: Fix modifying hash table while iterating
Calling ofono_remove_modem() while iterating the hash table is not safe
given that it can modify the table in hfp_remove().

A simple way to reproduce the problem is to pair some Bluetooth phones
and remove the Bluetooth adapter, triggering a GLib-CRITICAL assertion.

This patch just removes the update of the hash table inside
hfp_remove(). This can be safe as long as all calls to
ofono_modem_remove() are accompanied by a hash table update. The only
example of this kind right now is hfp_agent_release().
2012-04-19 07:41:27 -05:00
Guillaume Zajac d0232dee06 atmodem: Poll SIM state after having entered PIN
We encountered the problem of CME ERROR 14: SIM busy on ZTE modems.
ZTE modems don't use SIM notification to check SIM state.
We poll SIM ready state before confirming PIN is entered.
2012-04-18 04:22:19 -05:00
Guillaume Zajac a3fc044be4 zte: Update to new sim_state_query API 2012-04-18 04:08:44 -05:00
Guillaume Zajac 8d92f0394f speedup: Update to new sim_state_query API 2012-04-18 04:08:29 -05:00
Guillaume Zajac 1d2432ac85 samsung: Update to new sim_state_query API 2012-04-18 04:08:15 -05:00
Guillaume Zajac fd5e7ed37e mbm: Update to new sim_state_query API 2012-04-18 04:08:02 -05:00
Guillaume Zajac 1666a5d2f2 alcatel: Update to new sim_state_query API 2012-04-18 04:07:43 -05:00
Guillaume Zajac fb92db81d4 atutil: Add destroy notify to sim_state_query 2012-04-18 04:06:43 -05:00