Hello all,
Thank you in advance for taking your time for reading this question. I'm developing a proximity application and I have programmed the nRF51 DK with the s110 ble_app_proximity. I have modified it to ask for a password when pairing. Attachment: main6415.c
I've downloaded the nrfToolbox app for Android and IOS and tested it with a Samsung Galaxy S4 with Android 5 and with an iphone 6 with ios 9.3.
With the galaxy everything went perfect, but with the iphone 6 the nrf51 was available for scanning but when I tried the pairing, it showed me a message saying that the device is out of range and offered me to pair again. So I pressed the cancel button and I got the message "Error Connecting to the peripheral failed".
Debugging with Xcode, this is what happens:
Debugging with keil, into app_error_handler I got 0x00000088 error_code followed by a 0xDEADBEEF as follows:
Do you know what can be the reason for this? If you feel that I forgot adding something to this question, please comment.
Thank you