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