is there a working server bonding example | Cypress Semiconductor
is there a working server bonding example
I have run the client bonding example from project #15 of 100 days of code, however I am designing a server with no display and no keypad, and i want it to pair/bond to android app so user doesnt have to keep manually manipulating the andrio app to see the device, according to debug uart printing to tera term the device does:
CYBLE_EVT_GAP_AUTH_REQ: security=0x3, bonding=0x1, ekeySize=0x10, err=0x0
Store bonding data, PENDING status: 28
Yet if I exit the app and re enter the app, either the pairing data is not being recovered, or the previous flash write did not execute properly.
similarily, if I use the Cysmart PC application, I can connect, then pair, then discover all attributes, and enable all attributes, and if I disconnect, there is a key stored in the connections white list, but when I try to reconnect, pairing fails, because it tries to use a different key.
So I was wondering if others are seeing this, OR is there an example project where this works properly? I have not been through all the example codes,