Commits

Commit Message Author Age Changes
0ee2d331 policy: Fix not reseting attempts when disconnected If the link is disconnected before any profile connects it shall still reset the attempts as the device actually has been connected, otherwise the number of attempts may not be respected. Luiz Augusto von Dentz 9 years ago 1 file, +2, -0
ccd29841 core/profile: Fix calling service_accept service_accept shall only be used with profiles that implement .accept callback, to set connecting state directly use service_set_connecting which does not require .accept to be implemented. Luiz Augusto von Dentz 9 years ago 3 files, +21, -1
206bee14 core/adapter: Add support for enabling privacy This adds support for loading local IRK key when adapter is configured. In case IRK is not present new key is generated and stored. In case of errors privacy is explicitly disabled. We ensure that we memset IRK to zero before disabling privacy. IRK is stored in %s/identity file. Privacy setting is configured globally in main.conf. In the future we may add per device configuration in %s/settings. Michał Narajowski 9 years ago 5 files, +164, -0
acbea9a0 core/device: Omit AdvertisingFlags for BR/EDR devices This makes sure AdvertisingFlags is omitted for BR/EDR devices. Luiz Augusto von Dentz 9 years ago 2 files, +20, -8
8274e04f core/device: Fix crash when enabling experimental This fixes the following trace: Invalid read of size 8 at 0x53BE1B1: ??? (in /usr/lib64/libdbus-1.so.3.15.2) by 0x53AAB45: _dbus_type_writer_write_fixed_multi (in /usr/lib64/libdbus-1.so.3.15.2) by 0x49E629: dev_property_get_flags (device.c:953) by 0x4C611E: append_property.isra.0 (object.c:511) by 0x4C6C3D: append_properties (object.c:540) by 0x4C6CD2: append_interface (object.c:555) by 0x50E740C: g_slist_foreach (in /usr/lib64/libglib-2.0.so.0.4800.2) by 0x4C734E: append_interfaces (object.c:1111) by 0x4C734E: append_object (object.c:1126) by 0x50E740C: g_slist_foreach (in /usr/lib64/libglib-2.0.so.0.4800.2) by 0x4C7398: append_object (object.c:1129) by 0x50E740C: g_slist_foreach (in /usr/lib64/libglib-2.0.so.0.4800.2) by 0x4C7398: append_object (object.c:1129) Luiz Augusto von Dentz 9 years ago 1 file, +2, -2
06be5320 shared/att: Fix handling 'Insufficent Authentication' error respone >From Core Specification 4.2 Vol.3 Part C (page 375): When the link is not encrypted, the error code "Insufficient Authentication" does not indicate that MITM protection is required. When unauthenticated pairing has occurred and the link is currently encrypted, the error code "Insufficient Authentication" indicates that MITM protection is required. If LE Secure Connections authenticated pairing is required but LE legacy pairing has occurred and the link is currently encrypted, the service request shall be rejected with the error code "Insufficient Authentication". Szymon Janc 9 years ago 1 file, +12, -5
a4695fe1 doc: Update test coverage Szymon Janc 9 years ago 1 file, +2, -2
29b01f7e tools/mgmt-tester: Fix add local name and appearance to scan rsp Append maximum of 10 + 1 bytes of name to scan response data. Complete name is appended only if exists and is <= 10 characters. Else append short name if exists. This makes sure name is consistent across multiple advertising instances. Michał Narajowski 9 years ago 1 file, +263, -320
ecb228f9 tools/mgmt-tester: Test appearance in default scan rsp data Michał Narajowski 9 years ago 1 file, +121, -5
e9282495 tools/mgmt-tester: Fix setup commands and conditions handling It used to be a quick hack so it would be possible to send multiple mgmt cmds on setup. Now sending setup command in setup_command_generic adds a setup condition (separate from ordinary conditions) so a setup is only successful when all the setup conditions are met. Michał Narajowski 9 years ago 1 file, +30, -9
40062bfd tools/btmgmt: Add support for name and appearence flags in advsize Szymon Janc 9 years ago 1 file, +12, -2
9caa0457 core: Add implementation of AdvertisingFlags This adds 'AdvertisingFlags' property to Device interface. Bluetooth Core Supplementary Spec v6 Chapter 1.3 defines Bluetooth Flags as one of the data in advertise data. BlueZ also correctly parses this data but never exposes it to upper layer. Puthikorn Voravootivat 9 years ago 3 files, +40, -0
f96e4a9f doc/device-api: Add AdvertisingFlags This exposed Advertising Flags to BlueZ Device API Puthikorn Voravootivat 9 years ago 1 file, +4, -0
e4bc2ffa lib: Update company identifiers Marcel Holtmann 9 years ago 1 file, +44, -0
9533cef1 unit/test-gatt: Add /TP/GAD/CL/BV-02-C-1-alternative According to GATT.TS.4.2.1, 4.4.3 TP/GAD/CL/BV-02-C [Discover Primary Services by Service UUID – by Client] Pass verdict is also when response has end_handle = 0xffff. This patch add such test. Łukasz Rymanowski 9 years ago 1 file, +8, -0
cd1933f5 shared/gatt-helpers: Fix find by type response handling Due to regression from db24bf0 shared/gatt-helper: Consolidate error checking, procedure Discover Primary Services by Service UUID, can succeed only when last response is Error Response with ATTRIBUTE_NOT_FOUND error code. With this patch it also succeed when Find By Type response contains service which is already in a required search range. It is verified with unit test /TP/GAD/CL/BV-02-C-1-alternative Łukasz Rymanowski 9 years ago 1 file, +1, -1
afc66b8d build: Remove deprecated profiles This removes deprecated GATT profiles that are no longer supported and should instead be implemented over D-Bus. Luiz Augusto von Dentz 9 years ago 6 files, +0, -4813
3ee370a0 doc: Mention Start Limited Discovery command Marcel Holtmann 9 years ago 1 file, +2, -1
725cfad7 doc: Update Linux kernel version information Marcel Holtmann 9 years ago 1 file, +2, -2
4243c3e6 src/device: Free bonding while failed to pair device device unable pair since another pairng is in progress, and need to free bonding before it created for next pairing. Jiangbo Wu 9 years ago 1 file, +32, -30
20ac6559 doc/gatt-api.txt: Correct spelling mistakes Correct small spelling errors Barry Byford 9 years ago 1 file, +3, -3
868d93b0 tools: Fix recevied/received typos Mat Martineau 9 years ago 2 files, +2, -2
82666b34 core: Remove attio callbacks Luiz Augusto von Dentz 9 years ago 4 files, +18, -219
7d9718cf input/hog: Use .accept and .disconnect instead of attio This adds .accept and .disconnect callbacks instead of attio which is deprecated. Luiz Augusto von Dentz 9 years ago 3 files, +37, -28
dcbc2894 Release 5.42 Marcel Holtmann 9 years ago 2 files, +15, -1
da89677b build: Update library version Marcel Holtmann 9 years ago 1 file, +1, -1
ab00bdf4 lib: Update company identifiers Marcel Holtmann 9 years ago 1 file, +18, -0
bd7a6808 tools: Add identifier for Marvell UART devices Loic Poulain 9 years ago 2 files, +2, -0
087403e6 tools: Add identifier for Nokia UART devices Loic Poulain 9 years ago 2 files, +2, -0
3d117bc9 test/example-gatt-server: Make test service primary This allows to test from Android until included services support is added. Szymon Janc 9 years ago 1 file, +1, -1
ba38b538 test/example-gatt-server: Fix few copy-paste errors Szymon Janc 9 years ago 1 file, +5, -5
cf944b2c tests/example-gatt-server: Fix using GATT_CHRC_IFACE in Descriptor This patch changes GATT_CHRC_IFACE to GATT_DESC_IFACE when querying properties for Descriptor class. Alexander Aring 9 years ago 1 file, +1, -1
9ae688c7 AUTHORS: mention Michał's contributions Szymon Janc 9 years ago 1 file, +1, -0
816b4749 tools/mgmt-tester: Add appearance to Read Ext Controller Info Michał Narajowski 9 years ago 1 file, +20, -4
73919b17 tools/mgmt-tester: Test Set Appearance support in different modes Michał Narajowski 9 years ago 1 file, +15, -0
20abcd84 tools/mgmt-tester: Test add appearance in scan rsp data Michał Narajowski 9 years ago 1 file, +290, -2
f08c42ee tools/mgmt-tester: Test add local name in scan rsp data Appropriate HCI command is expected in setup section because as soon as new local name is registered in the kernel the HCI_OP_LE_SET_SCAN_RSP_DATA is triggered. Then when we pass Add_local_name_to_Scan_rsp_data flag in Add advertising command the HCI command is not triggered because Scan response data has not changed. Michał Narajowski 9 years ago 1 file, +194, -8
7eeee26a doc/mgmt-api: Allow set appearance only for LE capable controllers Michał Narajowski 9 years ago 1 file, +5, -1
1c9bbafd client: Show UUIDs when listing attributes Example output after this patch: [bluetooth]# connect 7B:3F:2C:2B:D0:06 Attempting to connect to 7B:3F:2C:2B:D0:06 [CHG] Device 7B:3F:2C:2B:D0:06 Connected: yes Connection successful [NEW] Primary Service /org/bluez/hci0/dev_7B_3F_2C_2B_D0_06/service0001 00001801-0000-1000-8000-00805f9b34fb Generic Attribute Profile [NEW] Characteristic /org/bluez/hci0/dev_7B_3F_2C_2B_D0_06/service0001/char0002 00002a05-0000-1000-8000-00805f9b34fb Service Changed [NEW] Primary Service /org/bluez/hci0/dev_7B_3F_2C_2B_D0_06/service0028 0000180f-0000-1000-8000-00805f9b34fb Battery Service [NEW] Characteristic /org/bluez/hci0/dev_7B_3F_2C_2B_D0_06/service0028/char0029 00002a19-0000-1000-8000-00805f9b34fb Battery Level [NEW] Descriptor /org/bluez/hci0/dev_7B_3F_2C_2B_D0_06/service0028/char0029/desc002b 00002902-0000-1000-8000-00805f9b34fb Client Characteristic Configuration [CHG] Device 7B:3F:2C:2B:D0:06 UUIDs: 00001800-0000-1000-8000-00805f9b34fb [CHG] Device 7B:3F:2C:2B:D0:06 UUIDs: 00001801-0000-1000-8000-00805f9b34fb [CHG] Device 7B:3F:2C:2B:D0:06 UUIDs: 0000180f-0000-1000-8000-00805f9b34fb [CHG] Device 7B:3F:2C:2B:D0:06 ServicesResolved: yes Francois Beaufort 9 years ago 1 file, +41, -25
82816688 core/gatt: Remove CCC state if no longer active If the device object cannot be found or the device is not connected and is not paired remove the CCC state as it is no longer valid. Luiz Augusto von Dentz 9 years ago 1 file, +17, -5
437d18eb doc: Mention the extra supported advertising flags Marcel Holtmann 9 years ago 1 file, +2, -1
a3458410 doc: Mention the Set Appearance management command Marcel Holtmann 9 years ago 1 file, +2, -1
21cfa2e0 monitor: Add support for Set Appearance mgmt command @ MGMT Command: Set Appearance (0x0043) plen 2 {0x0002} Appearance: Blood Pressure (0x0380) @ MGMT Event: Command Complete (0x0001) plen 3 {0x0002} Set Appearance (0x0043) plen 0 Status: Success (0x00) Szymon Janc 9 years ago 1 file, +10, -0
d943b01f tools/btmgmt: Add support for Set Appearance command Szymon Janc 9 years ago 1 file, +35, -0
fd7f665d tools/btmgmt: Add support for scan rsp flags in add advertising This allows to set local-name and appearance flags for add advertising command. Szymon Janc 9 years ago 1 file, +9, -1
3bb8bd1b lib/mgmt: Add Set Appearance command definition Michał Narajowski 9 years ago 1 file, +6, -0
8b1c08b0 doc/mgmt-api: Add Set Appearance command specification Michał Narajowski 9 years ago 1 file, +25, -0
5ee33f81 lib: Update company identifiers Marcel Holtmann 9 years ago 1 file, +134, -2
d1580a62 tools: add more entities and better error handling to parse_companies Add the remaining lowercase acute accented vowel HTML entities to parse_companies.pl. On unknown entity, print an error to STDERR so the maintainer can more clearly understand the failure. Mike Ryan 9 years ago 1 file, +5, -2
3aa056ca monitor: Print friendly name of UUID 128 bits This makes btmon print friendly names for UUID 128 bits if they exists: > HCI Event: LE Meta Event (0x3e) plen 33 LE Advertising Report (0x02) Num reports: 1 Event type: Connectable undirected - ADV_IND (0x00) Address type: Public (0x00) Address: 00:1B:DC:07:31:88 (Vencer Co., Ltd.) Data length: 21 Flags: 0x06 LE General Discoverable Mode BR/EDR Not Supported 128-bit Service UUIDs (complete): 1 entry Eddystone Configuration Service (a3c87500-8ed3-4bdf-8a39-a01bebede295) RSSI: -30 dBm (0xe2) Luiz Augusto von Dentz 9 years ago 1 file, +3, -1
Previous Next