Commits

Commit Message Author Age Changes
727a88a9 build: Update library version Marcel Holtmann 4 years ago 1 file, +1, -1
45dd8276 monitor: Update RSSI printing function Marcel Holtmann 4 years ago 3 files, +9, -8
c84febe2 build: Require at least version 0.39 when building with external ELL Marcel Holtmann 4 years ago 1 file, +2, -2
fde1e8fb build: Always link in the ell/useful.h header file Marcel Holtmann 4 years ago 1 file, +12, -4
3f4039f4 hog-lib: Fix crash when receiving UHID_GET_REPORT If UHID_GET_REPORT is received but a report cannot be found, etc, the would pass bt_hog as user_data instead of report to get_report_cb leading to a crash. Fixes https://github.com/bluez/bluez/issues/112 Luiz Augusto von Dentz 4 years ago 1 file, +30, -19
09080c00 profiles/battery: Reset battery value cache on disconnect Due to cache in batt object, bluetoothd fails to update publish the battery value after reconnection when the battery value does not change compared to before reconnection. We should reset the battery percentage cache on disconnect. Reviewed-by: Alain Michaud <alainm@chromium.org> Sonny Sasaka 4 years ago 1 file, +1, -0
9f11632b test: Fix AdvMonitor RSSI filter properties Update the creation of Advertisement Monitor object as per the decoupled RSSIThresholdsAndTimers strucure. More info: doc/advertisement-monitor-api.txt Reviewed-by: apusaka@chromium.org Reviewed-by: howardchung@chromium.org Reviewed-by: mcchou@chromium.org Signed-off-by: Manish Mandlik <mmandlik@google.com> Manish Mandlik 4 years ago 1 file, +8, -7
820dfd11 adv_monitor: merge monitors with the same pattern Some bluetooth chipset (e.g. Intel) doesn't support MSFT extension monitors with the same pattern. In order to make them work, and also to generally make their task easier, we merge monitors with the same pattern in the userspace. Therefore, each monitor sent to the kernel will all have different patterns. If the merged monitor have different RSSI parameter, we would choose the most lenient parameter of the two, since we can still do additional filtering in the userspace. This way, we wouldn't miss any information and can still get the benefit of offloading the filtering. Reviewed-by: Miao-chen Chou <mcchou@chromium.org> Archie Pusaka 4 years ago 1 file, +529, -127
b175b850 adv_monitor: split rssi_parameters into its own struct This is an intermediary step for the following merge pattern patch. Reviewed-by: Miao-chen Chou <mcchou@chromium.org> Archie Pusaka 4 years ago 1 file, +54, -45
9d493f80 btdev: Set CIG ID and CIS ID when generating CIS requested This is required in order for the host to properly accept/reject the connection. Luiz Augusto von Dentz 4 years ago 1 file, +2, -2
a8f26e27 btdev: Always set connection handle on CIS established This is required in order for the host to be able to distinguished errors if there are multiple CIS connections outstanding. Luiz Augusto von Dentz 4 years ago 1 file, +1, -1
f6eccfa6 mesh: Fix segmented msg RX with friendship This fixes an uninitialized memory issue where a message received for a local node is silently discarded if an uninitialized boolean is mistakenly set to TRUE, when friendships exist. Brian Gix 4 years ago 1 file, +1, -0
03987faa doc/mgmt-api: Update documentation for scan_rsp param flag This patch adds the new scannable flag to the Add Extended Advertising Parameters MGMT API documentation. Reviewed-by: Alain Michaud <alainm@chromium.org> Reviewed-by: Sonny Sasaka <sonnysasaka@chromium.org> Daniel Winkler 4 years ago 1 file, +5, -0
c0560248 advertising: Create and use scannable adv param flag In order for the advertising parameters hci request to indicate that an advertising set uses a scannable PDU, we pass a scannable flag along with the initial parameters MGMT request. This flag is populated based on the existence of any scan response data requested by the client. Without this patch, a broadcast advertisement with a scan response will either be rejected by the controller, or will ignore the requested scan response. The patch is tested by performing the above and confirming that the scan response is retrievable from a peer as expected. Reviewed-by: Sonny Sasaka <sonnysasaka@chromium.org> Reviewed-by: Miao-chen Chou <mcchou@chromium.org> Daniel Winkler 4 years ago 4 files, +43, -1
3d9ff9d5 monitor: Add basic decoding for MSFT extension Marcel Holtmann 4 years ago 3 files, +150, -3
8e2d46d8 monitor: Add skeleton for Microsoft HCI extension Marcel Holtmann 4 years ago 4 files, +144, -11
e8cae819 tools: Add command for enabling/disabling LL privacy feature Marcel Holtmann 4 years ago 1 file, +38, -0
50296ced tools/mgmt-tester: Fix for scan response in read adv feature command This patch fixes the test failure with the read advertising feature API which is changed to include the scan response flag. Read Advertising Features - Success 1 (No instance) Failed Read Advertising Features - Success 2 (One instance) Failed Read Ext Advertising Features - Success 3 (PHY flags) Failed Tedd Ho-Jeong An 4 years ago 1 file, +3, -3
a4a615c7 monitor: Add option to force output color Sometimes we want to force output color even when stdout is not a terminal, for example when piping the output to a filter script and then piping it further to a pager which can display colors. This patch provides a general option to force whether color is on or off (always and never), or leave btmon to decide (auto). Reviewed-by: Daniel Winkler <danielwinkler@google.com> Sonny Sasaka 4 years ago 3 files, +30, -2
2af9ef2f doc/advertising-api: Add adv SupportedFeatures to doc Add supported features to advertising dbus api. Reviewed-by: Miao-chen Chou <mcchou@chromium.org> Daniel Winkler 4 years ago 1 file, +18, -0
0b8e166f client: Add adv SupportedFeatures to bluetoothctl This change adds SupportedFeatures to be shown in "show" option of bluetoothctl. It was tested with and without kernel support for features to verify that they are shown or not shown correctly. Change was tested by verifying SupportedFeatures were populated correctly in bluetoothctl on hatch and kukui chromebooks Reviewed-by: Miao-chen Chou <mcchou@chromium.org> Daniel Winkler 4 years ago 1 file, +1, -0
ced87167 advertising: Add SupportedFeatures to LEAdvertisingManager1 The new SupportedFeatures member tells advertising clients whether the platform has hardware support for advertising or capability to set tx power of advertisements. Additionally, fix small typo in "secondary_exists" function name. Change is tested on hatch and kukui chromebooks by using dbus-send to verify that SupportedFeatures always exists, and is only populated when extended advertising is available. Reviewed-by: Miao-chen Chou <mcchou@chromium.org> Daniel Winkler 4 years ago 2 files, +44, -2
571e41a1 build: Fix build with latest ELL tree Latest ELL tree has introduced useful.h and main-private.h which are required to build: ell/cert-crypto.c:35:10: fatal error: useful.h: No such file or directory 35 | #include "useful.h" | ^~~~~~~~~~ ... Luiz Augusto von Dentz 4 years ago 1 file, +3, -1
acccac28 btmgmt: Fix printing Set PHY Configuration command error Error was printed as MGMT_OP_GET_PHY_CONFIGURATION instead of MGMT_OP_SET_PHY_CONFIGURATION. Ayush Garg 4 years ago 1 file, +1, -1
75fc5363 shared/gatt-client: fix BT_ATT_OP_HANDLE_NFY_MULT parsing We need to advance the pdu pointer after parsing each block of notification data. Reviewed-by: Sonny Sasaka <sonnysasaka@chromium.org> Archie Pusaka 4 years ago 1 file, +1, -0
389bcb2b profiles: Use timeout_add_seconds Replace calls to g_timeout_add_seconds() by the timeout_add_seconds() wrapper which takes care of 0 delay. Frédéric Danis 4 years ago 9 files, +120, -110
7b184197 plugins: Use timeout_add_seconds Replace calls to g_timeout_add_seconds() by the timeout_add_seconds() wrapper which takes care of 0 delay. Frédéric Danis 4 years ago 1 file, +46, -45
c8f2dbad core: Use timeout_add_seconds Replace calls to g_timeout_add_seconds() by the timeout_add_seconds() wrapper which takes care of 0 delay. Frédéric Danis 4 years ago 6 files, +115, -97
efe0efc9 shared/timeout: Add timeout_add_seconds abstraction g_timeout_add_seconds() call doesn't ensure the time for the first call of the timer if the delay is less or equal to 1 second. In case of a 0 delay call g_idle_add() instead of g_timeout_add_seconds(). Frédéric Danis 4 years ago 5 files, +51, -7
ef2412c1 emulator: Periodic Advertising Command This adds support for Periodic Advertising HCI command in the emulator. These changes are the first step in making the emulator useful for testing the LE Audio Broadcast feature Keyur Parekh 4 years ago 1 file, +44, -6
3ce089b0 monitor: Fix decoding Read Local Supported Codec Capabilities Codec capabilities wern't properly decoded due to wrong offset < HCI Command: Read Local Supported Codec Capabilities (0x04|0x000e) plen 7 Codec: A-law log (0x01) Logical Transport Type: 0x01 Codec supported over BR/EDR ACL Direction: Input (Host to Controller) (0x00) > HCI Event: Command Complete (0x0e) plen 18 Read Local Supported Codec Capabilities (0x04|0x000e) ncmd 1 Status: Success (0x00) Number of codec capabilities: 3 Capabilities #0: aa bb cc dd .... Capabilities #1: 11 22 33 44 55 ."3DU Capabilities #2: ff . Kiran K 4 years ago 1 file, +6, -6
28ddec8d avdtp: Fix removing all remote SEPs when loading from cache If avdtp_discover is called after cache has been loaded it end up removing all remote SEPs as they have not been discovered yet. Fixes: https://github.com/bluez/bluez/issues/102 Luiz Augusto von Dentz 4 years ago 1 file, +12, -4
13c98ce3 mesh: Validate OTA provision security material When validating incoming security material, ensure that the data is unique to the provisioning session. Brian Gix 4 years ago 2 files, +21, -0
f3e4937b monitor: Fix invalid access ident can be NULL when printing user logs which may lead ot invalid access. Fixes: https://github.com/bluez/bluez/issues/92 Luiz Augusto von Dentz 4 years ago 1 file, +1, -1
632bac1b monitor: Decode Broadcom LM Diag vendor events Marcel Holtmann 4 years ago 1 file, +6, -0
547ddcf0 monitor: Fix random address decoding for extending advertising Marcel Holtmann 4 years ago 1 file, +1, -1
0b6c29c8 monitor: Add missing strings for management command codes Marcel Holtmann 4 years ago 1 file, +12, -5
e6b69a5d gatt: Fix registering DIS without a valid source If source has not been set don't register DIS as it would not contain any useful information and by doing this it actually allows systems to register their own DIS instance. Luiz Augusto von Dentz 4 years ago 1 file, +8, -11
b3f7623f main.conf: Enable passing false to DeviceID This adds support for setting DeviceID to false so plaforms can disable DeviceID. Fixes: https://github.com/bluez/bluez/issues/101 Luiz Augusto von Dentz 4 years ago 2 files, +8, -2
348feb00 adapter: Return Busy error when setting is pending This returns an error if application attempts to change a property that is pending. Fixes: https://github.com/bluez/bluez/issues/99 Luiz Augusto von Dentz 4 years ago 1 file, +7, -1
0e7c24bb adapter: Fix not using the correct setting set_mode shall use opcode to identify what setting are being changed rather then the mode. Luiz Augusto von Dentz 4 years ago 1 file, +1, -1
d326a96e core: fix a typo in dev_connect Based on the context, it should be 'at least' instead of 'at list'. Reviewed-by: Alain Michaud <alainm@chromium.org> Howard Chung 4 years ago 1 file, +1, -1
00da0fb4 shared/gatt-server: Fix not properly checking for secure flags When passing the mask to check_permissions all valid permissions for the operation must be set including BT_ATT_PERM_SECURE flags. Luiz Augusto von Dentz 4 years ago 2 files, +15, -18
ad05009d monitor: Add option to set fallback width Sometimes we want to be able to pipe the output of btmon to a non-terminal device. The current fallback width is usually not long enough so this patch adds an option to specify the column width. This is especially needed for text logs from bluetoothd. Reviewed-by: Daniel Winkler <danielwinkler@google.com> Sonny Sasaka 4 years ago 3 files, +15, -2
f6441b23 btdev: Add support for Configure Data Path > HCI Event: Command Complete (0x0e) plen 68 Read Local Supported Commands (0x04|0x0002) ncmd 1 Status: Success (0x00) Commands: 169 entries ... Configure Data Path (Octet 45 - Bit 5) Luiz Augusto von Dentz 4 years ago 1 file, +18, -1
70e6a4a9 monitor: Add support for decoding Configure Data Path < HCI Command: Configure Data Path (0x03|0x0083) plen 3 Direction: Input (Host to Controller) (0x00) ID: 0 Vendor Specific Config Length: 0 Vendor Specific Config: > HCI Event: Command Complete (0x0e) plen 4 Configure Data Path (0x03|0x0083) ncmd 1 Status: Success (0x00) Luiz Augusto von Dentz 4 years ago 2 files, +26, -0
9e627576 btdev: Add support Read Local Supported Controller Delay > HCI Event: Command Complete (0x0e) plen 68 Read Local Supported Commands (0x04|0x0002) ncmd 1 Status: Success (0x00) Commands: 168 entries ... Read Local Supported Controller Delay (Octet 45 - Bit 4) Luiz Augusto von Dentz 4 years ago 1 file, +20, -1
c4aec697 monitor: Add support for decoding Read Local Controller Delay < HCI Command: Read Local Supported Controller Delay (0x04|0x000f) plen 8 Codec: mSBC (0x05) Logical Transport Type: 0x02 Codec supported over BR/EDR SCO and eSCO Direction: Input (Host to Controller) (0x00) Length Codec Configuration: 0 > HCI Event: Command Complete (0x0e) plen 10 Read Local Supported Controller Delay (0x04|0x000f) ncmd 1 Status: Success (0x00) Minimum Controller delay: 0 us (0x000000) Maximum Controller delay: 0 us (0x000000) Luiz Augusto von Dentz 4 years ago 3 files, +68, -25
a0d07507 btdev: Add support Read Local Supported Codec Capabilities > HCI Event: Command Complete (0x0e) plen 68 Read Local Supported Commands (0x04|0x0002) ncmd 1 Status: Success (0x00) Commands: 167 entries ... Read Local Supported Codec Capabilities (Octet 45 - Bit 3) Luiz Augusto von Dentz 4 years ago 1 file, +19, -1
9180ceb0 monitor: Add support for decoding Read Local Supported Codec Capabilities < HCI Command: Read Local Supported Codec Capabilities (0x04|0x000e) plen 7 Codec ID: mSBC (0x05) Logical Transport Type: 0x02 Codec supported over BR/EDR SCO and eSCO Direction: Input (Host to Controller) (0x00) > HCI Event: Command Complete (0x0e) plen 5 Read Local Supported Codec Capabilities (0x04|0x000e) ncmd 1 Status: Success (0x00) Number of codec capabilities: 0 Luiz Augusto von Dentz 4 years ago 2 files, +101, -18
Previous Next