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

BLE connection with pin code

Hi,

I'm using NRF52840 in order to connect to a mobile device, with PIN code.

Connection to Android is ok. The issue is with IOS.

IOS can't send the PIN code to my device, I understand that NRF device should transmit it's services so IOS will read it before sending the PIN code. Am I right?

Thanks!

Parents Reply
  • Hi,

    Thanks for your help!

    Right now, I'm using sd_ble_gatts_characteristic_add(), in order to add RX, TX and device information service. Read and write permissions are BLE_GAP_CONN_SEC_MODE_SET_LESC_ENC_WITH_MITM.

    Is that good enough? Do I need to add more characteristics with another security level, in order to make the IOS trying to read and initiate pairing process?

    Thanks!

Children
Related