From 5b1804341c067752d6bb8c634e7c28043ca5938a Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Wed, 12 Jul 2017 21:51:28 +0200 Subject: [PATCH] l2cap-ertm: add l2cap configuration result defines --- src/bluetooth.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/bluetooth.h b/src/bluetooth.h index d4ff02931..c1f0f7c3a 100644 --- a/src/bluetooth.h +++ b/src/bluetooth.h @@ -683,7 +683,12 @@ typedef enum { #define L2CAP_CID_SECURITY_MANAGER_PROTOCOL 0x0006 // L2CAP Configuration Result Codes -#define L2CAP_CONF_RESULT_UNKNOWN_OPTIONS 0x0003 +#define L2CAP_CONF_RESULT_SUCCESS 0x0000 +#define L2CAP_CONF_RESULT_UNACCEPTABLE_PARAMETERS 0x0001 +#define L2CAP_CONF_RESULT_REJECT 0x0002 +#define L2CAP_CONF_RESULT_UNKNOWN_OPTIONS 0x0003 +#define L2CAP_CONF_RESULT_PENDING 0x0004 +#define L2CAP_CONF_RESULT_FLOW_SPEC_REJECTED 0x0005 // L2CAP Reject Result Codes #define L2CAP_REJ_CMD_UNKNOWN 0x0000