| c89b589a |
build: Require D-Bus 1.4 or later |
Marcel Holtmann |
13 years ago |
1 file, +2, -9 |
| 2c8caaf0 |
gdbus: Remove unneeded NEED_DBUS_WATCH_GET_UNIX_FD check |
Marcel Holtmann |
13 years ago |
1 file, +0, -4 |
| 5c092d37 |
audio: Add SBC NULL check for GST AVDTP signaling
Due to RF condition or headset malfunctioning, gst audio plug-in could
not get SBC (mandatory codec) information. |
Chan-yeol Park |
13 years ago |
1 file, +5, -0 |
| 34f2240d |
audio: Fix default disabled values in audio.conf
Disabled features in audio.conf should be the same with source code
"audio/manager.c:struct enabled_interfaces enabled". |
Chan-yeol Park |
13 years ago |
1 file, +1, -1 |
| 18b018f6 |
input: Disconnect SDP before connecting HID if HIDSDPDisable is set
If remote HID device has HIDSDPDisable attribute present and set to
true host should disconnect SDP channel before connecting HID control
channel. Such devices multiplex resources between SDP and HID L2CAP
channels and will reject connection to HID control channel if SDP
channel is already connected. |
Szymon Janc |
13 years ago |
3 files, +24, -7 |
| 0e6d3c9b |
sdp-client: Add ability to clear cached session
This will be usefull for disconnecting SDP L2CAP channel before cached
session timeout fires. |
Szymon Janc |
13 years ago |
2 files, +22, -1 |
| b063ca7c |
Makefile.am: Fix indentation
Only these two lines were using spaces instead of tabs. |
Anderson Lizardo |
13 years ago |
1 file, +2, -2 |
| 0b6c6caa |
Add Syam's email address |
Syam Sidhardhan |
13 years ago |
1 file, +1, -0 |
| 3e14a209 |
doc: Fix typo |
Syam Sidhardhan |
13 years ago |
7 files, +11, -11 |
| 6b99a19d |
src: Fix newline before EOF |
Syam Sidhardhan |
13 years ago |
4 files, +0, -4 |
| 4d4e83d8 |
input: Fix newline before EOF |
Syam Sidhardhan |
13 years ago |
1 file, +0, -1 |
| 985966df |
audio: Fix newline before EOF |
Syam Sidhardhan |
13 years ago |
8 files, +0, -10 |
| ea225204 |
network: Remove header declared but not defined |
Syam Sidhardhan |
13 years ago |
1 file, +0, -2 |
| 2740c1ab |
headset: Remove header declared but not defined |
Syam Sidhardhan |
13 years ago |
1 file, +0, -1 |
| 39db0305 |
adapter: Remove headers declared but not defined |
Syam Sidhardhan |
13 years ago |
1 file, +0, -2 |
| b254175f |
sap-u8500: Fix empty parameter list in function declaration |
Syam Sidhardhan |
13 years ago |
1 file, +1, -1 |
| deea134f |
sdpd-request: Fix passing zero instead of NULL |
Syam Sidhardhan |
13 years ago |
1 file, +1, -1 |
| 822285d9 |
agent: Fix double D-Bus message unref
Inside the g_dbus_send_message() we are already doing the
D-BUS message unref. |
Syam Sidhardhan |
13 years ago |
1 file, +0, -1 |
| ab8a7ebc |
gateway: Fix D-Bus reply memory leak
Re-arrange the code to avoid the D-Bus memory leak. Earlier if rfcomm
is not connected, then there was a reply memory leak. |
Syam Sidhardhan |
13 years ago |
1 file, +3, -3 |
| 8151afd3 |
gateway: Fix D-Bus memory leak in audio |
Syam Sidhardhan |
13 years ago |
1 file, +4, -1 |
| 9ec21327 |
gstavdtpsink: Fix D-Bus memory leak in audio |
Syam Sidhardhan |
13 years ago |
1 file, +3, -1 |
| f9b4a114 |
agent: Free the agent request properly
In the case of error, Unref the req->msg which is allocated inside the
pincode_request_new() |
Syam Sidhardhan |
13 years ago |
1 file, +1, -1 |
| 7240dc63 |
avrcp: Fix the response ctype of SetPlayerApplicationSettingValue
Request ctype of "SetPlayerApplicationSettingValue" is CONTROL,
so response should be ACCEPTED instead of STABLE. |
Syam Sidhardhan |
13 years ago |
1 file, +1, -1 |
| d96457e1 |
health: Fix memory leak |
Syam Sidhardhan |
13 years ago |
1 file, +1, -0 |
| 4292c980 |
AVRCP: Add missing capability for TrackReachedEnd
Add missing capability for TrackReachedEnd. |
Michal Labedzki |
13 years ago |
1 file, +3, -2 |
| cb40056c |
audio: Fix memory leak when headset server probe() fails
If RFCOMM is disabled on the kernel, headset_server_probe() fails.
Relevant log messages:
audio/manager.c:headset_server_probe() path /org/bluez/499/hci0
src/adapter.c:btd_adapter_ref() 0x4bb4f78: ref=6
audio/manager.c:audio_adapter_ref() 0x4ca3010: ref=1
socket(STREAM, RFCOMM): Protocol not supported (93)
audio/manager.c:audio_adapter_unref() 0x4ca3010: ref=0
src/adapter.c:btd_adapter_unref() 0x4bb4f78: ref=5
audio-headset: Operation not permitted (1)
The powered callback should only be registered if adapter driver probe
was successful. The callback unregister was moved to the beginning of
headset_server_remove() for consistency.
This fixes this memory leak:
==499== 8 bytes in 1 blocks are definitely lost in loss record 44 of 182
==499== at 0x4826444: malloc (vg_replace_malloc.c:263)
==499== by 0x4877243: g_malloc (gmem.c:132)
==499== by 0x488D088: g_slice_alloc (gslice.c:836)
==499== by 0x488E8A5: g_slist_append (gslist.c:230)
==499== by 0x18AEEE: btd_adapter_register_powered_callback
(adapter.c:3416)
==499== by 0x11AF61: headset_server_probe (manager.c:919)
==499== by 0x18B67B: probe_driver (adapter.c:2033)
==499== by 0x1908F5: adapter_init (adapter.c:2048)
==499== by 0x189D20: btd_manager_register_adapter (manager.c:397)
==499== by 0x1649AF: mgmt_cmd_complete (mgmtops.c:1075)
==499== by 0x16665E: mgmt_event (mgmtops.c:1780)
==499== by 0x48B2EFA: g_io_unix_dispatch (giounix.c:162) |
Anderson Lizardo |
13 years ago |
1 file, +4, -4 |
| 7216b7e9 |
simple-agent: add DisplayPinCode |
Scott James Remnant |
13 years ago |
1 file, +5, -0 |
| c8207bce |
doc: document DisplayPinCode |
Scott James Remnant |
13 years ago |
1 file, +24, -0 |
| a3b3fc40 |
Display PIN generated by plugin
If a plugin pincode callback sets the display parameter to TRUE, send
the generated PIN to the agent for display using the new DisplayPinCode
agent method, including its fallback to RequestPinCode. |
Scott James Remnant |
13 years ago |
1 file, +5, -0 |
| 431a2352 |
Add display parameter to plugin pincode callback
Pass a display parameter to the plugin pincode callback, a plugin
may set this to TRUE to indicate the PIN it generates should be
displayed on the screen for entry into the remote device. |
Scott James Remnant |
13 years ago |
4 files, +7, -6 |
| ddfe9fcc |
Add AUTH_TYPE_NOTIFY_PASSKEY to device_request_authentication
This new authentication type accepts a pincode and calls the
DisplayPinCode agent method, a fallback is provided so that if the
method is not implemented the older RequestPinCode method is used
instead.
Due to this fallback, the agent_pincode_cb is used and calling
functions should send the pincode passed to the callback to the
adapter, which may differ from that generated. |
Scott James Remnant |
13 years ago |
2 files, +58, -2 |
| 32a92a9b |
agent: add DisplayPinCode method
In constrast to DisplayPasskey, this sends a UTF-8 string PIN code
to the agent; also we support a callback for the case where the
Agent doesn't implement this new method so we can fallback. |
Scott James Remnant |
13 years ago |
2 files, +115, -1 |
| 9bb3d642 |
Pass passkey by pointer rather than by value
This allows alternate data of a different type to be passed to
device_request_authentication() for other notification types such
as those that require a PIN. |
Scott James Remnant |
13 years ago |
3 files, +10, -9 |
| 0a054d5c |
Rename AUTH_TYPE_NOTIFY to AUTH_TYPE_NOTIFY_PASSKEY
This makes room for additional notification types to be added. |
Scott James Remnant |
13 years ago |
3 files, +7, -7 |
| 8e8d1e4d |
fakehid: Remove define not referenced |
Claudio Takahasi |
13 years ago |
1 file, +0, -2 |
| 56426d2e |
fakehid: Remove unneeded header includes |
Claudio Takahasi |
13 years ago |
1 file, +0, -3 |
| 1a56e362 |
mgmtops: Handle Start Discovery Complete in case of failure
This patch adds handling of start discovery complete event in cases
when discovery fails to get started. |
Hemant Gupta |
13 years ago |
1 file, +29, -1 |
| d22d083d |
mgmt: update mgmt control channel id
kernel side has updated its control channel id from 1 to 3. |
Gustavo Padovan |
13 years ago |
1 file, +1, -1 |
| 7fa6685d |
DeviceInfo: Fix compilation with old glib
Add missing include glib-compat.h to deviceinfo.c. deviceinfo_free
is using g_slist_free_full() which is not available in old glib
resulting in compilation error.
deviceinfo/deviceinfo.c: In function ‘deviceinfo_free’:
deviceinfo/deviceinfo.c:66: error: implicit declaration of function ‘g_slist_free_full’ |
Szymon Janc |
13 years ago |
1 file, +1, -0 |
| 91baac99 |
AVRCP: Fix response length for Subunit Info command
This affect PTS Test Case TC_TG_ICC_BV_02_I |
Joohi Rastogi |
13 years ago |
1 file, +1, -1 |
| 2d392db6 |
AVRCP: Fix response length for Unit Info command
This affect PTS Test Case TC_TG_ICC_BV_01_I |
Joohi Rastogi |
13 years ago |
1 file, +1, -1 |
| d9ac7bbf |
DeviceInfo: Read PNP ID
Read the PNP ID characteristic of the DeviceInfo Service, and
store it inside the btd_device, for use by other profiles. |
Chen Ganir |
13 years ago |
4 files, +77, -0 |
| 5fb7e259 |
DeviceInfo: Discover Characteristics
Add logic to discover all characteristics and build a
characteristic list. |
Chen Ganir |
13 years ago |
3 files, +68, -3 |
| f7610d05 |
DeviceInfo: Add connection logic
Add connection logic to the Device Information Plugin. When the
driver is loaded, it will request a connection to the remote device
and release the connection request when destroyed. |
Chen Ganir |
13 years ago |
1 file, +27, -0 |
| 620ac8c7 |
Add DeviceInformation GATT Client
Add the DeviceInformation GATT Client plugin skeleton. |
Chen Ganir |
13 years ago |
6 files, +254, -2 |
| 70d7ee14 |
Fix spelling errors
Fix spelling errors found using the codespell tool
(https://github.com/lucasdemarchi/codespell). |
Rafael Fonseca |
13 years ago |
6 files, +6, -6 |
| 7c824c9b |
Adapter: Fix Discovering state while Powering Off
This patch fixes the adapter discovering state while powering off.
Without this fix, BlueZ sends incorrect discovering state to upper
layers while switching off. |
Hemant Gupta |
13 years ago |
1 file, +1, -0 |
| 098de49a |
attrib: Fix D-Bus service disconnect watch removal
watcher_free() will be automatically called when removing the D-Bus
watch (it was set as the destroy callback when adding the watch),
therefore it is only necessary to remove the watch. |
Anderson Lizardo |
13 years ago |
1 file, +2, -3 |
| 371e9dfb |
thermometer: Fix D-Bus service disconnect watch removal
destroy_watcher() will be automatically called when removing the D-Bus
watch (it was set as the destroy callback when adding the watch),
therefore it is only necessary to remove the watch. |
Anderson Lizardo |
13 years ago |
1 file, +10, -6 |
| c4494591 |
gdbus: Use destroy callback for service watch
Even though service watches accepted a "destroy" callback, they were
being ignored. This fix properly pass them along so they are called when
the watch is removed. |
Anderson Lizardo |
13 years ago |
1 file, +1, -1 |