From e6c56d4e712a70c40139e2e9e3b91fde858a482c Mon Sep 17 00:00:00 2001 From: Waldemar Rymarkiewicz Date: Thu, 28 Apr 2011 12:50:46 +0200 Subject: [PATCH] Add secure param to mgmt_ev_pin_code_request Update mgmt interface with secure param in PIN code request event which is part of secure PIN requirement implementation. --- doc/mgmt-api.txt | 1 + lib/mgmt.h | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt index 925b5ada2..45f6a6470 100644 --- a/doc/mgmt-api.txt +++ b/doc/mgmt-api.txt @@ -482,6 +482,7 @@ PIN Code Request Event Event Code 0x000E Controller Index: Event Parameters Address (6 Octets) + Secure (1 Octet) User Confirmation Request Event diff --git a/lib/mgmt.h b/lib/mgmt.h index 22979d9ca..57e760388 100644 --- a/lib/mgmt.h +++ b/lib/mgmt.h @@ -259,6 +259,7 @@ struct mgmt_ev_connect_failed { #define MGMT_EV_PIN_CODE_REQUEST 0x000E struct mgmt_ev_pin_code_request { bdaddr_t bdaddr; + uint8_t secure; } __packed; #define MGMT_EV_USER_CONFIRM_REQUEST 0x000F -- 2.47.3