diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2011-06-09 16:09:29 +0900 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2011-06-09 16:10:01 +0900 |
commit | f0b89eca3ed3c80fc61c29bb3a720adfacf37a90 (patch) | |
tree | c1e733e449903fa51609c5d8f469e2ccde4e7d42 | |
parent | f0a2c8e576fc7720a20d200155ca46ba1b8246c5 (diff) | |
download | bluez-hcidump-f0b89eca3ed3c80fc61c29bb3a720adfacf37a90.tar.gz |
Add missing error code descriptions from Core spec. 4.0
-rw-r--r-- | parser/hci.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/parser/hci.c b/parser/hci.c index b85cc14..f41eec2 100644 --- a/parser/hci.c +++ b/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) |