AnsweredAssumed Answered

How to recognize the use of a 'WrongPasskey' ?

Question asked by Daniele Nava on Jun 28, 2019
Latest reply on Jul 15, 2019 by Estephania Martinez

Good Afternoon,


I'm building a BLE application based on HW FRDM-KW36Z.

I want to detect with certainty the event of a disconnection caused by the use of a wrong passkey. 


I has been able to detect the following event:

pConnectionEvent->eventType = gConnEvtPairingComplete_c

pConnectionEvent->eventData.pairingCompleteEvent.pairingCompleteData.failReason == gSmPairingErrorConfirmValueFailed_c


This, apparently, is caused by the failure of the procedure of pin check.

This seems to be compliant with what i find in the BLE Core Specs 5.0. 


Can this event be generated by another cause?