Commits

Commit Message Author Age Changes
a34cba59 doc/test-coverage: Update mgmt-tester test count Johan Hedberg 11 years ago 1 file, +2, -2
0033c862 mgmt-tester: Add post-power-on Remove Device tests Johan Hedberg 11 years ago 1 file, +40, -2
9bd2cfba mgmt-tester: Remove redundant setup_settings for Remove Device tests Johan Hedberg 11 years ago 1 file, +0, -2
721e40e2 android/gatt: Fix embedded services not responsing to some requests For application attributes this is triggered when application sends response but for embedded ones we need to trigger this manually. As in prepare and execute write requests handlers, we don't know if it is embedded or application attribute so we should try sending processed request responses if there are any. Jakub Tyszkowski 11 years ago 1 file, +6, -0
1ed53a8c android/gatt: Remove discoverable flag from device found callback Android is interested in all of the Scan Responses. Also the ones which are set as non discoverable. It is in order to support Observer\Broadcaster mode. Therefore discoverable flag can be removed from the device found callback. This patch does it. Lukasz Rymanowski 11 years ago 3 files, +4, -9
1dd0a921 android/pts: Re-test of MPS on PTS 6.0 Sebastian Chlad 11 years ago 3 files, +10, -7
3220fb87 android/pts: MAP testing against PTS 6.0 Sebastian Chlad 11 years ago 3 files, +7, -7
10698ea8 emulator: Store own and peer address information for LE connections Marcel Holtmann 11 years ago 1 file, +13, -0
02ae811b tools: Fix hcitool build on Android target thumb C: hcitool <= external/bluetooth/bluez/tools/hcitool.c external/bluetooth/bluez/tools/hcitool.c: In function 'str2buf': external/bluetooth/bluez/tools/hcitool.c:83:2: warning: implicit declaration of function 'MIN' [-Wimplicit-function-declaration] target Executable: hcitool (out/target/product/mako/obj/EXECUTABLES/ hcitool_intermediates/LINKED/hcitool) external/bluetooth/bluez/tools/hcitool.c:83: error: undefined reference to 'MIN' collect2: error: ld returned 1 exit status Szymon Janc 11 years ago 1 file, +4, -0
7c7ca551 monitor: Add support for handling the new address types Marcel Holtmann 11 years ago 1 file, +56, -8
df11342e emulator: Add controller based address resolution for advertising reports Marcel Holtmann 11 years ago 1 file, +57, -8
907c8dac emulator: Fix own address type handling for advertising parameters Marcel Holtmann 11 years ago 1 file, +8, -2
7763bea0 doc/test-coverage: Update mgmt-tester test count Johan Hedberg 11 years ago 1 file, +2, -2
1153d409 mgmt-tester: Add simple SMP over BR/EDR test case Johan Hedberg 11 years ago 1 file, +31, -0
9edcffac emulator: Add SMP over BR/EDR support Johan Hedberg 11 years ago 3 files, +105, -43
297330b9 core: profile: Add accept function This patch introduces the "accept" function to btd_profile. The purpose of this function is to notify a profile when a btd_service is ready to interact with and will be called by btd_device when a bt_gatt_client becomes ready (MTU exchange and discovery has been completed). This is initially meant to be optional for non-GATT based profiles but could be generalized for them in the future. Arman Uguray 11 years ago 3 files, +22, -0
9eaab34a core: service: Add start & end handle fields When GATT services are discovered, added, and removed, profiles will be notified using btd_profile device_probe and device_remove functions. Since a single profile may handle multiple services from the same device, it is useful to distinguish each btd_service by its service handle range. This patch adds the start_handle and end_handle fields to btd_service and an accessor for getting them, which reports failure if the service was initialized without handles. Arman Uguray 11 years ago 2 files, +45, -0
06d8b534 shared/gatt-client: Guard against invalid access This patch adds a ref-count based guard around call sites that invoke a callback set by the upper-layer, to prevent memory errors after the callback returns. Arman Uguray 11 years ago 1 file, +21, -13
dd257e98 shared/att: Guard against invalid ref in callbacks This patch adds a ref-count guard around incoming PDU handling so that calling bt_att_unref from a callback doesn't free the bt_att instance. Arman Uguray 11 years ago 1 file, +5, -0
348f12a2 emulator: Fix Write_LE_Host_Supported command sending Johan Hedberg 11 years ago 1 file, +7, -1
ca95433e emulator: Improve L2CAP info request support in bthost Johan Hedberg 11 years ago 1 file, +36, -5
f68a9934 emulator: Track LE enable status in bthost Johan Hedberg 11 years ago 1 file, +2, -0
4975b8d1 monitor: Extend bt_l2cap_pdu_info_rsp with optional data parameter Johan Hedberg 11 years ago 1 file, +1, -0
cc8c8bcc mgmt-tester: Add test paramter to enable client (bthost) LE support Johan Hedberg 11 years ago 1 file, +4, -0
a5a7404d mgmt-tester: Split SC key expectation from enabling SC Johan Hedberg 11 years ago 1 file, +11, -8
d335554c emulator: Avoid 'unknown command' for user confirm req neg reply Johan Hedberg 11 years ago 1 file, +2, -0
905fe3f8 emulator: Provide API to enable LE host support Johan Hedberg 11 years ago 2 files, +9, -0
2d66b6f8 emulator: Avoid 'unknown command' for HCI_Write_Secure_Conn_Support completion Johan Hedberg 11 years ago 1 file, +2, -0
f9175039 emulator: Enable the LE feature bit for supporting LL Privacy Marcel Holtmann 11 years ago 1 file, +7, -7
4a3f1493 tools: Add helper commands for LE resolving list to hcitool Marcel Holtmann 11 years ago 1 file, +309, -1
e48a1489 lib: Add definitions and functions for handling LE resolving list Marcel Holtmann 11 years ago 3 files, +177, -0
876d4886 tools: Fix missing address type conversion for IRK loading Marcel Holtmann 11 years ago 1 file, +12, -1
19b0bc8c tools: Add support for loading local IRKs from other controllers Marcel Holtmann 11 years ago 1 file, +101, -7
26ad1338 tools: Add support for providing local IRK when enabling privacy Marcel Holtmann 11 years ago 1 file, +40, -34
28cb2379 shared/att: Simplify bt_att_new This split bt_att_unref into bt_att_free so it can be used within bt_att_new when freeing the data. Luiz Augusto von Dentz 11 years ago 1 file, +29, -31
0b1a5d10 shared/att: Remove not needed NULL assignments There is no need to NULL memebers in bt_att_unref casue att if freed at the end of function. Szymon Janc 11 years ago 1 file, +0, -6
cab79780 tools: Add support for using static address for LE connections Marcel Holtmann 11 years ago 1 file, +23, -12
3186b733 shared/gatt-db: manual iteration when appropriate Uses queue_get_entries where it is appopriate to do so: focus on places where there are an unnecessary amount of extra iteration. Michael Janssen 11 years ago 1 file, +59, -90
db725877 monitor/keys: use queue_find over queue_foreach Use queue_find instead of visiting all queue items. Michael Janssen 11 years ago 1 file, +10, -27
87a75236 android/health: improve search efficiency Iterate through the entries manually to return early for efficiency. Michael Janssen 11 years ago 1 file, +64, -89
a0c73d7e shared/queue: clarify queue_match_func_t arguments The queue_match_func_t just looking at the API, it's easy to assume that both arguments come from internal, while one is provided by the user. Michael Janssen 11 years ago 1 file, +1, -1
9e1078df shared/queue: Add queue_get_entries Function which is useful for iterating through entries with complex search parameters and terminating the searches early. Michael Janssen 11 years ago 2 files, +16, -6
690f751b monitor/l2cap: Fix buffer overflow issue String copy function overflows destination buffer. strcat(str, "LinkKey "); ^~~~~~~~~~~~~~~~~~~~~~~ Gowtham Anandha Babu 11 years ago 1 file, +1, -1
7144164c build: Fix enabling coverage Since MISC_FLAGS now checks for enable_coverage to add --coverage flag the check for lcov needs happen before before it otherwise make coverage doesn't work. Luiz Augusto von Dentz 11 years ago 1 file, +5, -5
6f42c2c6 shared/gatt-client: Use queue_remove_if This make use of queue_remove_if instead of queue_find + queue_remove whenever possible. Luiz Augusto von Dentz 11 years ago 1 file, +1, -2
cd97753b shared/gatt-client: Remove removed flag Luiz Augusto von Dentz 11 years ago 1 file, +1, -5
8915343e shared/att: Use queue_remove_if This make use of queue_remove_if instead of queue_find + queue_remove whenever possible. Luiz Augusto von Dentz 11 years ago 1 file, +2, -4
285606e1 monitor: Show difference between Security Manager for LE and BR/EDR Marcel Holtmann 11 years ago 1 file, +1, -1
c60914a2 shared/gatt-client: Fix memory leak When parsing descriptors the code sometimes skips if the handle is outside the characteristic thus causing the data to leak: 224 bytes in 8 blocks are definitely lost in loss record 218 of 249 at 0x4C291D4: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x485734: discover_chrcs_cb (gatt-client.c:677) by 0x489B7B: discover_chrcs_cb (gatt-helpers.c:1227) by 0x4840F1: can_read_data (att.c:600) by 0x488ED4: watch_callback (io-glib.c:170) by 0x4E7A2A5: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x4E7A627: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x4E7AA39: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x40A992: main (main.c:631) Luiz Augusto von Dentz 11 years ago 1 file, +3, -1
c60d76b6 core: Use gatt_db service callbacks This patch integrates the gatt_db service callbacks into btd_device. Based on the event, the device objects UUIDs list is updated and profiles are probed for new services. There is currently no mechanism to tell a profile that a service has been removed, however profiles can use the gatt_db callbacks to make necessary updates in the future. Arman Uguray 11 years ago 1 file, +116, -26
Previous Next