Closed Olivier-ProGlove closed 5 years ago
@Olivier-ProGlove This seems to be a bug in the phone side. It initiates 2 LL procedures with overlapping instant. The Zephyr controller is correct in dropping the link with error code transaction collision.
Procedures in error (sniffer-trace1) 3: PHY_UPDATE_IND(instant = 9) 5: CONN_UPDATE_REQ(instant = 12)
As a workaround you could disable CONFIG_BT_AUTO_PHY_UPDATE, since the masters PHY_UPDATE_IND is a response to the peripherals PHY_REQ.
It looks you are right. I tried to disable CONFIG_BT_PHY_UPDATE=n
and I could connect to Tizen OS.
I actually noticed after testing this workaround a similar bug existed for Samsung S8: https://github.com/zephyrproject-rtos/zephyr/issues/13396 with the same workaround :-)
I am trying to connect Nordic nRF52840 dev kit using last version of Zephyr (
859c4ed
west: Fix unused import and variable - Tue May 7) with Samsung Gear S3 latest version of Tizen OS 4.0.0.2.To Reproduce
samples/bluetooth/peripheral_hids
and flash onnrf52840_pca10056
<inf> main: Disconnected from (reason 42)
Expected behavior It is expected Tizen OS to be able to connect to Zephyr board. FYI, I removed passphrase in the sample HID. So no passphrase is expected to be asked and I confirm it works with other OSes.
Impact Zephyr Bluetooth devices cannot be connected to Tizen OS.
Screenshots or console output I have duplicated the issue two times. I have added the
btmon
traces and the Wireshark Nordic's sniffer traces (I cannot see the disconnection packet in the sniffer trace): tizen-github-issue1.zipThe log (with the default logging level) does not show much:
Environment (please complete the following information):
859c4ed
west: Fix unused import and variable - Tue May 7cc: @carlescufi @joerchan @cvinayak