Commits

Commit Message Author Age Changes
6c0ab27d test/test-discovery: Remove dead code PropertyChanged is left over from BlueZ 4.x now it is PropertiesChanged. However in this test it does not make sense to register for this signal as StopDiscovery is never called from this test. Łukasz Rymanowski 10 years ago 1 file, +0, -8
1b262cde doc/adapter-api: Use correct signal name Łukasz Rymanowski 10 years ago 1 file, +1, -1
ca201496 emulator/hciemu: Fix return value make throws out the following errors. emulator/hciemu.c: In function ‘hciemu_get_master_scan_enable’: emulator/hciemu.c:433:3: error: return makes integer from pointer without a cast [-Werror] return NULL; ^ emulator/hciemu.c: In function ‘hciemu_get_master_le_scan_enable’: emulator/hciemu.c:441:3: error: return makes integer from pointer without a cast [-Werror] return NULL; ^ cc1: all warnings being treated as errors Fixed by returning zero. Gowtham Anandha Babu 10 years ago 1 file, +2, -2
e5d47b64 tools/mgmt-tester: Wait before checking BR/EDR scan state Like the LE scan state, recent kernels moved to updating the BR/EDR scan state for Add/Remove Device independent from the mgmt command completion. We should therefore update the corresponding mgmt-tester cases to wait a bit before making a test result conclusion. Johan Hedberg 10 years ago 1 file, +7, -4
fa6c8529 emulator: Add API to get BR/EDR scan_enable value Johan Hedberg 10 years ago 4 files, +17, -0
04f68f54 emulator: Return raw LE scan_enable value This is more future proof (in case other values besides 0x00/0x01 are introduced) and consistent with a similar BR/EDR API that will be added soon. Johan Hedberg 10 years ago 6 files, +9, -9
dd64e9f9 tools/l2cap-tester: Fix minor coding style issue (line lengths) Johan Hedberg 10 years ago 1 file, +3, -3
1e82a61e tools/hcidump: Print LDAC vendor codec name Andrzej Kaczmarek 10 years ago 1 file, +2, -0
4384b35f tools/avinfo: Print content protection Andrzej Kaczmarek 10 years ago 1 file, +31, -1
101b439a tools/avinfo: Add partial support for Sony LDAC Contents of Vendor Specific Value in codec information is unknown at the moment so only raw value is printed. Andrzej Kaczmarek 10 years ago 2 files, +20, -0
3e8b6592 monitor/rfcomm: Fix names formatting Andrzej Kaczmarek 10 years ago 1 file, +3, -3
c2975c9e monitor/avctp: Fix typos Andrzej Kaczmarek 10 years ago 1 file, +10, -10
b33cb20a input/hog: Fix not reseting queue to NULL after destroying it This can cause crashes as the data pointed by devices if a new device is probed it would most likely access invalid memory. Luiz Augusto von Dentz 10 years ago 1 file, +3, -1
4b5f85c9 android/README: Fix typo Andrzej Kaczmarek 10 years ago 1 file, +1, -1
c7e2a97d android/README: Update links to BfA on GitHub Since code.google.com is now read-only, sample implementation of BfA is moved to GitHub. README is updated with new links. Andrzej Kaczmarek 10 years ago 1 file, +11, -11
7ed0fd65 input/hog-lib: Print report value handle and type This adds better debug logs when discovering report type. Luiz Augusto von Dentz 10 years ago 1 file, +17, -1
718bad60 input/hog: Make use of hog-lib This changes the input plugin to use hog-lib so the same code is used in both D-Bus daemon, Android and unit tests. Luiz Augusto von Dentz 10 years ago 2 files, +60, -910
714daa55 hog: Move code from android to profiles This is a place holder until the code is ported to use shared API so it can be shared by android and D-Bus daemon. Luiz Augusto von Dentz 10 years ago 9 files, +1581, -1580
fadcbdcc dis: Move code from android to profiles This is a place holder until the code is ported to use shared API so it can be shared by android and D-Bus daemon. Luiz Augusto von Dentz 10 years ago 8 files, +337, -336
d0a77e68 scpp: Move code from android to profiles This is a place holder until the code is ported to use shared API so it can be shared by android and D-Bus daemon. Luiz Augusto von Dentz 10 years ago 8 files, +395, -394
b6cb2d3e bas: Move code from android to profiles This is a place holder until the code is ported to use shared API so it can be shared by android and D-Bus daemon. Luiz Augusto von Dentz 10 years ago 8 files, +376, -376
368a974e android/hog: Port fixes to profiles HoG This align the 2 copies of Hog since the plan is to merge android version back to profiles and just reuse from there. The fix for incomplete discover is modified so the reports are keep while attempting to discover. Luiz Augusto von Dentz 10 years ago 1 file, +26, -1
b1fed7fb shared/att: Use smaller defines Not every term of the command needs to be part of the define as it make them awful long. Luiz Augusto von Dentz 10 years ago 4 files, +12, -12
11e3924b shared/att: Fix going over 80 columns This fixes lines that are over 80 columns by renaming op_type to just type so it doesn't turn into multi line either. Luiz Augusto von Dentz 10 years ago 1 file, +6, -6
0087831e core/device: Fix not responding to Connect If profile is removed while its connection is pending it may not respond to Connect method and not cleaning up properly leaving dev->connect set which will prevent any attempt to connect to the device again. Luiz Augusto von Dentz 10 years ago 1 file, +1, -1
0e354efc client: Fix printing selcted device prompt Johan Hedberg 10 years ago 1 file, +2, -0
1e6db185 client: Fix crash when exiting When exiting the available proxies are destroy in the same order they are added causing the following crash when there are attributes whose service has already been removed: Invalid read of size 8 at 0x414AAD: g_dbus_proxy_get_path (client.c:525) by 0x40B948: characteristic_is_child (gatt.c:136) by 0x40C420: gatt_remove_characteristic (gatt.c:157) by 0x4067A7: proxy_removed (main.c:446) by 0x414A2E: proxy_free (client.c:439) by 0x4E7AF6C: g_list_foreach (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x4E7AF8A: g_list_free_full (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x415D54: g_dbus_client_unref (client.c:1310) by 0x40511B: main (main.c:2067) Address 0x5eb5450 is 16 bytes inside a block of size 80 free'd at 0x4C29D6A: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x4E8479E: g_free (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x4149D6: g_dbus_proxy_unref (client.c:517) by 0x414A8D: proxy_free (client.c:451) by 0x4E7AF6C: g_list_foreach (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x4E7AF8A: g_list_free_full (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x415D54: g_dbus_client_unref (client.c:1310) by 0x40511B: main (main.c:2067) Luiz Augusto von Dentz 10 years ago 2 files, +20, -10
c069eb2e core/gatt-client: Fix warning when removing services This fixes the following warnings caused by not resetting id to 0: GLib-CRITICAL **: Source ID 145 was not found when attempting to remove it GLib-CRITICAL **: Source ID 151 was not found when attempting to remove it GLib-CRITICAL **: Source ID 155 was not found when attempting to remove it GLib-CRITICAL **: Source ID 162 was not found when attempting to remove it Luiz Augusto von Dentz 10 years ago 1 file, +1, -0
85afc7c2 tools/l2cap-tester: Fix NULL-dereference for tests with no data Johan Hedberg 10 years ago 1 file, +1, -1
ed78d12f client: Make GATT listing more readable Johan Hedberg 10 years ago 1 file, +5, -4
9c35b133 tools/l2cap-tester: Minor whitespace fix Johan Hedberg 10 years ago 1 file, +0, -1
69cebff7 doc/test-coverage: Update l2cap-tester test count Johan Hedberg 10 years ago 1 file, +2, -2
b6521c4e tools/l2cap-tester: Add test case for direct advertising Johan Hedberg 10 years ago 1 file, +51, -0
7d1d5cdd android/log: Fix compilation error in AOSP btd_debug() has new parameter introduced in dcfdc556. Andrzej Kaczmarek 10 years ago 1 file, +1, -1
2f8c8805 tools/l2cap-tester: Fix expected LE CoC conn rsp parameters Johan Hedberg 10 years ago 1 file, +4, -4
1051531f emulator: Fix sending valid HCI_LE_Create_Connection parameters Johan Hedberg 10 years ago 1 file, +6, -0
1644c7a7 monitor: Update UUID strings to latest versions Marcel Holtmann 10 years ago 1 file, +42, -1
865bcd1e tools/l2cap-tester: Don't treat unexpected L2CAP PDUs as failures Johan Hedberg 10 years ago 1 file, +1, -1
b329e8ed core: Use daemon specific GLib logging handling for backtraces Marcel Holtmann 10 years ago 1 file, +19, -0
29a4871a core: Add function for logging with priority information Marcel Holtmann 10 years ago 2 files, +19, -0
a2023bf5 tools/mgmt-tester: Fix Remove Device tests for LE The timing of Add/Remove device is different in recent kernels so that if they are sent in rapid succession no HCI command will be sent at all. Since the relevant thing is that LE scan is disabled after the test add a timeout to verify this instead of waiting for a specific HCI command. Johan Hedberg 10 years ago 1 file, +24, -9
54d71940 doc/test-coverage: Update l2cap-tester test count Johan Hedberg 10 years ago 1 file, +2, -2
c25b521a tools/l2cap-tester connect two sockets disconnect one test This test open two sockets to same client, then close first one and make sure second one connect successfully. Jakub Pawlowski 10 years ago 1 file, +37, -2
95e8f9ad tools/l2cap-tester: Two socket connect test This test tries to open two sockets to same address, to make sure both would succeed. Jakub Pawlowski 10 years ago 1 file, +102, -0
598a93f3 tools/l2cap-tester: Disconnect during connect attempt test This patch adds test that checks folowing: 1. Try to connect to existing BLE device that is not advertising. 2. Internally in kernel this adds this device to whitelist and enable scan. 3. Make the device advertise once. That would stop the scan, and trigger connect attempt to device. 4. Close socket. This should stop the connect attempt, by sending BT_HCI_CMD_LE_CREATE_CONN_CANCEL. Jakub Pawlowski 10 years ago 1 file, +105, -6
6d4fc88e tools/l2cap-tester: add close socket test This patch adds test that checks folowing: 1. Try to connect to non-existing remote BLE device using socket. 2. Internally in kernel this adds this device to whitelist and enable scan. 3. At this moment test would try to close socket. 4. That should cause scan to be stopped. Jakub Pawlowski 10 years ago 1 file, +169, -14
51fdcde6 emulator: add support for checking le scan state Jakub Pawlowski 10 years ago 4 files, +17, -0
58268998 shared/gatt-client: Don't reset database on service changed If the remote send a full reset, 0x0001 - 0xffff, just discovery the attributes again as device may send this even though nothing has changed. Luiz Augusto von Dentz 10 years ago 1 file, +5, -0
872729a9 shared/mgmt: Fix crash when removing index Because queue entries are no longer protected by a reference it is necessary to return the use of in_notify flag, etc, otherwise the following crash can happen when removing an index: Invalid read of size 8 at 0x41AD6F: queue_foreach (queue.c:219) by 0x41CA6C: process_notify (mgmt.c:280) by 0x41CA6C: can_read_data (mgmt.c:338) by 0x422DCA: watch_callback (io-glib.c:170) by 0x4E7EA89: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x4E7EE1F: ??? (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x4E7F141: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x422A31: tester_run (tester.c:830) by 0x403013: main (l2cap-tester.c:1489) Address 0x5754b38 is 8 bytes inside a block of size 16 free'd at 0x4C29D6A: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x41AFCF: queue_remove_if (queue.c:302) by 0x41B0BA: queue_remove_all (queue.c:331) by 0x41C6A2: mgmt_unregister_index (mgmt.c:737) by 0x405033: index_removed_callback (l2cap-tester.c:162) by 0x41B751: notify_handler (mgmt.c:270) by 0x41AD83: queue_foreach (queue.c:220) by 0x41CA6C: process_notify (mgmt.c:280) by 0x41CA6C: can_read_data (mgmt.c:338) by 0x422DCA: watch_callback (io-glib.c:170) by 0x4E7EA89: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x4E7EE1F: ??? (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x4E7F141: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.4400.1) Luiz Augusto von Dentz 10 years ago 1 file, +58, -8
d52e7dd2 lib: Fix missing error handling when SDP record is NULL Marcel Holtmann 10 years ago 1 file, +6, -2
Previous Next