pub const fn record_pairing_failure(
current: u8,
failure: PairingFailureClass,
) -> (u8, bool)Expand description
Apply one pairing failure to the per-power-cycle lockout counter.
Protocol errors and policy rejections deliberately leave the counter unchanged so a remote peer cannot lock out legitimate pairing without guessing a PIN.