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

add nus service with bond

Fisrt of all, I have searched all the questions but now still can't make bond work. I've done below work: 1, modify main.c file to add device manger function 2, modify ble_nus.c, change all the BLE_GAP_CONN_SEC_MODE_SET_OPEN to BLE_GAP_CONN_SEC_MODE_SET_ENC_NO_MITM

With above modification, ios can't find the device. Then I change all the read_perm to BLE_GAP_CONN_SEC_MODE_SET_OPEN, ios can find the device, but I can't trigger the bond process by read or write characteristics with lightblue(the ble test software) on iphone.

So anyone can tell me how to make the bond work?

Parents Reply Children
No Data
Related