Marcel Holtmann
c867c9f9bf
plugins: Update copyright information
2011-10-10 13:39:54 -07:00
Gustavo F. Padovan
e73244a4a3
sap: retrigger bluetooth GetProperties call
...
When plugging a SAP capable modem, GetProperties need to be called again
to fetch the SAP Server devices from BlueZ.
2011-09-27 23:36:23 -05:00
Gustavo F. Padovan
64e2b33465
sap: Add basic sap plugin
2011-09-25 11:45:54 -05:00
Gustavo F. Padovan
39f39b37c9
bluetooth: track DBus call pending
2011-09-13 00:14:15 -05:00
Luiz Augusto von Dentz
a5f5dd2569
bluetooth: Remove data in all situations
...
If an adapter or device is removed any data associate should be removed,
otherwise the next time they appear/are created the drivers may not
asssociate again.
2011-07-05 21:11:08 -05:00
Luiz Augusto von Dentz
c9714bd4b5
bluetooth: make uuid profile detection more generic
2011-06-30 22:10:09 -05:00
Denis Kenzior
c93d3eb129
bluetooth: Remove usage of ofono.h
2011-06-06 01:04:02 -05:00
Denis Kenzior
d99ca1779a
bluetooth: Initialize GError properly
2011-05-31 11:41:42 -05:00
Marcel Holtmann
efebdc4ca5
bluetooth: Remove usage of unused variable
2011-05-27 10:10:04 -07:00
Gustavo F. Padovan
8250c1edad
bluetooth: add DBG() messages
2011-02-17 16:02:54 -08:00
Gustavo F. Padovan
10caaadd9b
bluetooth: fix crash by removing record
...
When bluetoothd is not running we should not call RemoveRecord()
2011-02-17 16:02:28 -08:00
Gustavo F. Padovan
df3d0d8365
bluetooth: change how we report DBus errors
2011-02-17 16:02:03 -08:00
Gustavo F. Padovan
a0dce4c015
bluetooth: add a bluetoothd connect watch
...
This fix a issue with sending DBus messages when bluetoothd is not up yet.
2011-02-17 16:00:00 -08:00
Gustavo F. Padovan
e7f8041acd
bluetooth: move find_adapter_cb to better place.
2011-02-17 15:59:45 -08:00
Denis Kenzior
b7048692a7
bluetooth: Reset adapter_any_path to NULL in unref
2011-02-15 13:19:07 -06:00
Denis Kenzior
19aac08e32
bluetooth: style issues
2011-02-15 13:18:47 -06:00
Frédéric Dalleau
e0c1c1557e
bluetooth: single SDP record for all adapters
2011-02-15 13:14:45 -06:00
Denis Kenzior
b6aed256b4
bluetooth: Minor style fixes
2011-02-08 21:16:03 -06:00
Denis Kenzior
671a7affee
bluetooth: Get rid of memory leaks on error
2011-02-08 21:13:48 -06:00
Denis Kenzior
ba9cd4adbb
bluetooth: Refactor the authorization process
...
It is unnecessary to keep the IO watch around after the authorization
process has finished. This also means client_list variable is not
really needed.
Since we destroy the watch once the auth_cb is called, we can also
remove the auth_pending variable.
Finally, the null check of path is not necessary
2011-02-08 21:13:29 -06:00
Frédéric Danis
4bb1e0d32c
bluetooth: Add Bluetooth service authorization support
2011-02-08 16:49:37 -06:00
Frédéric Danis
f3acfea531
bluetooth: Add bluetooth server support
2011-02-08 16:49:09 -06:00
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