Pairing with a fixed passkey | Cypress Semiconductor
Pairing with a fixed passkey
I am developing an application with a PRoC BLE as a Peripheral, where I would like to support pairing with a Central device using a fixed 6-digit passkey, ie. not a randomly generated one. Is that possible?
My device does not have display capabilities and a very limited keyboard that is not sufficient for entering all 10 digits. If I set the I/O capabilities in the GAP security settings to 'Display Only' then the stack will generate CYBLE_EVT_GAP_PASSKEY_DISPLAY_REQUEST event for displaying a randomly generated pin. There does not seem to be a way for setting a fixed passkey.