hci: add hci_read_pin_type and hci_write_pin_type

This commit is contained in:
Matthias Ringwald 2019-09-12 18:05:03 +02:00
parent 54b65e6f06
commit 9af39d9f0f
2 changed files with 17 additions and 1 deletions

View File

@ -592,7 +592,21 @@ OPCODE(OGF_CONTROLLER_BASEBAND, 0x03), ""
* @param handle
*/
const hci_cmd_t hci_flush = {
OPCODE(OGF_CONTROLLER_BASEBAND, 0x09), "H"
OPCODE(OGF_CONTROLLER_BASEBAND, 0x08), "H"
};
/**
* @param handle
*/
const hci_cmd_t hci_read_pin_type = {
OPCODE(OGF_CONTROLLER_BASEBAND, 0x09), ""
};
/**
* @param handle
*/
const hci_cmd_t hci_write_pin_type = {
OPCODE(OGF_CONTROLLER_BASEBAND, 0x0A), "1"
};
/**

View File

@ -120,6 +120,7 @@ extern const hci_cmd_t hci_read_local_extended_oob_data;
extern const hci_cmd_t hci_read_local_name;
extern const hci_cmd_t hci_read_page_timeout;
extern const hci_cmd_t hci_read_page_scan_activity;
extern const hci_cmd_t hci_read_pin_type;
extern const hci_cmd_t hci_read_local_oob_data;
extern const hci_cmd_t hci_read_local_supported_commands;
extern const hci_cmd_t hci_read_local_supported_features;
@ -161,6 +162,7 @@ extern const hci_cmd_t hci_write_local_name;
extern const hci_cmd_t hci_write_loopback_mode;
extern const hci_cmd_t hci_write_num_broadcast_retransmissions;
extern const hci_cmd_t hci_write_page_timeout;
extern const hci_cmd_t hci_write_pin_type;
extern const hci_cmd_t hci_write_page_scan_activity;
extern const hci_cmd_t hci_write_scan_enable;
extern const hci_cmd_t hci_write_secure_connections_test_mode;