nRFConnect iOS APP failed to show passkey dialog with nRF52832

I use nRFConnect iOS APP to pair nRF52832 device. But it failed to show passkey dialog.

Parents Reply
  • I have added the following configuration in prj.conf.

    CONFIG_BT_FIXED_PASSKEY=y
    CONFIG_BT_GATT_AUTO_SEC_REQ=y

    CONFIG_BT_SMP=y

    And I also add the following code in bt.c for static pairing

    bt_passkey_set(123456); // in btInit()

    bt_conn_set_security(conn, BT_SECURITY_L2); // in connected() callback function

    Now nRFConnect iOS APP shows pairing request information. But it doesn't shows dialog for me to enter passkey 123456.

Children
Related