Auth/Encrypt Bonding One-to-one | Cypress Semiconductor
Auth/Encrypt Bonding One-to-one
I'm designing both sides, Server and Client, and want to setup the bonding similar to what's show in the 100 days Privacy example.
The issue I'm having trouble understanding is that neither device has numerical keys for authorization.
The way I would like to work around this is, internally on the Peripheral/Server side, I'll use a formula to create a key using internal data, and on the Central/Client side, I can use the same formula and advertisement or scanned response data to create the create key to bond.
I've looked at the Privacy example because it will be a one-to-one setup, so no other devices will need to be bonded.
How can I set this up to setup the link with little user interaction? An idea would be that once the Central scans the unbonded peripheral, an LED flashed and waits for a single button press on the Central to complete/confirm bonding with that peripheral.
Thank you in advance for any direction on this.