~aleteoryx/muditaos

f05106a46cc08e185841533803c22a31581bb75b — Bartosz 2 years ago 62a1569
[MOS-525] Fix BT autoconnect when another device is already connected

Fixes an issue when another device is connected via HFP and a new device
wants to connect

Updated BT stack to 1.5.5 version
3 files changed, 6 insertions(+), 3 deletions(-)

M module-bluetooth/Bluetooth/btstack_config.h
M module-bluetooth/lib/btstack
M pure_changelog.md
M module-bluetooth/Bluetooth/btstack_config.h => module-bluetooth/Bluetooth/btstack_config.h +3 -2
@@ 38,14 38,15 @@

// BTstack configuration. buffers, sizes, ...
#define HCI_INCOMING_PRE_BUFFER_SIZE 14 // sizeof benep heade, avoid memcpy
//#define HCI_ACL_PAYLOAD_SIZE         (1691 + 4)
#define HCI_ACL_PAYLOAD_SIZE         (1021+4)
#define HCI_ACL_PAYLOAD_SIZE         (1691 + 4)
//#define HCI_ACL_PAYLOAD_SIZE         (1021+4)

#define ENABLE_GATT_CLIENT_PAIRING
#define ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE
#define ENABLE_CC256X_BAUDRATE_CHANGE_FLOWCONTROL_BUG_WORKAROUND
//#define HAVE_EMBEDDED_TIME_MS

#define MAX_NR_HFP_CONNECTIONS 1
//#define MAX_NR_HCI_CONNECTIONS                    4
//#define MAX_NR_L2CAP_SERVICES                     5
//#define MAX_NR_L2CAP_CHANNELS                     6

M module-bluetooth/lib/btstack => module-bluetooth/lib/btstack +1 -1
@@ 1,1 1,1 @@
Subproject commit 68bc64b92658dc6234f092a5f43d83743e5ea61c
Subproject commit 7794871cfe42b6a124b4d2a78f666faecc7bbe11

M pure_changelog.md => pure_changelog.md +2 -0
@@ 21,6 21,7 @@
* Replaced English labels occuring in French translation with French ones
* Added new field to deviceInfo endpoint
* Made EULA window scroll by a few lines at once
* Updated Bluetooth stack

### Fixed



@@ 72,6 73,7 @@
* Fixed text pasting in new contact window when some text is already present there
* Fixed unnecessary deep refresh when pressing up arrow in empty list view
* Fixed going back to Messages instead of Contacts in case message thread was previously opened from Contacts
* Fixed autoconnecting other BT devices when another one is already connected

## [1.6.0 2023-02-27]