summaryrefslogtreecommitdiffstats
path: root/plugins/bluetooth.c
AgeCommit message (Collapse)AuthorFilesLines
2011-07-05bluetooth: Remove data in all situationsLuiz Augusto von Dentz1-22/+57
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-06-30bluetooth: make uuid profile detection more genericLuiz Augusto von Dentz1-13/+18
2011-06-06bluetooth: Remove usage of ofono.hDenis Kenzior1-1/+3
2011-05-31bluetooth: Initialize GError properlyDenis Kenzior1-1/+1
2011-05-27bluetooth: Remove usage of unused variableMarcel Holtmann1-2/+1
2011-02-17bluetooth: add DBG() messagesGustavo F. Padovan1-0/+4
2011-02-17bluetooth: fix crash by removing recordGustavo F. Padovan1-0/+12
When bluetoothd is not running we should not call RemoveRecord()
2011-02-17bluetooth: change how we report DBus errorsGustavo F. Padovan1-13/+20
2011-02-17bluetooth: add a bluetoothd connect watchGustavo F. Padovan1-10/+14
This fix a issue with sending DBus messages when bluetoothd is not up yet.
2011-02-17bluetooth: move find_adapter_cb to better place.Gustavo F. Padovan1-26/+26
2011-02-15bluetooth: Reset adapter_any_path to NULL in unrefDenis Kenzior1-0/+1
2011-02-15bluetooth: style issuesDenis Kenzior1-3/+3
2011-02-15bluetooth: single SDP record for all adaptersFrédéric Dalleau1-76/+64
2011-02-08bluetooth: Minor style fixesDenis Kenzior1-3/+5
2011-02-08bluetooth: Get rid of memory leaks on errorDenis Kenzior1-24/+29
2011-02-08bluetooth: Refactor the authorization processDenis Kenzior1-53/+15
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-08bluetooth: Add Bluetooth service authorization supportFrédéric Danis1-10/+115
2011-02-08bluetooth: Add bluetooth server supportFrédéric Danis1-3/+244
2011-02-08bluetooth: Optimize D-Bus call flowFrédéric Danis1-3/+14
We can call manager GetProperties once inside bluetooth_ref and avoid calling it every time bluetooth_register_uuid is called.
2011-01-20bluetooth: Add reference count for bluetooth utilsFrédéric Danis1-19/+32
Add bluetooth_ref()/bluetooth_unref() to support reference count in bluetooth utils.
2010-11-29plugins: explicitly compare pointers to NULLLucas De Marchi1-3/+3
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-10-01plugins: Mode fixups for copyrigh headersMarcel Holtmann1-1/+2
2010-06-21bluetooth: Various style issuesDenis Kenzior1-8/+13
2010-06-21bluetooth: add PropertyChanged watchGustavo F. Padovan1-1/+75
This one is a bit diferent from the hfp.c one, so a separated patch for it.
2010-06-21bluetooth: add watches for service and adaptersGustavo F. Padovan1-0/+78
Exactly the same code from hfp.c
2010-06-21bluetooth: add device_properties_cb() and has_uuid()Gustavo F. Padovan1-2/+69
2010-06-21bluetooth: Move functions from hfp.c to bluetooth.cGustavo F. Padovan1-0/+122
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-17bluetooth: Rename & expose parse_propertiesDenis Kenzior1-2/+1
2010-06-17bluetooth: Rename send_method_call_with_replyDenis Kenzior1-3/+4
2010-06-17Move create_path() to bluetooth pluginGustavo F. Padovan1-0/+22
2010-06-17Add parse properties stuff to bluetooth.cGustavo F. Padovan1-0/+84
2010-06-17Add send_method_call_with_reply to bluetooth.cGustavo F. Padovan1-0/+53
2010-06-17Add bluetooth plugin skeleton.Gustavo F. Padovan1-0/+75
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..)