Description
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
- Build sample HID
samples/bluetooth/peripheral_hids
and flash onnrf52840_pca10056
- Connect Tizen to Nordic DevKit
- Tizen cannot connect and Zephyr returns the error
<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.zip
The log (with the default logging level) does not show much:
***** Booting Zephyr OS zephyr-v1.14.0-578-g7abd268e9db2 *****
Bluetooth initialized
Advertising successfully started
[00:00:00.199,300] <inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)
[00:00:00.199,300] <inf> bt_hci_core: HW Variant: nRF52x (0x0002)
[00:00:00.199,300] <inf> bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 1.14 Build 99
[00:00:00.247,600] <wrn> bt_hci_core: No ID address. App must call settings_load()
[00:00:00.283,000] <inf> bt_hci_core: Identity: ea:ac:67:83:44:59 (random)
[00:00:00.283,000] <inf> bt_hci_core: HCI: version 5.0 (0x09) revision 0x0000, manufacturer 0x05f1
[00:00:00.283,000] <inf> bt_hci_core: LMP: version 5.0 (0x09) subver 0xffff
[00:01:13.410,700] <inf> main: Connected to 'e4:d8:e3:3a:14:5a (random)'
[00:01:13.673,000] <inf> main: Disconnected from (reason 42)
Environment (please complete the following information):
- OS: Tizen 4.0.0.2 (I was told it was working with Tizen 3.x)
- Latest Zephyr:
859c4ed
west: Fix unused import and variable - Tue May 7