Commits

Commit Message Author Age Changes
f465119a core/advertising: Fix dbus object matching Objects should be matched on both their path and the sending application. Michael Janssen 10 years ago 1 file, +26, -11
d7c099fa android/avrcp-lib: Use void pointer in register_notification In this callback params vary depending on code. Passing those as void* allows to avoid extra memcpy that would be otherwise needed to avoid warnings due to increased alignment when casting. Szymon Janc 10 years ago 3 files, +9, -7
75eaabf0 android/client: Allow parsing hex and int arguments This patch modify parsing of arguments. Arguments should be properly parsed as hex (string with 0x) and as integer. Grzegorz Kolodziejczyk 10 years ago 1 file, +28, -28
eaddd484 AUTHORS: Mention Michael's contributions Luiz Augusto von Dentz 10 years ago 1 file, +1, -0
631d2e91 AUTHORS: Add Samsung developers Luiz Augusto von Dentz 10 years ago 1 file, +2, -0
d9d26aeb core/eir: Add support for parsing service data Luiz Augusto von Dentz 10 years ago 2 files, +88, -0
be06832b unit/test-eir: Add ad/g-tag test This adds a test for Gigaset G-tag advertisement and prints manufacturer specific data. Luiz Augusto von Dentz 10 years ago 1 file, +37, -0
bca537e8 shared/att: Add packed struct definition for err_rsp Reused the structure definition (bt_att_pdu_error_rsp) defined in att-types.h by removing uint8_t array for sending err rsp pdu. Gowtham Anandha Babu 10 years ago 1 file, +5, -6
70489204 core/gatt: Parse InProgress error code from err_msg In Common Profile and Service Error Code descriptions (Supplement to Bluetooth Core Specification, sections 1.2 and 2), it is mentioned that following error codes are sent over the Attribute Protocol. 1)Client Characteristic Configuration Descriptor Improperly Configured(0xFD) 2)Procedure Already in Progress(0xFE) 3)Out of Range(0xFF) It should be treated as ATT Error codes. So, moved those to att-types.h and handled org.bluez.Error.InProgress. Gowtham Anandha Babu 10 years ago 3 files, +13, -11
b5f48fb4 core/gatt: Remove goto next Replace it with for which is more readable. Luiz Augusto von Dentz 10 years ago 1 file, +3, -6
91d66daa core/gatt-database: Fix endless loop The descriptors list may contain descriptors from another services which should be ignored but the code did not iterate to next item causing an endless loop if that happen. Luiz Augusto von Dentz 10 years ago 1 file, +2, -1
857787aa unit: Use local includes and not global ones Marcel Holtmann 10 years ago 1 file, +1, -3
e2e6bb16 unit/test-gdbus-client: Fix memory leak on client_no_object_manager When creating a proxy manually with g_dbus_proxy_new it has to be freed with g_dbus_proxy_unref otherwise it leaks: 395 (80 direct, 315 indirect) bytes in 1 blocks are definitely lost in loss record 800 of 834 at 0x4C29BCF: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x4E84575: g_try_malloc0 (in /usr/lib64/libglib-2.0.so.0.4200.2) by 0x40E244: proxy_new (client.c:411) by 0x40F7FD: g_dbus_proxy_new (client.c:485) by 0x405844: client_no_object_manager (test-gdbus-client.c:837) by 0x410882: run_callback (tester.c:413) 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 0x411CF1: tester_run (tester.c:831) by 0x4045E1: main (test-gdbus-client.c:986) Luiz Augusto von Dentz 10 years ago 1 file, +5, -0
be057524 unit/test-gdbus-client: Fix memory leak This fixes leaking DBusConnection created by client_force_disconnect causing the following trace: 40 bytes in 1 blocks are definitely lost in loss record 501 of 839 at 0x4C29BCF: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x519D9E1: ??? (in /usr/lib64/libdbus-1.so.3.8.11) by 0x5191F94: ??? (in /usr/lib64/libdbus-1.so.3.8.11) by 0x517AC1A: ??? (in /usr/lib64/libdbus-1.so.3.8.11) by 0x517D754: ??? (in /usr/lib64/libdbus-1.so.3.8.11) by 0x51790FB: ??? (in /usr/lib64/libdbus-1.so.3.8.11) by 0x407739: g_dbus_setup_private (mainloop.c:314) by 0x404ECC: client_force_disconnect (test-gdbus-client.c:879) by 0x4108B2: run_callback (tester.c:413) 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) Luiz Augusto von Dentz 10 years ago 1 file, +1, -0
72c478bf unit/test-gdbus-client: Fix test client_no_object_manager This test creates a second connection without using the one created by create_context and doesn't disconnect making test client_force_disconnect fail. Luiz Augusto von Dentz 10 years ago 1 file, +4, -8
265a1a77 gdbus: Close private connection if setup fails Private connection should be properly closed with dbus_connection_close otherwise libdbus exits with the following error: 'The last reference on a connection was dropped without closing the connection. This is a bug in an application. See dbus_connection_unref() documentation for details. Most likely, the application was supposed to call dbus_connection_close(), since this is a private connection.' Luiz Augusto von Dentz 10 years ago 1 file, +1, -0
6a920ea8 unit/test-gdbus-client: Use tester framework Luiz Augusto von Dentz 10 years ago 2 files, +70, -193
410b780a unit/test-eir: Use tester framework Luiz Augusto von Dentz 10 years ago 2 files, +45, -36
4a89430b unit/test-ecc: Use tester framework Luiz Augusto von Dentz 10 years ago 1 file, +42, -57
b135a093 unit/test-crypto: Use tester framework Luiz Augusto von Dentz 10 years ago 1 file, +16, -19
1e664a79 unit/test-crc: Use tester framework Luiz Augusto von Dentz 10 years ago 2 files, +19, -20
a22fdb6f shared/gatt: Fix potential uninitialized usage Fixed the following warning when compiled with clang: error: variable 'success' is used uninitialized whenever 'if' condition is false if (last_handle != op->end_handle) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/shared/gatt-helpers.c:1263:28: note: uninitialized use occurs here discovery_op_complete(op, success, att_ecode); ^~~~~~~ Arman Uguray 10 years ago 1 file, +2, -0
b4b016e9 tools: Add utility for analyzing Nokia firmware files Marcel Holtmann 10 years ago 3 files, +254, -2
e6542cd3 unit/test-gatt: Add TP/GAW/CL/BI-31-C test Verify Generic Attribute Profile client behavior when the Write Long Characteristic Descriptor procedure fails due to insufficient encryption key size. Bharat Panda 10 years ago 1 file, +16, -0
7fd17ae8 unit/test-gatt: Add TP/GAW/CL/BI-30-C test Verify Generic Attribute Profile client behavior when the Write Long Characteristic Descriptor procedure fails due to insufficient authentication. Bharat Panda 10 years ago 1 file, +16, -0
6e5a7c4d unit/test-gatt: Add TP/GAW/CL/BI-29-C test Verify Generic Attribute Profile client behavior when the Write Long Characteristic Descriptor procedure fails due to insufficient authorization. Gowtham Anandha Babu 10 years ago 1 file, +16, -0
4b1c25f0 unit/test-gatt: Add TP/GAW/CL/BI-26-C test Verify Generic Attribute Profile client behavior when the Write Long Characteristic Descriptor procedure fails due to write not permitted. Gowtham Anandha Babu 10 years ago 1 file, +16, -0
7b9febe2 unit/test-gatt: Add TP/GAW/CL/BI-25-C test Verify Generic Attribute Profile client behavior when the Write Long Characteristic Descriptor procedure fails due to invalid handle. Gowtham Anandha Babu 10 years ago 1 file, +16, -0
05648c7e unit/test-gatt: Add TP/GAW/CL/BV-09-C test Verify that a Generic Attribute Profile client can write a long characteristic descriptor selected by handle. Gowtham Anandha Babu 10 years ago 1 file, +224, -0
639fa90c monitor: Add initial support for BNEP > ACL Data RX: Handle 71 flags 0x02 dlen 11 Channel: 64 len 7 [PSM 15 mode 0] {chan 0} BNEP: Control (0x01|0) 01 02 11 16 11 15 ...... > ACL Data RX: Handle 71 flags 0x01 dlen 35 Channel: 64 len 1532 [PSM 15 mode 0] {chan 0} BNEP: General Ethernet (0x00|1) 00 00 00 00 00 00 00 00 00 00 00 00 08 00 00 0f ................ 05 00 0c 03 00 00 20 00 00 03 00 00 20 00 00 3c ...... ..... ..< > ACL Data RX: Handle 71 flags 0x01 dlen 12 Channel: 64 len 1509 [PSM 15 mode 0] {chan 0} BNEP: Compressed Ethernet Dest Only (0x04|0) 00 00 00 00 00 00 08 00 3c 3b 3a 39 38 37 36 35 ........<;:98765 34 33 32 31 30 2f 2e 2d 2c 2b 2a 29 28 27 26 25 43210/.-,+*)('&% Gowtham Anandha Babu 10 years ago 5 files, +147, -0
44dbeb32 core/device: Fix memory leak btd_device_connect_services should not reference the services given as pending list handling does not unreference them. Luiz Augusto von Dentz 10 years ago 1 file, +1, -2
464d4552 gdbus: Fix crash in g_dbus_create_error_valist Passing NULL format parameter to vsnprintf results in invalid argument error on glibc. But with some other libc libraries (musl and uClibc) this results in dereferencing NULL pointer and crash due to segmentation fault. Szymon Janc 10 years ago 1 file, +4, -1
cba1ba28 gdbus: Use g_dbus_create_error_valist internally There is no need to duplicate code in g_dbus_send_error_valist. Szymon Janc 10 years ago 1 file, +1, -4
a8b1be8f profiles/network: Fix crash in network_property_get_uuid Crash was due to invalid use of libdbus API. Invalid read of size 1 at 0x4A092F2: strlen (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x36A9A29DF3: ??? (in /usr/lib64/libdbus-1.so.3.7.12) by 0x36A9A17CC4: ??? (in /usr/lib64/libdbus-1.so.3.7.12) by 0x36A9A19EAD: dbus_message_iter_append_basic (in /usr/lib64/libdbus-1.so.3.7.12) by 0x42B9B6: network_property_get_uuid (connection.c:453) by 0x4847EE: append_property.isra.1 (object.c:510) by 0x4849EF: process_properties_from_interface (object.c:1688) by 0x484D23: process_changes (object.c:1719) by 0x36A7E492A5: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x36A7E49627: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x36A7E49A39: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x40AF95: main (main.c:661) Address 0x3631313130303030 is not stack'd, malloc'd or (recently) free'd Szymon Janc 10 years ago 1 file, +2, -1
546ec13c profiles/network: Fix not being able to initiate connection This was due to incorrect use of bt_uuid_to_uuid128 where source and destination parameters were reversed. Szymon Janc 10 years ago 1 file, +2, -2
d1d008d5 tools/test-runner: Add more kernel lookup paths Johan Hedberg 10 years ago 1 file, +2, -0
638b9979 tools: add read adv features success tests The mgmt-tester did not yet contain tests for the success path of the MGMT_OP_READ_ADV_FEATURES command. This patch adds two tests: one calling the command without an advertising instance and one with one advertising instance added. Florian Grandel 10 years ago 2 files, +30, -1
6843198f tools: fix misleading test output The setup_add_advertising() function claimed to add an advertising instance while unpowered although it actually adds the instance while powered. This patch fixes several tester output instances accordingly. Florian Grandel 10 years ago 1 file, +4, -4
01ddd8da doc: fix minor typos The documentation contained minor typos which are being fixed here. Florian Grandel 10 years ago 2 files, +2, -2
6d404f55 AUTHORS: Mention Loic's contributions Marcel Holtmann 10 years ago 1 file, +1, -0
7e35ff92 android/pts: Update GAP tests results PTS issue #12950 was resolved. Szymon Janc 10 years ago 1 file, +5, -3
e50c8ddd obexd: Remove unused parameter from manager_request_authorization This fix compilation error with musl due to missing (now not needed) stdint.h include. Szymon Janc 10 years ago 3 files, +3, -5
f9796b5c emulator: Add support for LE remote features command Marcel Holtmann 10 years ago 2 files, +47, -0
3b7ad511 policy: Add parameters to control reconnection This adds ReconnectAttempts and ReconnectIntervals so platforms can fine tune the reconnection strategy. Luiz Augusto von Dentz 10 years ago 2 files, +67, -28
e59ef82d core: Mention defaults for ReconnectUUIDs This documents the defaults used for ReconnectUUIDs. Luiz Augusto von Dentz 10 years ago 1 file, +1, -1
449479f8 tools: Add command for automatically power on with all features Marcel Holtmann 10 years ago 1 file, +132, -0
953c2eea tools: Add protocol option for btattach utility Loic Poulain 10 years ago 1 file, +45, -9
0b4137c4 test/test-nap: Run indefinitely This makes test-nap run indefinitely until ctrl+c is pressed. Luiz Augusto von Dentz 10 years ago 1 file, +10, -7
8232c1a0 core: Only start Advertising Manager when experimental Check the experimental flag, there is no value in starting the Advertising Manager when there is no method for advertising. This also makes startup quieter when experimental is not set. Michael Janssen 10 years ago 1 file, +8, -10
c68f5c6b gdbus: Add g_dbus_get_flags function The g_dbus_get_flags function enables detection of when the G_DBUS_FLAG_ENABLE_EXPERIMENTAL is set. Michael Janssen 10 years ago 2 files, +6, -0
Previous Next