Commits

Commit Message Author Age Changes
1f8bab67 btdev: Add support Read Local Supported Codecs V2 > HCI Event: Command Complete (0x0e) plen 68 Read Local Supported Commands (0x04|0x0002) ncmd 1 Status: Success (0x00) Commands: 167 entries ... Read Local Supported Codecs V2 (Octet 45 - Bit 2) Luiz Augusto von Dentz 4 years ago 1 file, +34, -1
b04ef47e monitor: Add support for decoding Read Local Supported Codecs V2 < HCI Command: Read Local Supported Codecs V2 (0x04|0x000d) plen 0 > HCI Event: Command Complete (0x0e) plen 18 Read Local Supported Codecs V2 (0x04|0x000d) ncmd 1 Status: Success (0x00) Number of supported codecs: 6 Codec: u-law log (0x00) Logical Transport Type: 0x02 Codec supported over BR/EDR SCO and eSCO Codec: A-law log (0x01) Logical Transport Type: 0x02 Codec supported over BR/EDR SCO and eSCO Codec: CVSD (0x02) Logical Transport Type: 0x02 Codec supported over BR/EDR SCO and eSCO Codec: Transparent (0x03) Logical Transport Type: 0x02 Codec supported over BR/EDR SCO and eSCO Codec: Linear PCM (0x04) Logical Transport Type: 0x02 Codec supported over BR/EDR SCO and eSCO Codec: mSBC (0x05) Logical Transport Type: 0x02 Codec supported over BR/EDR SCO and eSCO Number of vendor codecs: 0 Luiz Augusto von Dentz 4 years ago 2 files, +122, -26
53c54b85 monitor: Rename big_id fields to handle This makes it aligned to the terminology used by the spec. Luiz Augusto von Dentz 4 years ago 2 files, +10, -10
986aaa2b monitor: Fix BIG Create Sync decoding Number of Bis is actually at the end of the PDU, also avoid prefixing with big when it is implied by the struct name. Luiz Augusto von Dentz 4 years ago 2 files, +10, -7
c8b12d2c monitor: Rename big_id field to handle This avoids prefixing with big when it is implied by the struct name. Luiz Augusto von Dentz 4 years ago 2 files, +7, -7
9bce8caf mesh: Fix infinite loop on IVIndex update This patch fixes inifinite loop problem caused by recurring call of the `net_key_beacon_refresh` function. Problem occurs when at least two nodes are connected to the same BlueZ instance and they are connected to the same network (use same network key). Issue is triggered when IVIndex update process stabilize and one of the nodes receives network beacon with IVUpdate flag set to 0. Then it processes the "local" beacon and compose new `snb` (with IVUpdate flag set to 0) attached to `net_key` instance. After that it calls `net_local_beacon` and another node processes the new beacon (this node has IVUpdate flag still set to 1). Note that the `net->ivupdate` has set value 1. The `update_iv_ivu_state` says that "IVU clear attempted too soon". The node composes new `snb` with IVUpdate flag set to 1 and writes it to the `net_key` instance in the `net_key_beacon_refresh` function. After that it calls `net_local_beacon` which causes repeat of all process. We are rotating in this loop until end-of-memory. Przemysław Fierek 4 years ago 1 file, +21, -13
58fb6dce tools: Cleanup deprecated symbolic file permissions Brian Gix 4 years ago 4 files, +4, -7
a508def9 src: Cleanup deprecated symbolic file permissions Brian Gix 4 years ago 6 files, +29, -29
0fea1b36 profiles: Cleanup deprecated symbolic file permissions Brian Gix 4 years ago 1 file, +1, -1
e34869b9 peripheral: Cleanup deprecated symbolic file permissions Brian Gix 4 years ago 1 file, +1, -2
c8a47b6d obexd: Cleanup deprecated symbolic file permissions Brian Gix 4 years ago 2 files, +11, -11
b02298ef mesh: Cleanup deprecated symbolic file permissions Brian Gix 4 years ago 1 file, +1, -1
a670a23b monitor: Fix handling of BT_HCI_EVT_LE_BIG_SYNC_ESTABILISHED This adds the missing fields for BT_HCI_EVT_LE_BIG_SYNC_ESTABILISHED event. Luiz Augusto von Dentz 4 years ago 2 files, +12, -0
316fff1e monitor: Fix handling of BT_HCI_EVT_LE_BIG_COMPLETE This adds the missing fields for BT_HCI_EVT_LE_BIG_COMPLETE event. Luiz Augusto von Dentz 4 years ago 2 files, +12, -0
482929f1 Release 5.56 Marcel Holtmann 4 years ago 2 files, +13, -1
66c61b50 build: Update library version Marcel Holtmann 4 years ago 1 file, +1, -1
c2c471b7 adapter: fix set_mode MGMT_OP_SET_BONDABLE Currently pending_settings is assigned MGMT_SETTING_DISCOVERABLE, but it should have been MGMT_SETTING_BONDABLE instead. Archie Pusaka 4 years ago 1 file, +1, -1
2f63eb8b adapter: Check whether adapter is pending powered The powered setting of adapter is frequently being checked, but the check only accounts for whether it currently is powered. When powering off the adapter, there is a brief moment when the adapter is already off kernel-wise, but powered property is still true. If powered property is accessed at this time, some problems might occur. For example, if RemoveDevice DBus API is called, we would still carry out the request and remove the device from the user space, but we would fail to remove it from the kernel, therefore resulting an error when we want to re-pair the device. This patch addresses this issue by also checking whether adapter is being powered off when checking for powered. Reviewed-by: Sonny Sasaka <sonnysasaka@chromium.org> Archie Pusaka 4 years ago 1 file, +19, -19
347348a3 gatt-database: Fix notifying on indicatable attr When a local GATT characteristic has both the indicate and notify properties, notifications will not be send to clients requesting them. This change fixes this, allowing for notifications to be sent. Also simplifies logic about when notifications/indications should be sent. Curtis 4 years ago 1 file, +6, -9
8f43d5b9 build: Require at least version 0.37 when building with external ELL Marcel Holtmann 4 years ago 1 file, +2, -2
61745d2b sixaxis: Fix Bluetooth PS3 clone joypad being named like the original When cable pairing a PS3 clone device, we should try and keep the USB device name to create a new btd_device so that the joypad is named after its USB name when connecting through Bluetooth. If that isn't done, "Shanwan" clone joypads are named like the genuine joypads, and kernel Bluetooth quirks aren't applied. gh-issue: https://github.com/bluez/bluez/issues/46 Szymon Janc 4 years ago 3 files, +17, -3
dc7a726a btdev: Fix not sending ISO packets ISO packets were not correctly parsed causing them to not be sent properly. Luiz Augusto von Dentz 4 years ago 1 file, +20, -14
17e208f6 emulator: Add option for enabling debug with btvirt This adds -d/--debug options which enables debug of vhci instance on btvirt. Luiz Augusto von Dentz 4 years ago 1 file, +19, -1
441ab748 vhci: Add vhci_set_debug This enables debug with btdev_set_debug. Luiz Augusto von Dentz 4 years ago 2 files, +14, -0
2e97d260 mesh: Combine common functions for NetKeys and AppKeys No change in functionality, code tightening. Inga Stotland 4 years ago 1 file, +50, -70
60135a7f avdtp: Remove use of G_PRIORITY_LOW G_PRIORITY_LOW was used in order to prioritize the AVDTP media transport channel over the signalling channel but this has the side effect of delaying the dispatching of other conditions such as HUP/NVAL, so now that BtIO use G_PRIORITY_HIGH for its watches we no longer need to deprioritize session_cb. Luiz Augusto von Dentz 4 years ago 1 file, +2, -11
dfc2829b btio: Use G_PRIORITY_HIGH for watches This makes btio watches default to G_PRIORITY_HIGH instead of G_PRIORITY_DEFAULT so it takes priority over regular traffic or timeout handling. Luiz Augusto von Dentz 4 years ago 1 file, +3, -3
d13f0619 avdtp: Fix setting disconnect timer when there is no local endpoints If there are not local endpoints left there is no point in starting the disconnect timer as without any endpoint it is not possible to configure streams anymore so the code should proceed to disconnect immediately. Luiz Augusto von Dentz 4 years ago 1 file, +7, -1
0c102742 tools/mesh-cfg-client: Make sure that the values of Device UUID supplied in CreateNetwork and AddRemoteNode methods are compliant with RFC 4122. Also, use a compliant value for Mesh UUID. Inga Stotland 4 years ago 2 files, +4, -4
301c7173 test/test-mesh: Generate correct value for Device UUID This ensures that the value of Device UUID when invoking Join method is compliant with RFC 4122. Inga Stotland 4 years ago 1 file, +3, -4
bc65e884 mesh: Add validation of Device UUID value Validate that the value of Device UUID supplied in CreateNetwork/Join/Import methods is compliant with RFC 4122. Inga Stotland 4 years ago 2 files, +13, -11
400e738b doc/mesh-api: Add notion of Device UUID compliance Add requirement that the value of Device UUID supplied in CreateNetwork/Join/Import methods should be compliant with RFC 4122. Inga Stotland 4 years ago 1 file, +6, -3
1f4ec8fb mesh: Clear node's agent pointer after agent removal When a node is created/provisioned/imported, the new node's agent is removed. The corresponding pointer in the node structure needs to be set to NULL to avoid pointing to freed memory. Inga Stotland 4 years ago 1 file, +1, -0
1ecf167c a2dp: set session to NULL when freeing channel There is a possibility that avdtp_channel is freed when avdtp_setup is not yet freed. This could cause crashes because setup->chan will then point to an invalid address. Archie Pusaka 4 years ago 5 files, +44, -10
15fcbf2b tools/bluemoon: Add support for checking other firmware file types There are more firmware files for Intel devices like .ddc, and .bseq. This patch checks the file extension and analyze the firmware file. Tedd Ho-Jeong An 4 years ago 1 file, +131, -0
3d19721b tools/bluemoon: Display FW version of firmware file This patch displays a FW version after parsing the WRITE_BOOT_PARAMS command in the firmeare file. It also change the display type for Module vendor and Date in the CSS header to hex for easy read. Tedd Ho-Jeong An 4 years ago 1 file, +15, -3
46766bed tools/mgmt-tester: Fix formatter for size_t value On 32 bit systems, sizeof macro doesn't always return (unsigned long), and the %zu formatter specifically handles size_t. Fix following error: tools/mgmt-tester.c: In function ‘read_50_controller_cap_complete’: tools/mgmt-tester.c:9124:58: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘unsigned int’ [-Werror=format=] 9124 | tester_warn("Controller capabilities malformed, size %lu != %u", | ~~^ | | | long unsigned int | %u 9125 | sizeof(rp->cap_len) + rp->cap_len, length); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int Brian Gix 4 years ago 1 file, +1, -1
2994d0b2 advertising: Fix formater for size_t data type On some 32 bit systems sizeof does not return (unsigned long). The size_t formater %zu handles this across architectures. Fixes the error: In file included from src/advertising.c:30: src/advertising.c: In function ‘read_controller_cap_complete’: src/log.h:60:20: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘unsigned int’ [-Werror=format=] 60 | btd_error(0xffff, "%s:%s() " fmt, __FILE__, __func__, ## arg) | ^~~~~~~~~~ src/advertising.c:1757:3: note: in expansion of macro ‘error’ 1757 | error("Controller capabilities malformed, size %lu != %u", | ^~~~~ src/advertising.c:1757:52: note: format string is defined here 1757 | error("Controller capabilities malformed, size %lu != %u", | ~~^ | | | long unsigned int | %u Brian Gix 4 years ago 1 file, +1, -1
d8e7311b build: Fix build error with missing ell/pkcs5.h ./ell/ell.h:24:10: fatal error: ell/pkcs5.h: No such file or directory 24 | #include <ell/pkcs5.h> | ^~~~~~~~~~~~~ Luiz Augusto von Dentz 4 years ago 1 file, +0, -1
9e2352d4 build: Fix undefined references when using slibtool gh issue: https://github.com/bluez/bluez/issues/86 Luiz Augusto von Dentz 4 years ago 1 file, +1, -2
e1daac43 ELL: Up-rev the ELL file list to version Rel 0.37 This has no functional change. It simply changes the ELL file list used for the statically linked version of ELL into BlueZ executables. Brian Gix 4 years ago 1 file, +1, -2
af31c416 tools: Fix static analysis warnings Usage of potentially NULL pointers Brian Gix 4 years ago 1 file, +12, -0
f21dfebe input/hog: Fix double registering report value callbacks In commit 23b69ab3e484 ("input/hog: Cache the HID report map"), we optimized HOG reconnection by registering report value callbacks early, but there was a bug where we also re-register the same report value callbacks after at CCC write callback. We should handle this case by avoiding the second callback register if we know we have done it earlier. Sonny Sasaka 4 years ago 1 file, +6, -0
fccfc3b5 btdev: Fix auto-disable Extended Adv Set For a Set to be disable there is a dedicated event that terminates the set otherwise it should be considered enabled even when connected. Luiz Augusto von Dentz 4 years ago 1 file, +4, -2
3c65f88d a2dp: Handle remote SEP disappearing Some devices (Sony WH-1000XM4) seems to dinamically change its endpoints depending on the configuration which may leave behind endpoints loaded from cache that are no longer valid. gh-issue: https://github.com/bluez/bluez/issues/85 Luiz Augusto von Dentz 4 years ago 3 files, +63, -9
83c8c1e9 btdev: Fix using CIG settings from the peripheral not the central SetCIGParameters is only used by the central while accept/reject CIS is performed on in the peripheral so le_cis_estabilished shall use the parameters set in the conn->link->dev. Luiz Augusto von Dentz 4 years ago 1 file, +15, -13
f1839c56 gatt: Fix crash when a device is removed If a device is removed with notifications enabled that would lead to device_state being freed while att_disconnected has not been called yet. gh-issue: https://github.com/bluez/bluez/issues/82 Luiz Augusto von Dentz 4 years ago 1 file, +8, -2
2ce0d340 monitor: Decode add advmon with RSSI parameter Add support for MGMT command of add advertisement monitor with RSSI parameter (0x0056). @ MGMT Command: Add Advertisement.. (0x0056) plen 76 {0x0003} RSSI data: high threshold: 1 dBm high timeout: 0 seconds low threshold: -2 dBm low timeout: 3 seconds sampling: just once (0xFF) Number of patterns: 2 Pattern 1: AD type: 0 Offset: 1 Length: 2 Value : c504 Pattern 2: AD type: 255 Offset: 10 Length: 4 Value : 9a55beef Archie Pusaka 5 years ago 1 file, +39, -4
ad02a4ed bluetoothctl: advmon rssi support for mgmt Using the new opcode MGMT_OP_ADD_ADV_PATTERNS_MONITOR_RSSI to monitor advertisement according to some RSSI criteria. Archie Pusaka 5 years ago 3 files, +210, -131
dfb5b811 btmgmt: advmon add rssi support Using the new opcode MGMT_OP_ADD_ADV_PATTERNS_MONITOR_RSSI to monitor advertisement according to some RSSI criteria. Archie Pusaka 5 years ago 1 file, +134, -26
Previous Next