| 87b0ec33 |
android/bluetooth: Add stubs for set device property command
This adds per property stubs. |
Szymon Janc |
12 years ago |
1 file, +34, -2 |
| 01376acf |
android/bluetooth: Add stubs for get device properties command
This adds per property stubs. |
Szymon Janc |
12 years ago |
1 file, +119, -2 |
| fffc2b05 |
android/bluetooth: Refactor send_remote_device_name_prop
Rename send_remote_device_name_prop to get_device_name and make it
accept struct device as parameter. Also return HAL status code.
This will allow to use this function also in get device property
command handler. |
Szymon Janc |
12 years ago |
1 file, +5, -6 |
| 3effdfbd |
android/bluetooth: Fix coding style issue in set_device_bond_state |
Szymon Janc |
12 years ago |
1 file, +2, -1 |
| 7ad67aed |
android/bluetooth: Use single list for device caching
This makes code much simpler and easier to follow. It is also
a preparation for supporting remote device properties getting, setting
and storing. |
Szymon Janc |
12 years ago |
1 file, +67, -93 |
| e634c06c |
android/bluetooth: Rename functions to match adapter properties names
This match adapter properties handling functions with properties names.
Will make code easier to understand and avoid clashes with remote
device properties functions. |
Szymon Janc |
12 years ago |
1 file, +36, -36 |
| 8a5bc925 |
bnep: Remove unneeded assignment |
Andrei Emeltchenko |
12 years ago |
1 file, +0, -1 |
| dff1938d |
android/socket: Use getsockopt to set buffer
Use the RFCOMM socket buffer size to allocate the intermediate buffer used
for copying data between sockets to minimize context switches. |
Andrei Emeltchenko |
12 years ago |
1 file, +58, -18 |
| df71eaca |
Release 5.12 |
Marcel Holtmann |
12 years ago |
2 files, +12, -1 |
| 905935a1 |
lib: Add version information for Bluetooth 4.1 |
Marcel Holtmann |
12 years ago |
1 file, +1, -0 |
| 4085678f |
build: Update library version |
Marcel Holtmann |
12 years ago |
1 file, +1, -1 |
| 2b343478 |
lib: Update company identifiers |
Marcel Holtmann |
12 years ago |
1 file, +12, -0 |
| ff0abc45 |
core: Fix leaking disconnect message
If a disconnect message is pending return an error since currently the
code cannot process it in parallel. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +3, -0 |
| d7887a4a |
core: Fix not replying to DisconnectProfile
btd_service_disconnect may cause a service to disconnect before returning
which cause dev->disconnect to be set after device_profile_disconnected. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +6, -3 |
| e6b5ba49 |
input: Fix crash when SDP record isn't available
On startup, if the SDP cache has been removed but the pairing
information is still present, we'd crash trying to access inside a NULL
record struct. |
Bastien Nocera |
12 years ago |
1 file, +3, -0 |
| 7560b22e |
core: Remove useless eir parsing function return value
Currently eir_parse always return 0 but it is checked throughout the code
(in android/bluetooth code as well in src/adapteri, etc) for return value
(err < 0) which never happens. Make function eir_parse return void. This
fixes warnings from static analyzer tools. |
Andrei Emeltchenko |
12 years ago |
5 files, +8, -24 |
| 685af999 |
core: Remove not needed struct adapter_keys
This is a leftover from using old storage format. |
Szymon Janc |
12 years ago |
1 file, +8, -13 |
| cbdeaef9 |
core: Fix crash due to agent callback freeing the agent
Similar fix was provided for simple_agent_reply in a2f5d438 but missed
pincode_reply case.
Fix following:
src/agent.c:agent_disconnect() Agent :1.48 disconnected
src/agent.c:set_default_agent() Default agent cleared
src/agent.c:agent_destroy() agent :1.48
src/agent.c:agent_unref() 0x4701c68: ref=1
Agent /org/bluez/agent replied with an error:
org.freedesktop.DBus.Error.NoReply, Message did not receive a reply
(timeout by message bus)
src/adapter.c:btd_adapter_pincode_reply() hci0 addr 6C:0E:0D:DB:D1:16
pinlen 0
src/agent.c:agent_unref() 0x4701c68: ref=0
src/adapter.c:btd_adapter_pincode_reply() hci0 addr 6C:0E:0D:DB:D1:16
pinlen 0
src/agent.c:agent_unref() 0x4701c68: ref=-1
src/adapter.c:btd_adapter_pincode_reply() hci0 addr 6C:0E:0D:DB:D1:16
pinlen 0
src/agent.c:agent_unref() 0x4701c68: ref=-2
... |
Szymon Janc |
12 years ago |
1 file, +4, -0 |
| 9bf453f9 |
tools/obex-server-tool: Fix checking incorrect error code
chdir return -1 if error and 0 in success. |
Andrei Emeltchenko |
12 years ago |
1 file, +1, -1 |
| 17c9c207 |
android: Fix missing failure check in ipc_init
If connecting command socket failed daemon should be terminated. |
Szymon Janc |
12 years ago |
1 file, +2, -0 |
| 7567b13e |
monitor: Add support for slave broadcast commands and events |
Marcel Holtmann |
12 years ago |
2 files, +305, -38 |
| dd90544d |
android/pan: Move logic from HAL to daemon
HAL should contain as little logic as possible, but we should be doing
these checks on daemon side anyway. |
Jakub Tyszkowski |
12 years ago |
2 files, +19, -14 |
| 314f4ee3 |
android/pan: Move logic from HAL layer to daemon
HAL should contain as little logic as possible, but we should be doing
these checks on daemon side anyway. |
Jakub Tyszkowski |
12 years ago |
2 files, +14, -5 |
| 2a4b5e91 |
android/a2dp: Unregister ipc handlers if init fails
Add ipc handlers cleanup if init fails. Send proper status if
already initialized. |
Jakub Tyszkowski |
12 years ago |
1 file, +12, -1 |
| ddbd2e9e |
android/pan: Unregister ipc handlers if init fails
Add ipc handlers cleanup if init fails. Send proper status if
already initialized. |
Jakub Tyszkowski |
12 years ago |
1 file, +12, -1 |
| 83d88beb |
android/hidhost: Unregister ipc handlers if init fails
Add ipc handlers cleanup if init fails. Send proper status if
already initialized. |
Jakub Tyszkowski |
12 years ago |
1 file, +12, -1 |
| e57b702e |
android: Fix sending status on bluetooth init if already initialized
We should be sending BT_STATUS_DONE when calling init on already
initialized interface like Bluedroid does. This indicates that previosly
registered callbacks are still registered, not those passed with second
init call. |
Jakub Tyszkowski |
12 years ago |
1 file, +1, -1 |
| ce63a8eb |
android: Update haltest tool entry in README
Update informations about 'adapter' interface being renamed to 'bluetooth' and
init being called on haltest startup by default. |
Jakub Tyszkowski |
12 years ago |
1 file, +9, -6 |
| cb284a7a |
android/doc: Add socket-api.txt document
Document describes how socket HAL is working. |
Andrei Emeltchenko |
12 years ago |
1 file, +61, -0 |
| 22d3278a |
android/pan: Fix no return on error path
This fixes possible crash in case connect fails. |
Andrei Emeltchenko |
12 years ago |
1 file, +8, -5 |
| 64f5cc17 |
android/pan: Remove unneeded NULL assignment |
Andrei Emeltchenko |
12 years ago |
1 file, +0, -1 |
| 6397489b |
android/a2dp: Fix possible NULL dereference
Since a2dp_record may return NULL, check return value. This
silences static analysers tools. |
Andrei Emeltchenko |
12 years ago |
1 file, +13, -5 |
| 168478c0 |
device: When the Class changes, Icon might too
Send out a PropertyChanged signal when the Class changes for
Icon also changing, as it's likely that the Icon needs to be
refetched.
Tested with the PS3 Sixaxis controller connecting the first time
around, as it would not budge from not having any icons until the
client was restarted. |
Bastien Nocera |
12 years ago |
1 file, +2, -0 |
| c2403e9e |
monitor: Add support connectionless slave broadcast data command |
Marcel Holtmann |
12 years ago |
2 files, +57, -1 |
| bbbadc46 |
monitor: Add missing HCI error code 0x40 |
Marcel Holtmann |
12 years ago |
1 file, +2, -0 |
| e5228553 |
monitor: Highlight unknown HCI error codes |
Marcel Holtmann |
12 years ago |
1 file, +9, -3 |
| aff961c3 |
monitor: Add support for decoding LT_ADDR commands |
Marcel Holtmann |
12 years ago |
2 files, +59, -2 |
| 043a0cbd |
monitor: Add decoding for write sync train parameters command |
Marcel Holtmann |
12 years ago |
2 files, +34, -1 |
| cb1326cd |
monitor: Decode BR/EDR Secure Connections commands and events |
Marcel Holtmann |
12 years ago |
1 file, +121, -8 |
| 312c8f49 |
monitor: Decode low duty cycle advertising parameters |
Marcel Holtmann |
12 years ago |
1 file, +4, -1 |
| fd8d7370 |
monitor: Update BR/EDR and LE command list |
Marcel Holtmann |
12 years ago |
1 file, +13, -0 |
| d48a1939 |
monitor: Update BR/EDR and LE event list |
Marcel Holtmann |
12 years ago |
1 file, +11, -0 |
| a90d0c23 |
monitor: Update LE features and event mask decoding |
Marcel Holtmann |
12 years ago |
1 file, +9, -5 |
| d344892a |
monitor: Update BR/EDR features and event mask decoding |
Marcel Holtmann |
12 years ago |
1 file, +7, -0 |
| 8d4861ca |
monitor: Add difference between P-192 and P-256 keys |
Marcel Holtmann |
12 years ago |
1 file, +18, -3 |
| d72b948c |
monitor: Fix HCI command naming from Bluetooth 4.1 specification |
Marcel Holtmann |
12 years ago |
2 files, +13, -13 |
| d5f14f8d |
monitor: Add support for handling LE Ping feature |
Marcel Holtmann |
12 years ago |
2 files, +3, -0 |
| c4e6bcbe |
monitor: Add definitions for BR/EDR Secure Connections |
Marcel Holtmann |
12 years ago |
1 file, +54, -0 |
| 99f70b8a |
android/socket: Cleanup sockets on unregister
This cleans up rfsock structures closing all sockets and making general
cleanup for servers and for connections. This will be called form socket
unregister. |
Andrei Emeltchenko |
12 years ago |
1 file, +6, -1 |
| eea8535f |
unit/AVDTP: Add /TP/SIG/SMG/BI-36-C test
Verify that the IUT (INT) is able to ignore a reserved capability in the
GetAllCapabilities response. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +8, -0 |