From da3149f3185e7cc241a624155fc75e32c6901f86 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 9 Jun 2011 16:09:29 +0900 Subject: [PATCH] hcidump: Add missing error code descriptions from Core spec. 4.0 --- tools/parser/hci.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/parser/hci.c b/tools/parser/hci.c index b85cc1478..f41eec222 100644 --- a/tools/parser/hci.c +++ b/tools/parser/hci.c @@ -417,7 +417,7 @@ static char *cmd_le_str[CMD_LE_NUM + 1] = { "LE Test End", }; -#define ERROR_CODE_NUM 56 +#define ERROR_CODE_NUM 63 static char *error_code_str[ERROR_CODE_NUM + 1] = { "Success", "Unknown HCI Command", @@ -476,6 +476,13 @@ static char *error_code_str[ERROR_CODE_NUM + 1] = { "Extended Inquiry Response Too Large", "Simple Pairing Not Supported by Host", "Host Busy - Pairing", + "Connection Rejected due to No Suitable Channel Found", + "Controller Busy", + "Unacceptable Connection Interval", + "Directed Advertising Timeout", + "Connection Terminated Due to MIC Failure", + "Connection Failed to be Established", + "MAC Connection Failed", }; static char *status2str(uint8_t status) -- 2.47.3