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
Bertrand Aygon
ab6be24c58
speedup: enable online/offline support
...
Add speedup_set_online.
Add a polling mechanism since most speedup dongles failed in couple of
AT commands following the CFUN=1 when they are offline.
Cleanup online polling in case modem is removed during online process.
2012-04-18 04:02:43 -05:00
Nicolas Bertrand
eb8645e6f5
speedup: Use speedup specific driver for ussd
2012-04-17 03:11:00 -05:00
Denis Kenzior
2bc5a791d7
speedup: No need to parse error
2012-04-16 13:15:52 -05:00
Denis Kenzior
8227642757
speedup: Remove ussd atom in case we fail to init
2012-04-16 13:15:52 -05:00
Denis Kenzior
77de440f28
atmodem: Remove ussd atom in case we fail to init
2012-04-16 13:15:52 -05:00
Nicolas Bertrand
7c5c0c1c40
Makefile: Add speedup modem target
2012-04-16 13:15:52 -05:00
Nicolas Bertrand
a9cc215bc5
speedup: Add speedup driver to handle USSD
2012-04-16 13:15:52 -05:00
Marcel Holtmann
9d789c57d7
gdbus: Remove unneeded NEED_DBUS_WATCH_GET_UNIX_FD check
2012-04-16 17:57:08 +02:00
Marcel Holtmann
7cdc836250
build: Require D-Bus 1.4 or later
2012-04-16 17:56:45 +02:00
Marcel Holtmann
4ce0034803
modem: Add missing empty line
2012-04-12 12:09:32 +02:00
Denis Kenzior
c3c2d2a715
AUTHORS: Mention Michael's contributions
2012-04-11 23:55:29 -05:00
Michael Brudevold
ef25cf1adf
hfpmodem: use full CLCC handling in dialing case
...
A call that moves from the dialing to active state before the +CLCC response
will not properly be added as a voicecall. This is because the dialing callback
was using simplified handling and only looked for calls in the dialing or
alerting state.
AT sequence that exhibited the failure (AG device was an iPhone accessing
visual voicemail):
> +CIND: ("service",(0-1)),("call",(0-1)),("callsetup",(0-3)),
("battchg",(0-5)),("signal",(0-5)),("roam",(0-1)),("callheld",(0-2))
...
> +CIEV: 3,2
< AT+CLCC
> +CIEV: 2,1
> +CIEV: 3,0
> +CLCC: 1,0,0,0,0,"**21153**",129,"Voicemail"
2012-04-11 23:54:38 -05:00
Philippe Nunes
09449f1e66
sms: Add ZTE quirk for CDS notifications
2012-04-06 11:05:48 -05:00
Bertrand Aygon
de29df012f
Add udev rules for SpeedUp U3501
2012-04-06 09:32:15 -05:00
Marcel Holtmann
c23d4c7823
icera: Add skeleton for Icera modem plugin
2012-04-06 16:28:35 +02:00
Marcel Holtmann
19b187a654
udev: Add detection support for Icera based devices
2012-04-06 16:19:36 +02:00