Public bug reported:
In an industrial IoT context (Volvo Group), we are using TE Connectivity
M5600 BLE pressure sensors. These sensors have a high response latency
during the initial connection handshake.
Problem:
The current hardcoded timeout in net/bluetooth/hci_conn.c is set to 2 seconds (msecs_to_jiffies(2000)). This is too short for these specific sensors, causing systematic connection failures on Ubuntu Core 22 (Raspberry Pi 4).
Proposed Solution:
I have successfully tested a custom kernel build where the timeout is increased to 20 seconds.
Attached Patch:
Please find attached the patch modifying hci_connect_le and hci_connect_le_scan in net/bluetooth/hci_conn.c.
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Tags: bluetooth iot kernel-bug raspberrypi raspi
** Patch added: "Kernel patch to increase BLE connection timeout in hci_conn.c"
https://bugs.launchpad.net/bugs/2142623/+attachment/5948427/+files/ble_timeout_fix.patch
--
You received this bug notification because you are subscribed to linux
in Ubuntu.
Matching subscriptions: Bgg, Bmail, Nb
https://bugs.launchpad.net/bugs/2142623
Title:
[Kernel] Bluetooth LE connection timeout too short for industrial Te
connectivity sensors
Status in linux package in Ubuntu:
New
Bug description:
In an industrial IoT context (Volvo Group), we are using TE
Connectivity M5600 BLE pressure sensors. These sensors have a high
response latency during the initial connection handshake.
Problem:
The current hardcoded timeout in net/bluetooth/hci_conn.c is set to 2 seconds (msecs_to_jiffies(2000)). This is too short for these specific sensors, causing systematic connection failures on Ubuntu Core 22 (Raspberry Pi 4).
Proposed Solution:
I have successfully tested a custom kernel build where the timeout is increased to 20 seconds.
Attached Patch:
Please find attached the patch modifying hci_connect_le and hci_connect_le_scan in net/bluetooth/hci_conn.c.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2142623/+subscriptions
Комментариев нет:
Отправить комментарий