summaryrefslogtreecommitdiff
path: root/client/bluetooth.c
Commit message (Collapse)AuthorAgeFilesLines
* client: Fix using BtIOTypeLuiz Augusto von Dentz2012-11-141-3/+3
|
* client: Fix not using port when it is set by the clientLuiz Augusto von Dentz2012-10-091-0/+1
| | | | | If the client set a channel/port the code would just ignore and attempt to discover the service anyway.
* client: Fix possible memory leak in bluetooth driverLuiz Augusto von Dentz2012-08-071-0/+3
| | | | | | | | | | | | | | | | 2,210 (64 direct, 2,146 indirect) bytes in 2 blocks are definitely lost in loss record 150 of 155 at 0x4A0884D: malloc (vg_replace_malloc.c:263) by 0x3B2900F8A1: sdp_create (sdp.c:3656) by 0x3B2900FAE0: sdp_connect (sdp.c:4604) by 0x415902: adapter_reply (bluetooth.c:421) by 0x3B22C0C429: ??? (in /usr/lib64/libdbus-1.so.3.5.6) by 0x3B22C0F5E9: dbus_connection_dispatch (in /usr/lib64/libdbus-1.so.3.5.6) by 0x4059A7: message_dispatch (mainloop.c:76) by 0x32CD64822A: ??? (in /usr/lib64/libglib-2.0.so.0.3200.4) by 0x32CD647694: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3200.4) by 0x32CD6479C7: ??? (in /usr/lib64/libglib-2.0.so.0.3200.4) by 0x32CD647DC1: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3200.4) by 0x40567F: main (main.c:175)
* client: Fix memory leak in bluetooth driverLuiz Augusto von Dentz2012-06-131-0/+2
| | | | | | | | | | | | | | | | 384 (184 direct, 200 indirect) bytes in 1 blocks are definitely lost in loss record 141 of 157 at 0x4A0884D: malloc (vg_replace_malloc.c:263) by 0x392E217815: ??? (in /usr/lib64/libdbus-1.so.3.5.6) by 0x392E218632: dbus_message_new_method_call (in /usr/lib64/libdbus-1.so.3.5.6) by 0x413AD3: send_method_call (bluetooth.c:87) by 0x414933: manager_reply (bluetooth.c:496) by 0x392E20C429: ??? (in /usr/lib64/libdbus-1.so.3.5.6) by 0x392E20F5E9: dbus_connection_dispatch (in /usr/lib64/libdbus-1.so.3.5.6) by 0x405767: message_dispatch (mainloop.c:76) by 0x369E04827A: ??? (in /usr/lib64/libglib-2.0.so.0.3200.3) by 0x369E0476E4: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3200.3) by 0x369E047A17: ??? (in /usr/lib64/libglib-2.0.so.0.3200.3) by 0x369E047E11: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3200.3)
* client: Fix not checking if GoepL2capPsm contains a valid PSMLuiz Augusto von Dentz2012-05-161-1/+2
| | | | | In case the PSM is not valid ignore it so we are still able to connect to RFCOMM.
* client: Add L2CAP support in bluetooth moduleLuiz Augusto von Dentz2012-02-141-14/+70
| | | | | This adds support for reading GoepL2capPsm attribute from sdp record and connect to it.
* client: Fix possible GLib assertion failureMikel Astiz2012-01-271-3/+5
| | | | In case of error there might be no io channel to shutdown.
* client: simplify handling of D-Bus pending calls in bluetooth.cLuiz Augusto von Dentz2012-01-201-107/+70
| | | | | | There is no much of point to have a user_data if it is always the same type, besides this code is very inefficient and cause a lookup in the list of pending calls everytime a reply is received.
* client: move bluetooth specific code from session.c to bluetooth.cLuiz Augusto von Dentz2012-01-201-1/+575
| | | | | This simplifies session.c code quite a bit and enables supporting other transports in the future.
* client: add bluetooth transport driverLuiz Augusto von Dentz2012-01-201-0/+69