Commits

Commit Message Author Age Changes
403f2886 android/gatt: Add support for client listen command This patch adds support for gatt client listen which start/stop advertising Lukasz Rymanowski 11 years ago 1 file, +132, -2
5563af9e android/bluetooth: Expose API to set advertising With this patch android GAP expose start/stop advertising API Lukasz Rymanowski 11 years ago 2 files, +45, -0
cc708c87 android/gatt: Minor whitespace fixes Jakub Tyszkowski 11 years ago 1 file, +4, -3
b3085ec3 android/gatt: Fix caching included services descriptors Jakub Tyszkowski 11 years ago 1 file, +1, -1
f7feed60 android/gatt: Add Server's delete_service stub Jakub Tyszkowski 11 years ago 1 file, +19, -1
f0ef8141 android/gatt: Add Server's stop_service stub Jakub Tyszkowski 11 years ago 1 file, +19, -1
3e11d5ec android/gatt: Add Server's start_service stub Jakub Tyszkowski 11 years ago 1 file, +20, -1
b0ac004a android/gatt: Add Server's add_descriptor stub Jakub Tyszkowski 11 years ago 1 file, +24, -1
ae69302c android/gatt: Add Server's add_characteristic stub Jakub Tyszkowski 11 years ago 1 file, +25, -2
cef3f185 android/gatt: Add Server's add_included_service stub Jakub Tyszkowski 11 years ago 1 file, +19, -1
2c7460ce android/gatt: Add Server's add_service stub Jakub Tyszkowski 11 years ago 1 file, +24, -1
7557c808 android/gatt: Add find_server_by_id helper This adds helper function analogously to find_client_by_id. Jakub Tyszkowski 11 years ago 1 file, +6, -2
6ad13748 tools/hciattach: Fix missing includes According to writev manual one should include <sys/uio.h> to use it. This fix following warnings with bionic: external/bluetooth/bluez/tools/hciattach_tialt.c: In function 'texas_load_firmware': external/bluetooth/bluez/tools/hciattach_tialt.c:142:4: warning: implicit declaration of function 'writev' [-Wimplicit-function-declaration] target thumb C: hciattach <= external/bluetooth/bluez/tools/ hciattach_ath3k.c target thumb C: hciattach <= external/bluetooth/bluez/tools/ hciattach_qualcomm.c external/bluetooth/bluez/tools/hciattach_qualcomm.c: In function 'qualcomm_load_firmware': external/bluetooth/bluez/tools/hciattach_qualcomm.c:147:4: warning: implicit declaration of function 'writev' [-Wimplicit-function-declaration] Szymon Janc 11 years ago 2 files, +2, -0
a8e5fe8a android/avrcp-lib: Fix NULL pointer dereference In case parse_pdu fails it returns NULL so pdu must be set with operands even though it contain an invalid PDU its buffer can be used. Luiz Augusto von Dentz 11 years ago 1 file, +1, -0
46261a03 android/avrcp-lib: Make avrcp_control_handler internal This is no longer needed in the by the public API. Luiz Augusto von Dentz 11 years ago 2 files, +8, -8
87f8d3fd android/avctp: Make avctp_send_vendor to take struct iovec This makes it possible to pass data without copying. Luiz Augusto von Dentz 11 years ago 4 files, +113, -81
8679e400 android/avctp: Make avctp_send_vendor_req to take struct iovec This makes it possible to pass data without copying. Luiz Augusto von Dentz 11 years ago 4 files, +114, -92
14e46aae android/avctp: Make avctp_send_browsing_req to take struct iovec This makes it possible to pass data without copying. Luiz Augusto von Dentz 11 years ago 3 files, +54, -44
c766802b android/avrcp-lib: Make avrcp_send_req to take struct iovec This makes it possible to pass data without copying. Luiz Augusto von Dentz 11 years ago 1 file, +88, -38
aacb8f09 android/avrcp-lib: Add checks in avrcp_get_item_attributes This adds checks for number of attributes is within the valid range and if the data pointer is valid. Luiz Augusto von Dentz 11 years ago 1 file, +8, -1
f06982ab android/avrcp-lib: Make avrcp_send_browsing_req to take struct iovec This makes it possible to pass data without copying. Luiz Augusto von Dentz 11 years ago 1 file, +58, -27
afc4f181 android/gatt: Daemon accepts only default write type With this patch daemon accepts only default write type. For other types it correctly replies with HAL_STATUS_UNSUPPORTED Lukasz Rymanowski 11 years ago 1 file, +37, -11
fca365f5 android/hal-msg: Add defines for GATT write types Szymon Janc 11 years ago 1 file, +5, -0
bc556d73 android/hal-ipc-api: Add valid write types for GATT Szymon Janc 11 years ago 1 file, +10, -0
466f5946 android/gatt: Fix error msg Lukasz Rymanowski 11 years ago 1 file, +1, -1
8bd948a7 android/gatt: Add helper to create characteristic op data This patch adds helper to create data needed for read/write characteristic Lukasz Rymanowski 11 years ago 1 file, +23, -12
d5be9ad6 android/gatt: Avoid double helper struct for read/write characteristic This patch combine two helper structs for operations on characteristics to one. Also use pointers inside this struct instread of raw data. Lukasz Rymanowski 11 years ago 1 file, +22, -29
39a3e9c1 android/gatt: Add helper to create descr_data Lukasz Rymanowski 11 years ago 1 file, +25, -14
b0780fde android/client: Add support for client->listen Lukasz Rymanowski 11 years ago 1 file, +31, -1
80595aed android/pts: Bump PTS version for GATT Sebastian Chlad 11 years ago 2 files, +3, -3
7d729d27 android/gatt: Fix memory leak It happens on daemon exit when connection is up. 295 (104 direct, 191 indirect) bytes in 1 blocks are definitely lost in loss record 140 of 148 ==25132== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==25132== by 0x4E7FBBD: g_try_malloc0 (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4) ==25132== by 0x437BF9: g_attrib_new (gattrib.c:495) ==25132== by 0x42F45F: connect_cb (gatt.c:845) ==25132== by 0x439DBA: connect_cb (btio.c:232) ==25132== by 0x4E79D12: g_main_context_dispatch (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4) ==25132== by 0x4E7A05F: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4) ==25132== by 0x4E7A459: g_main_loop_run (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4) ==25132== by 0x4044FD: main (main.c:531) This patch moves function connection_cleanup up in the file as this is needed by destroy_device Lukasz Rymanowski 11 years ago 1 file, +24, -21
8374ac1f android/pts: Update PICS, PIXIT and tests for GAP This updates settings to PTS 5.1 and adjust PICS to enable some supported features. Szymon Janc 11 years ago 3 files, +230, -167
945083cf android/tester: Device properties can come in any order There is no point in forcing specific order of device properties. Szymon Janc 11 years ago 1 file, +0, -6
f4465569 android/tester: Adapter properties can come in any order There is no point in forcing specific order of adapter properties (with exception of address being first). Szymon Janc 11 years ago 1 file, +6, -6
c6438f2a android/bluetooth: Remove debug log from create_device_from_info create_device_from_info always calls create_device which already prints created device address. Szymon Janc 11 years ago 1 file, +0, -2
6757bbdf android/bluetooth: Send device properties in single notification This reduces number of IPC calls while enabling Bluetooth. Szymon Janc 11 years ago 1 file, +54, -10
dfa9b2df android/bluetooth: Send adapter properties in single notification This reduces number of IPC calls while enabling Bluetooth. Szymon Janc 11 years ago 1 file, +68, -10
02225cd8 android/bluetooth: Fix passing NULL pointer to memcpy It is possible to have property with empty value (ie. bonded devices) so check len before calling memcpy. Szymon Janc 11 years ago 1 file, +3, -1
e2b21061 android/gatt: Cleanup device lists With this patch, devices from conn_list and conn_wait_queue which are without a client e.g. because client has unregister without any cleaning, are move to the disconnected device queue. Also connected device without clients are disconnected. And if there is no dev waiting for connect we do stop scan. Lukasz Rymanowski 11 years ago 1 file, +47, -4
ef69a126 android/gatt: Move functions up in the file Move send_client_disconnect_notify connection_cleanup and put_device_on_disc_list up in the file This is needed by following patch Lukasz Rymanowski 11 years ago 1 file, +42, -42
685c6ace android/gatt: Fix handling client unregister When client do unregister we need to make sure that there is no connected device or outstanding connection request for this client. Lukasz Rymanowski 11 years ago 1 file, +26, -0
b98a611a android/gatt: Refactor send_client_connect_notify Create helper function to send connect notification, similar to the send_client_disconnect_notify Lukasz Rymanowski 11 years ago 1 file, +30, -21
d854659e Release 5.18 Marcel Holtmann 11 years ago 2 files, +7, -1
faaa99b3 doc: Update test coverage numbers Marcel Holtmann 11 years ago 1 file, +2, -2
1fa17384 lib: Update company identifiers Marcel Holtmann 11 years ago 1 file, +15, -1
a9c11511 android/client: Fix parameter completion for gatt This fixes missing service handle in parameters completion for gatt server add_descriptor method. Jakub Tyszkowski 11 years ago 1 file, +2, -1
91e294f8 android/gatt: Set proper primary flag for sending characteristics Fix sending included service's characteristics. Jakub Tyszkowski 11 years ago 1 file, +1, -2
23d1c072 android/gatt: Remove not needed empty line and redundand tab Grzegorz Kolodziejczyk 11 years ago 1 file, +1, -2
4a1da92a android/gatt: Fix for scan non discoverable devices With this patch Android framework will not be notified with non-discoverable LE devices. Lukasz Rymanowski 11 years ago 3 files, +12, -5
f9be8643 android/gatt: Remove double variable check Marcin Kraglak 11 years ago 1 file, +3, -4
Previous Next