Zephyr HID Sample Not Pairing on nRF52840 Dongle - Solutions?
Hello Guys,
Just-pair seems to not work when using peripherals-HID samples from zephyr, on nrf52840dongle
Any possible way to fix it?
5 Replies
Hey @melta101 Try to ensure that you are using the latest version of Zephyr. There have been several bug report cases related to reconnection issues after pairing, particularly with the nRF52840 dongle. Upgrading to the latest version may resolve these issues in your project, as updates often include bug fixes for Bluetooth connectivity problems.
Secondly,Make use of a Bluetooth sniffer to analyze the connection attempts in your project. This Bluetooth sniffer can help you to identify whether the issue is related to timing or specific Bluetooth packets that are not being handled correctly. Observing the logs can provide insight into whether the dongle is sending or receiving the expected packets during the reconnection process in your project.
Hello @UC GEE,
I updated my zephyr, but it seems to have no change
This is my logs over wireshark,
shows auth requirement mismatch, which should'nt happen when connecting to a phone over 'just-works'
Oh🥹 @melta101 ...Try out checking for your configuration settings in the Zephyr project. Specifically, ensure that the
CONFIG_BT_CTLR_SLAVE_FEAT_REQ
option is set appropriately, as some users have reported that incorrect settings can lead to reconnection failures. This setting affects how your Bluetooth controller handles feature requests during pairing in your project.
And too,You can equally engage with the Zephyr community on GitHub or Zephyr related Channel/group . Many user might have encountered similar issues as you, and the community can as well provide more insights or workarounds that have worked for others facing the same problem.seems to have deprecated the Kconfig option
Tried it alternative but to no avail
Actually, i tried asking same problem over at zephyr discord but got seenzoned and left over multiple times
Maybe i need to raise and issue over at github