From be20afbb118ca72855256b943a67cb6a3122bab7 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 16 May 2014 12:11:05 +0300 Subject: [PATCH] monitor: Add translations of LE SC error codes --- monitor/l2cap.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/monitor/l2cap.c b/monitor/l2cap.c index ebdd20fe7..2645587ac 100644 --- a/monitor/l2cap.c +++ b/monitor/l2cap.c @@ -2456,6 +2456,18 @@ static void smp_pairing_failed(const struct l2cap_frame *frame) case 0x0a: str = "Invalid parameters"; break; + case 0x0b: + str = "DHKey check failed"; + break; + case 0x0c: + str = "Numeric comparison failed"; + break; + case 0x0d: + str = "BR/EDR pairing in progress"; + break; + case 0x0e: + str = "Cross-transport Key Derivation/Generation not allowed"; + break; default: str = "Reserved"; break; -- 2.47.3