GAP Failed Pairing: Pairing aborted by the application

S120 SoftDevice v2.1.0 API

S120 SoftDevice v2.1.0

When the application detects that the pairing should not be performed, for example an insufficient IO combination, it can use sd_ble_gap_sec_params_reply() to send SMP Pairing failed to the peer.

When the stack handles the response from the application it will also validate the passkey (SMP_STC_PASSKEY_ENTRY_FAILED). If any error is detected it will be reported when sd_ble_gap_sec_params_reply() is called.

msc_inline_mscgraph_18

Please send us your feedback about the documentation! For technical questions, visit the Nordic Developer Zone .