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

Sending data before pairing

I have a timer that sends BLE data to a central every 5 seconds. The timers starts immediately out of reset. Until I actually pair the devices, the nRF51822 outputs an error message NRF_ERROR_INVALID_STATE when it tries to send the data. I understand that it is because I'm trying to send data before the two are paired, but how do I test if that pairing has been done?

Parents Reply Children
No Data
Related