mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-16 08:42:28 +00:00
added hci_delete_stored_link_key command
This commit is contained in:
parent
efbae73623
commit
e521ef4042
13
src/hci.c
13
src/hci.c
@ -17,6 +17,9 @@
|
|||||||
#define OGF_CONTROLLER_BASEBAND 0x03
|
#define OGF_CONTROLLER_BASEBAND 0x03
|
||||||
#define OGF_INFORMATIONAL_PARAMETERS 0x04
|
#define OGF_INFORMATIONAL_PARAMETERS 0x04
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Link Control Commands
|
||||||
|
*/
|
||||||
hci_cmd_t hci_inquiry = {
|
hci_cmd_t hci_inquiry = {
|
||||||
OPCODE(OGF_LINK_CONTROL, 0x01), "311"
|
OPCODE(OGF_LINK_CONTROL, 0x01), "311"
|
||||||
// LAP, Inquiry length, Num_responses
|
// LAP, Inquiry length, Num_responses
|
||||||
@ -45,19 +48,25 @@ hci_cmd_t hci_remote_name_request = {
|
|||||||
// BD_ADDR
|
// BD_ADDR
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Controller & Baseband Commands
|
||||||
|
*/
|
||||||
hci_cmd_t hci_reset = {
|
hci_cmd_t hci_reset = {
|
||||||
OPCODE(OGF_CONTROLLER_BASEBAND, 0x03), ""
|
OPCODE(OGF_CONTROLLER_BASEBAND, 0x03), ""
|
||||||
|
// no params
|
||||||
|
};
|
||||||
|
hci_cmd_t hci_delete_stored_link_key = {
|
||||||
|
OPCODE(OGF_CONTROLLER_BASEBAND, 0x12), "B1"
|
||||||
|
// BD_ADDR, Delete_All_Flag
|
||||||
};
|
};
|
||||||
hci_cmd_t hci_write_page_timeout = {
|
hci_cmd_t hci_write_page_timeout = {
|
||||||
OPCODE(OGF_CONTROLLER_BASEBAND, 0x18), "2"
|
OPCODE(OGF_CONTROLLER_BASEBAND, 0x18), "2"
|
||||||
// Page_Timeout * 0.625 ms
|
// Page_Timeout * 0.625 ms
|
||||||
};
|
};
|
||||||
|
|
||||||
hci_cmd_t hci_write_authentication_enable = {
|
hci_cmd_t hci_write_authentication_enable = {
|
||||||
OPCODE(OGF_CONTROLLER_BASEBAND, 0x20), "1"
|
OPCODE(OGF_CONTROLLER_BASEBAND, 0x20), "1"
|
||||||
// Authentication_Enable
|
// Authentication_Enable
|
||||||
};
|
};
|
||||||
|
|
||||||
hci_cmd_t hci_host_buffer_size = {
|
hci_cmd_t hci_host_buffer_size = {
|
||||||
OPCODE(OGF_CONTROLLER_BASEBAND, 0x33), "2122"
|
OPCODE(OGF_CONTROLLER_BASEBAND, 0x33), "2122"
|
||||||
// Host_ACL_Data_Packet_Length:, Host_Synchronous_Data_Packet_Length:, Host_Total_Num_ACL_Data_Packets:, Host_Total_Num_Synchronous_Data_Packets:
|
// Host_ACL_Data_Packet_Length:, Host_Synchronous_Data_Packet_Length:, Host_Total_Num_ACL_Data_Packets:, Host_Total_Num_Synchronous_Data_Packets:
|
||||||
|
@ -189,4 +189,4 @@ extern hci_cmd_t hci_write_page_timeout;
|
|||||||
extern hci_cmd_t hci_remote_name_request;
|
extern hci_cmd_t hci_remote_name_request;
|
||||||
extern hci_cmd_t hci_remote_name_request_cancel;
|
extern hci_cmd_t hci_remote_name_request_cancel;
|
||||||
extern hci_cmd_t hci_read_bd_addr;
|
extern hci_cmd_t hci_read_bd_addr;
|
||||||
|
extern hci_cmd_t hci_delete_stored_link_key;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user