From 24d14ae36e95f1a6b777d41469836b4230ab79cc Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Sat, 29 Apr 2023 17:05:13 +0200 Subject: [PATCH] hci: set minimum and maximum CE length to 0 --- CHANGELOG.md | 2 ++ src/hci.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 03d03bcec..eb1f52c0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,6 +42,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## Changed - GAP: add gap_set_peer_privacy_mode with default LE_PRIVACY_MODE_DEVICE +- GAP: use stack defaults for LE Connection Parameter Updates +- GAP: set minimum and maximum CE length to 0 - bluetooth: indicated identity address in resolved address type names - chipset/bcm: look for PatchRAM file DEVICE_NAME...hcd - btstack_audio: added get_samplerate function to help with audio sample rate synchronization diff --git a/src/hci.c b/src/hci.c index 109d8669a..c27be050d 100644 --- a/src/hci.c +++ b/src/hci.c @@ -4654,8 +4654,8 @@ void hci_init(const hci_transport_t *transport, const void *config){ hci_stack->le_connection_interval_max = 0x0018; // 30 ms hci_stack->le_connection_latency = 4; // 4 hci_stack->le_supervision_timeout = 0x0048; // 720 ms - hci_stack->le_minimum_ce_length = 2; // 1.25 ms - hci_stack->le_maximum_ce_length = 0x0030; // 30 ms + hci_stack->le_minimum_ce_length = 0; // 0 ms + hci_stack->le_maximum_ce_length = 0; // 0 ms hci_stack->le_connection_phys = 0x01; // LE 1M PHY // default LE Scanning