Frédéric Danis
bc793d945c
bluetooth: Optimize D-Bus call flow
...
We can call manager GetProperties once inside bluetooth_ref and avoid
calling it every time bluetooth_register_uuid is called.
2011-02-08 12:44:39 -06:00
Frédéric Danis
b7590b08d2
bluetooth: Add reference count for bluetooth utils
...
Add bluetooth_ref()/bluetooth_unref() to support reference count in
bluetooth utils.
2011-01-20 12:20:47 +01:00
Lucas De Marchi
67f78f680d
plugins: explicitly compare pointers to NULL
...
This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/ )
// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@
- !E
+ E == NULL
// </smpl>
2010-11-29 12:55:49 -06:00
Marcel Holtmann
26210912d9
plugins: Mode fixups for copyrigh headers
2010-10-01 06:51:34 +02:00
Denis Kenzior
8319eee7c0
bluetooth: Various style issues
2010-06-21 22:48:15 -05:00
Gustavo F. Padovan
922d8aed48
bluetooth: add PropertyChanged watch
...
This one is a bit diferent from the hfp.c one, so a separated patch for
it.
2010-06-21 22:45:50 -05:00
Gustavo F. Padovan
447162185f
bluetooth: add watches for service and adapters
...
Exactly the same code from hfp.c
2010-06-21 22:43:38 -05:00
Gustavo F. Padovan
88ffebf801
bluetooth: add device_properties_cb() and has_uuid()
2010-06-21 22:43:08 -05:00
Gustavo F. Padovan
d6154362d3
bluetooth: Move functions from hfp.c to bluetooth.c
...
The part that call device_properties_cb is commented to permit this patch
compile.
device_properties_cb() will be changed, so it will have separated patch.
2010-06-21 22:40:22 -05:00
Denis Kenzior
6ba350cec5
bluetooth: Rename & expose parse_properties
2010-06-17 05:32:29 -05:00
Denis Kenzior
2b2b992c22
bluetooth: Rename send_method_call_with_reply
2010-06-17 05:32:28 -05:00
Gustavo F. Padovan
9d543c0719
Move create_path() to bluetooth plugin
2010-06-17 05:07:05 -05:00
Gustavo F. Padovan
4ccb481f4d
Add parse properties stuff to bluetooth.c
2010-06-17 05:06:55 -05:00
Gustavo F. Padovan
5bf4bec526
Add send_method_call_with_reply to bluetooth.c
2010-06-17 05:06:51 -05:00
Gustavo F. Padovan
4004433ad4
Add bluetooth plugin skeleton.
...
The bluetooth plugin has bluetooth_resgister_uuid() and
bluetooth_unresgister_uuid() where bluetooth profiles plugins such as HFP
and DUN can register themselves to get know about BlueZ stuff ( new
devices, bluetoothd shutdown, etc..)
2010-06-17 05:06:39 -05:00