This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

I want PC&Mobile connect my BLE equipment(51822) by typein password like wifi

HI: I'am an engineer of BLE. And II want PC&Mobile connect my BLE equipment(51822) by type in password like wifi or most of bluetooth Headset. what should I do. which paragraph of code is most related ? which API I can use? thank you! best regards.

supplement: My platform:SW(Keil4+Nordic SDK 5.1.0+SoftDevice S110 6.0.0).HW(N51822QFAG0).Now I test the SOC with "nrf UART_V2","nrf Toolbox for BLE".I want to connect my BLE device with passkey,but I don't know what to do?

Parents Reply
  • If you don't set any characteristic to require encryption but set them to open BLE_GAP_CONN_SEC_MODE_SET_OPEN() then no bond will be required. And you will be able to connect and do everything without bonding. You can try to set the permission of a characteristic using BLE_GAP_CONN_SEC_MODE_SET_ENC_NO_MITM() then encryption will be triggered automatically.

    Note that bonding process only required once. After that no passkey entering required.

Children
No Data
Related