Hi I have a problem with bonding issue. I have created a BLE device with following configuration
Now the device I am implementing doesn't have input and output to perform authentication. As a result when I go for secure connection, I chose pairing as Unauthenticated Pairing with Encryption
Now I am trying to pair it with LightBlue Application running on my Mobile phone. So I see that the connection to my BLE device happens successfully. However there is no Bonding that happens although I have enabled bonding in the configuration. Also I am not even getting CYBLE_EVT_GAP_ENCRYPT_CHANGE event. I am not sure if there is something I am missing in the configuration. For your information I am attaching my stack handler code as well.
Please let me know what I am doing in correct out here. I had a look at the PSoC 100 projects in 100 days as well PSoC-4-BLE/100_Projects_in_100_Days at master · cypresssemiconductorco/PSoC-4-BLE · GitHub but couldn't find too much information regarding my problem. I am not sure what am I doing incorrect.
I figured this out. Looks like I had to clean up the pairing on my old Samsung Galaxy J3. Once I did that it started working after the above changes. I see that it even works for iPhone as well.