| e58482cb |
audio/media: Remove unused field
track_watch is no longer used for anything since MPRIS interfaces was
adopted. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +0, -2 |
| bfc19ea0 |
audio/media: Add support for tracking Seeked signal
This tracks Seeked signal and update the position in case it happens. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +21, -0 |
| b8a882a4 |
audio/AVCTP: Fix sending requests with same transaction id
If a request is outstanding in the processed list its transaction shall
not be reused as it can cause the wrong callback to be called.
This can be reproduced in very rare occasions where e.g. a notification
using the same transaction of the current request arrives before the
response itself. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +21, -0 |
| b3b5fc62 |
obexd/session: Fix crash when transport is disconnected
When transport is disconnected unexpectedly it can cause the following
crash:
gobex-DEBUG: gobex/gobex.c:g_obex_send_internal() The transport is not connected
Invalid read of size 8
at 0x42662E: session_process_queue (session.c:789)
by 0x42668F: session_process (session.c:719)
by 0x3D46047E05: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x3D46048157: ??? (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x3D46048559: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x40D5FC: main (main.c:319)
Address 0x5086760 is 32 bytes inside a block of size 56 free'd
at 0x4A074C4: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x3D4604D9AE: g_free (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x426146: session_process_setpath (session.c:1063)
by 0x426629: session_process_queue (session.c:786)
by 0x42668F: session_process (session.c:719)
by 0x3D46047E05: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x3D46048157: ??? (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x3D46048559: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x40D5FC: main (main.c:319) |
Luiz Augusto von Dentz |
12 years ago |
1 file, +12, -0 |
| fadaa876 |
audio/AVDTP: Add struct for discover specific data
This pushes discover specific data to a struct which is a common practice
if the field contains callback and user_data specific to certain
operations. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +25, -23 |
| b15cef18 |
audio/AVDTP: Fix crash after disconnecting
If the session is disconnected while process_discover is pending the
source id is not removed causing the following crash:
at 0x414C08: finalize_discovery (avdtp.c:1050)
by 0x414C5A: process_discover (avdtp.c:3346)
by 0x3D46047E05: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x3D46048157: ??? (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x3D46048559: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x40A3B6: main (main.c:595)
Address 0x5e25de8 is 1,144 bytes inside a block of size 1,176 free'd
at 0x4A074C4: free (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x3D4604D9AE: g_free (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x4152F2: connection_lost (avdtp.c:1206)
by 0x4162C4: cancel_request (avdtp.c:2662)
by 0x4164BD: request_timeout (avdtp.c:2672)
by 0x3D46048962: ??? (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x3D46047E05: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x3D46048157: ??? (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x3D46048559: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x40A3B6: main (main.c:595) |
Luiz Augusto von Dentz |
12 years ago |
1 file, +9, -1 |
| bc704506 |
monitor: Add decoding for reading and writing current IAC LAP |
Marcel Holtmann |
12 years ago |
2 files, +33, -2 |
| bdaa349b |
emulator: Add support for reading IAC information |
Marcel Holtmann |
12 years ago |
2 files, +28, -0 |
| e6590fb9 |
tools/mgmt-tester: Add test case for scan parameters |
Marcel Holtmann |
12 years ago |
1 file, +13, -0 |
| 53bd60f0 |
tools/mgmt-tester: Add test cases for static addresses |
Marcel Holtmann |
12 years ago |
1 file, +24, -0 |
| e6ad61d3 |
android: Start Android Bluetooth daemon
Start Android Bluetooth daemon from HAL init(). Make sure
that daemon is in "running" state. |
Andrei Emeltchenko |
12 years ago |
1 file, +38, -3 |
| 7999518d |
android: Enable Socket interface
Returns socket interface, use header hal.h to avoid externs. |
Andrei Emeltchenko |
12 years ago |
2 files, +24, -0 |
| 6c1a3d61 |
android: Add Socket Bluetooth HAL template
bt_sock HAL handles Bluetooth sockets for Android. |
Andrei Emeltchenko |
12 years ago |
2 files, +86, -0 |
| 3192b223 |
android: Add Adapter Bluetooth HAL template
Add template for bluetooth.h Android HAL. |
Andrei Emeltchenko |
12 years ago |
2 files, +362, -0 |
| 12238eae |
build: Add android/hal-ipc-api.txt to EXTRA_DIST |
Szymon Janc |
12 years ago |
1 file, +2, -0 |
| f21fb586 |
android: Add initial Android Bluetooth HAL protocol API doc
This IPC is used to communicate Android BlueZ daemon and HAL.
Currently specified are BT HAL "bluetooth" (BT_HARDWARE_MODULE_ID)
and following profile HALs:
"socket" (BT_PROFILE_SOCKETS_ID)
"hidhost" (BT_PROFILE_HIDHOST_ID)
"pan" (BT_PROFILE_PAN_ID)
"handsfree" (BT_PROFILE_HANDSFREE_ID)
"ad2p" (BT_PROFILE_ADVANCED_AUDIO_ID)
"health" (BT_PROFILE_HEALTH_ID) |
Szymon Janc |
12 years ago |
1 file, +1247, -0 |
| 6a79b1ff |
gdbus: Remove not needed check for NULL DBusPendingCall
It is now checked by g_dbus_send_message_with_reply() so there is no
need to double check that in caller. |
Szymon Janc |
12 years ago |
1 file, +0, -5 |
| 32e2772e |
gdbus: Check for NULL DBusPendingCall in g_dbus_send_message_with_reply
"Warning: if the connection is disconnected or you try to send Unix file
descriptors on a connection that does not support them, the
DBusPendingCall will be set to NULL, so be careful with this."
Check this in g_dbus_send_message_with_reply so that callers don't need
to double check for NULL if g_dbus_send_message_with_reply returned
TRUE.
This also fix crash if passing FD over D-Bus is blocked e.g. by SELinux
policy.
bluetoothd[1894]: profiles/audio/avdtp.c:session_cb()
bluetoothd[1894]: profiles/audio/avdtp.c:avdtp_parse_cmd() Received
SET_CONFIGURATION_CMD
bluetoothd[1894]: profiles/audio/a2dp.c:endpoint_setconf_ind() Source
0x6c5000: Set_Configuration_Ind
bluetoothd[1894]: profiles/audio/avdtp.c:avdtp_ref() 0x6df360: ref=1
bluetoothd[1894]: profiles/audio/a2dp.c:setup_ref() 0x6d32b0: ref=1
process 1894: arguments to dbus_pending_call_set_notify() were incorrect,
assertion "pending != NULL" failed in file dbus-pending-call.c line
636.
This is normally a bug in some application using the D-Bus library. |
Szymon Janc |
12 years ago |
1 file, +10, -1 |
| a753d0c7 |
tools/sdptool: Clarify 'add' and 'remove' commands in manual
Adapters are no longer notified about external changes in SDP database.
This results in 'add' and 'remove' commands being usefull only for SDP
testing or qualification. |
Szymon Janc |
12 years ago |
1 file, +6, -0 |
| 92e72b23 |
doc: Fix some style issues with the command parameters |
Marcel Holtmann |
12 years ago |
1 file, +4, -4 |
| e3aa668e |
doc: Add section about Set Scan Parameters command |
Marcel Holtmann |
12 years ago |
1 file, +22, -0 |
| 5ffa809f |
tools: Add simple test utility for L2CAP connectionless channels |
Marcel Holtmann |
12 years ago |
3 files, +283, -1 |
| 213d27cc |
tools: Print L2CAP address information of connections |
Marcel Holtmann |
12 years ago |
1 file, +67, -6 |
| 89bbe0ae |
lib: Add definitions for Set Scan Parameters command |
Marcel Holtmann |
12 years ago |
1 file, +7, -0 |
| 00489312 |
tools/mgmt-tester: Remove unused variable |
Johan Hedberg |
12 years ago |
1 file, +0, -1 |
| b4adb68d |
tools/mgmt-tester: Update set_hs tests to require SSP to be enabled first |
Johan Hedberg |
12 years ago |
1 file, +6, -6 |
| d2ed418d |
monitor: Add ATT Prepare Write Response decoding |
Johan Hedberg |
12 years ago |
1 file, +9, -1 |
| 11ec2d24 |
monitor: Add ATT Prepare Write Request decoding |
Johan Hedberg |
12 years ago |
1 file, +9, -1 |
| 525cad73 |
monitor: Add ATT Execute Write Request decoding |
Johan Hedberg |
12 years ago |
1 file, +22, -1 |
| eca8b2d2 |
monitor: Add ATT Read Multiple Request decoding |
Johan Hedberg |
12 years ago |
1 file, +13, -1 |
| 0b24507b |
emulator: Fix AMP emulation build error
This fix build with GCC 4.6.3.
CC emulator/amp.o
emulator/amp.c: In function ‘send_packet’:
emulator/amp.c:172:7: error: ignoring return value of ‘write’,
declared with attribute warn_unused_result [-Werror=unused-result]
cc1: all warnings being treated as errors
make[1]: *** [emulator/amp.o] Error |
Szymon Janc |
12 years ago |
1 file, +2, -1 |
| 1cbb3e88 |
monitor: Add ATT over BR/EDR decoding support |
Johan Hedberg |
12 years ago |
1 file, +3, -0 |
| 855f18f7 |
lib: Update company identifiers |
Marcel Holtmann |
12 years ago |
1 file, +7, -1 |
| 35b0d0c7 |
monitor: Decode Apple identifier and iBeacon data structures |
Marcel Holtmann |
12 years ago |
1 file, +62, -2 |
| 902f14d1 |
Don't register Device ID record on sdp server start
This makes SDP code no longer depends on main_opts. DID record is now
registered from main() after sdp server was started. This is OK since
mainloop is not yet running and record will be present when first
request comes. |
Szymon Janc |
12 years ago |
2 files, +4, -5 |
| 59e9614d |
avdtp: Fix minor coding style issue |
Johan Hedberg |
12 years ago |
1 file, +1, -2 |
| 6db3b6fa |
avdtp: Remove not needed forward declaration
auth_cb function is not used before definition so no need to forward
declare it. |
Szymon Janc |
12 years ago |
1 file, +0, -1 |
| bce1fb43 |
avdtp: Move connection_lost function to avoid forward declaration |
Szymon Janc |
12 years ago |
1 file, +26, -27 |
| b5b714be |
avdtp: Rename avdtp_callbacks to state_callbacks
This better describes what list contains. |
Szymon Janc |
12 years ago |
1 file, +6, -5 |
| 53434a19 |
avdtp: Remove unused avdtp_stream_setup_active function
It is not used anywhere and can be removed. |
Szymon Janc |
12 years ago |
2 files, +0, -6 |
| b2e8821f |
avdtp: Remove unused avdtp_is_connected function
It is not used anywhere and can be removed. |
Szymon Janc |
12 years ago |
2 files, +0, -21 |
| e9e77e0b |
avdtp: Fix typos in errors from avdtp_strerror |
Szymon Janc |
12 years ago |
1 file, +2, -2 |
| f5e6af18 |
monitor: Fix integer overruns with EIR parsing
For tracking how much has been parsed of the EIR we must use a greater
than uint8 integer to avoid having a large (e.g. 255) field length cause
our counter to wrap around and start from zero. |
Johan Hedberg |
12 years ago |
1 file, +1, -1 |
| f7773c72 |
monitor: Fix zero-length field handling in print_hex_field |
Johan Hedberg |
12 years ago |
1 file, +2, -0 |
| 31324f41 |
doc: Mention that High Speed support depends on Secure Simple Pairing |
Marcel Holtmann |
12 years ago |
1 file, +8, -2 |
| e6e6e843 |
emulator: Add support for AMP controller emulation |
Marcel Holtmann |
12 years ago |
4 files, +1112, -4 |
| 6b8ffc30 |
tools: Add test utility for AMP physical connection setup |
Marcel Holtmann |
12 years ago |
3 files, +671, -3 |
| 358614b0 |
tools/hcidump: Fix parsing for service class 0x110f
According to assigned number 0x110f is AV Remote Controller not VCP. |
Luiz Augusto von Dentz |
12 years ago |
2 files, +2, -4 |
| 998be1ac |
tools/sdptool: Fix parsing for service class 0x110f
According to assigned number 0x110f is AV Remote Controller not VCP. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +1, -2 |
| b7cd025e |
profiles/AVRCP: Add AV Remote Controller service class id to CT
Both AV Remote and AV Remote Controller service classes are mandatory
by AVRCP CT role from 1.3 onwards. Also the assigned numbers page mention
that AV Remote must appear before AV Remote Controller:
"The AVRCP specification v1.3 and later require that 0x110E also be
included in the ServiceClassIDList before 0x110F for backwards
compatibility." |
Luiz Augusto von Dentz |
12 years ago |
1 file, +3, -1 |