Zephyr sample for pairing without passkey

When I set CONFIG_BT_FIXED_PASSKEY=y in prj.conf. The following warning messages are generated by west build command.

CONFIG_BT_FIXED_PASSKEY is enabled

A fixed passkey is easy to deduce during the pairing procedure, do not use in production.

Does Nordic provide sample code for pairing without passkey?

Parents Reply
  • Thanks for your reply! I can see the following description from URL you provided. However, my nRF5340 device doesn't have display capability. Does it mean fixed passkey is only solution for nRF5340 device without display capability?

    If the IO capabilities of a device, either the initiating or responding device, has a display capability, then it will display a randomly generated passkey value between “000000” and “999999.

Children
Related