From b0bb5abe4501bdbf50bb7ed9ee76bd7b0ed71f32 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Sat, 28 Nov 2009 21:45:21 +0000 Subject: [PATCH] added hci_authentication_requested --- include/btstack/hci_cmds.h | 1 + src/hci_cmds.c | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/include/btstack/hci_cmds.h b/include/btstack/hci_cmds.h index 998658777..0877cc348 100644 --- a/include/btstack/hci_cmds.h +++ b/include/btstack/hci_cmds.h @@ -165,6 +165,7 @@ extern hci_cmd_t hci_inquiry; extern hci_cmd_t hci_inquiry_cancel; extern hci_cmd_t hci_link_key_request_negative_reply; extern hci_cmd_t hci_pin_code_request_reply; +extern hci_cmd_t hci_authentication_requested; extern hci_cmd_t hci_set_event_mask; extern hci_cmd_t hci_reset; extern hci_cmd_t hci_create_connection; diff --git a/src/hci_cmds.c b/src/hci_cmds.c index c11706a35..d66e57e3d 100644 --- a/src/hci_cmds.c +++ b/src/hci_cmds.c @@ -170,6 +170,10 @@ hci_cmd_t hci_pin_code_request_reply = { OPCODE(OGF_LINK_CONTROL, 0x0d), "B1P" // BD_ADDR, pin length, PIN: c-string }; +hci_cmd_t hci_authentication_requested = { +OPCODE(OGF_LINK_CONTROL, 0x11), "H" +// Handle +}; hci_cmd_t hci_remote_name_request = { OPCODE(OGF_LINK_CONTROL, 0x19), "B112" // BD_ADDR, Page_Scan_Repetition_Mode, Reserved, Clock_Offset