pop-up dialog boxes twice during BLE pairing process

I want to achieve BLE pairing for BLE device control. users cannot pair Bluetooth through the mobile system,users cannot pair Bluetooth through the mobile system。but users can trigger pairing between their phones and devices through buttons on their devices. I test hid keyboard project,find pop-up pair dialog twice duing ble pairing process. Can you provide some suitable demo projects?

SDK:nRF5_SDK_17.1.0_ddde560   
MCU:nrf52810
  • Hello,

    Pairing should typically be initiated by the GAP central (in this case, the phone). iOS will automatically prompt the user to pair if the peripheral has characteristics with the security level set to '2' or higher. On Android, the app must initiate the pairing request, either automatically or upon user action. In the nRF Connect app on Android, there's a button the user can press to initiate bonding.

    users cannot pair Bluetooth through the mobile system

    Is there a reason they can't start pairing from the phone?

    find pop-up pair dialog twice duing ble pairing process.

    Did you make any changes to the project? I was not able to reproduce this behavior with the nRF connect app on Android. 

    Best regards,

    Vidar

Related