Commits

Commit Message Author Age Changes
4cb61514 test: improvements to example-advertisement Improves the example-advertisement script in two ways: It uses 16-bit service UUIDs so that it does not overflow the Advertisement Data It turns the adapter's power on so that it works out of the box. Michael Janssen 10 years ago 1 file, +8, -4
e2cad2d1 core/advertising: Add and Remove AD using MGMT Updates the advertising manager to add and remove the LE Advertising Data using MGMT interface commands. Michael Janssen 10 years ago 1 file, +106, -16
892fe97f shared/ad: implement bt_ad_generate Implements the function to provide a raw version of the advertising data packet for passing to the kernel. Michael Janssen 10 years ago 2 files, +242, -4
0dd8773f Update TODO for LE Advertising Michael Janssen 10 years ago 1 file, +10, -10
e3b1d2fa core/advertising: Parse ServiceData Parse the ServiceData property of LEAdvertisement1 Michael Janssen 10 years ago 1 file, +60, -0
afc287cc core/advertising: Parse ManufacturerSpecificData Parse the ManufacturerSpecificData property of the LEAdvertisement1 Michael Janssen 10 years ago 1 file, +57, -0
9b0922de core/advertising: Parse SolicitUUIDs Parse the SolicitUUIDs property of the LEAdvertisement1 object. Michael Janssen 10 years ago 1 file, +44, -0
815d3541 core/advertising: Parse ServiceUUIDs Parse the ServiceUUIDs property of the LEAdvertisement1 object. Michael Janssen 10 years ago 1 file, +45, -1
0f92fc81 core/advertising: use bt_ad Start using the newly introduced struct bt_ad API. Michael Janssen 10 years ago 1 file, +9, -2
729e9c03 shared: add bt_ad structure The bt_ad structure provides an abstraction for easy translation of defined Advertisement Data fields into the resulting raw bytes needed by the Bluetooth HCI LE Set Advertising Data command. Michael Janssen 10 years ago 3 files, +424, -0
d5f5063d tools/btmgmt: Add SSP Hash & Rand decoding to local OOB data Johan Hedberg 10 years ago 1 file, +16, -0
148c7b2e android/build: Fix btmgmt build target Executable: btmgmt (out/target/product/mako/obj/EXECUTABLES/btmgmt_intermediates/LINKED/btmgmt) external/bluetooth/bluez/tools/btmgmt.c:1477: error: undefined reference to 'hci_bustostr' collect2: error: ld returned 1 exit status Mariusz Skamra 10 years ago 1 file, +1, -0
548c6edf shared/gatt-client: Expose gatt_db This patch adds the bt_gatt_client_get_db function, which allows to get a reference to db from client structure. This is useful when as a client we need to have an access db, to explore some attributes. Mariusz Skamra 10 years ago 2 files, +9, -0
bb13efee doc: Mention the supported Core specification version 4.2 Marcel Holtmann 10 years ago 1 file, +5, -4
a0a03828 tools: Add fallback if KVM support is not available Marcel Holtmann 10 years ago 1 file, +13, -1
96b4ad68 tools: Set environment variable for D-Bus system bus address Marcel Holtmann 10 years ago 1 file, +3, -2
27dbe4dc tools: Enabled the UART vendor detection if possible Marcel Holtmann 10 years ago 1 file, +19, -7
9c0d8769 tools: Update protocol and flags constants from UART driver Marcel Holtmann 10 years ago 1 file, +5, -0
7d103ce1 monitor: Add support for decoding the return link keys event Marcel Holtmann 10 years ago 2 files, +11, -3
0d9afd0f tools: Add bnep-tester execution to overall test list Marcel Holtmann 10 years ago 1 file, +2, -0
913e56dc tools: Add skeleton for BNEP kernel testing utility Marcel Holtmann 10 years ago 4 files, +321, -2
6be2f08c tools: Include headers with lib/ prefix instead of bluetooth/ prefix Marcel Holtmann 10 years ago 2 files, +5, -5
b29bcb6e doc: Add minimal sample kernel config for test-runner tool Marcel Holtmann 10 years ago 2 files, +44, -1
b8b4a516 doc: Remote empty line at the beginning of the document Marcel Holtmann 10 years ago 1 file, +0, -1
24e70fc0 tools: Fix add advertising test case for TX power flag Marcel Holtmann 10 years ago 1 file, +2, -2
7f631a1e tools: Print bus information from extended index list Marcel Holtmann 10 years ago 1 file, +9, -4
8c1402a8 tools: Add support for adding serial device passthrough Marcel Holtmann 10 years ago 1 file, +147, -12
03c47650 tools: Handle the process termination status with more details Marcel Holtmann 10 years ago 1 file, +12, -3
e03edc28 core: Use bool for __terminated variable Marcel Holtmann 10 years ago 1 file, +3, -3
9fb60a29 client: Use bool for __terminated variable Marcel Holtmann 10 years ago 1 file, +3, -3
83f34df7 shared: Use bool for __terminated variable Marcel Holtmann 10 years ago 1 file, +3, -3
2ca2bdce tools: Fix build-error on 32-bit systems The %zX format specifier for st_size causes the following warning: tools/create-image.c:120:5: error: format ‘%zX’ expects argument of type ‘size_t’, but argument 10 has type ‘__off_t’ [-Werror=format=] st.st_size, 0, 0, 0, 0, namelen + 1, 0, name); ^ The best way to solve this (as off_t doesn't have a standard format specifier) is to use 'j' and do a typecast to uintmax_t. Johan Hedberg 10 years ago 1 file, +3, -2
1db97762 shared/gatt-client: Fix possible crash Similar to issue found with unit test it is necessary to protect bt_gatt_client instance before calling the callback otherwise it may destroy it causing a crash. Luiz Augusto von Dentz 10 years ago 1 file, +4, -1
e3e4b3f1 shared/gatt-client: Fix invalid read on TP/GAW/CL/BV-05-C This fixes TP/GAW/CL/BV-05-C which destroy bt_gatt_client instance on the called producing the following bracktrace: at 0x445C7C: start_next_long_write.isra.2 (gatt-client.c:2393) by 0x4462A8: execute_write_cb (gatt-client.c:2429) by 0x44099B: handle_rsp (att.c:640) by 0x44099B: can_read_data (att.c:813) by 0x44E4BA: watch_callback (io-glib.c:170) by 0x4E7E7FA: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.4200.2) by 0x4E7EB97: ??? (in /usr/lib64/libglib-2.0.so.0.4200.2) by 0x4E7EEC1: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.4200.2) by 0x43E791: tester_run (tester.c:831) by 0x43A685: main (test-gatt.c:3935) Address 0x5b12fd8 is 104 bytes inside a block of size 208 free'd at 0x4C2ACE9: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x446820: bt_gatt_client_unref (gatt-client.c:1694) by 0x43AB7C: destroy_context (test-gatt.c:342) by 0x43AB7C: context_quit (test-gatt.c:370) by 0x43AD0F: test_long_write_cb (test-gatt.c:1029) by 0x446290: execute_write_cb (gatt-client.c:2426) by 0x44099B: handle_rsp (att.c:640) by 0x44099B: can_read_data (att.c:813) by 0x44E4BA: watch_callback (io-glib.c:170) by 0x4E7E7FA: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.4200.2) by 0x4E7EB97: ??? (in /usr/lib64/libglib-2.0.so.0.4200.2) by 0x4E7EEC1: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.4200.2) by 0x43E791: tester_run (tester.c:831) by 0x43A685: main (test-gatt.c:3935) Luiz Augusto von Dentz 10 years ago 1 file, +4, -0
0aa12f83 build: enable glibc's malloc checks for the test suite Setting MALLOC_CHECK_=3 causes additional checks in glibc for malloc() usage errors, abort()ing the test if those trigger. MALLOC_PERTURB_=69 causes free()'d memory to be poisoned with 0x45, leading to crashes in case of use-after-free. Together, both are useful for spotting more errors during "make check" Stefan Seyfried 10 years ago 1 file, +1, -0
fa3be045 tools: Add simple utility for creating CPIO / initramfs images Marcel Holtmann 10 years ago 3 files, +206, -0
82f8a71a build: Include test/example-gatt-client Added test/example-gatt-client to Makefile.tools. Arman Uguray 10 years ago 1 file, +1, -1
f95f762c test: Add Python GATT client example This patch introduces test/example-gatt-client which implements a simple D-Bus client application for a remote Heart Rate service. Arman Uguray 10 years ago 1 file, +218, -0
156df086 build: Rename LE test scripts in Makefile.tools Renamed test/advertisement-example to test/example-advertisement and also added test/example-gatt-server to Makefile.tools Arman Uguray 10 years ago 1 file, +2, -1
b7e71ee8 test/example-gatt-server: Align string constants Aligned the string constants for better readability. Arman Uguray 10 years ago 1 file, +4, -4
55ae8e29 emulator: Handle event for LE connection update complete indication Marcel Holtmann 10 years ago 1 file, +15, -0
ddcdb859 tools: Look for local copies of the QEMU binaries Marcel Holtmann 10 years ago 1 file, +2, -0
edc57cc1 doc: Update number of SMP end to end test cases Marcel Holtmann 10 years ago 1 file, +2, -2
1856a335 tools: Add testing target to run all known test scripts Marcel Holtmann 10 years ago 1 file, +92, -24
0549bd92 tools: Remove smbios section for enabling UEFI Marcel Holtmann 10 years ago 1 file, +0, -1
314f750c tools: Handle return value of getcwd function Marcel Holtmann 10 years ago 1 file, +2, -1
55dc7982 build: Add test utility for checking kernel selftest results Marcel Holtmann 10 years ago 3 files, +73, -1
c781be8c tools: Start Bluetooth daemon in test setup if D-Bus is requested Marcel Holtmann 10 years ago 1 file, +85, -3
42cf72b1 tools: Start D-Bus daemon in test setup if requested Marcel Holtmann 10 years ago 1 file, +100, -10
4e8fc749 tools: Change into to current directory before running test Marcel Holtmann 10 years ago 1 file, +7, -5
Previous Next