mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
add hci read/write loopback mode commands
This commit is contained in:
parent
61123c53f6
commit
f3e25de360
@ -686,6 +686,26 @@ OPCODE(OGF_CONTROLLER_BASEBAND, 0x6d), "11"
|
||||
// return: status
|
||||
};
|
||||
|
||||
/**
|
||||
* Testing Commands
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
*/
|
||||
const hci_cmd_t hci_read_loopback_mode = {
|
||||
OPCODE(OGF_TESTING, 0x01), ""
|
||||
// return: status, loopback mode (0 = off, 1 = local loopback, 2 = remote loopback)
|
||||
};
|
||||
|
||||
/**
|
||||
* @param loopback_mode
|
||||
*/
|
||||
const hci_cmd_t hci_write_loopback_mode = {
|
||||
OPCODE(OGF_TESTING, 0x01), "1"
|
||||
// return: status
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Informational Parameters
|
||||
|
@ -1023,6 +1023,8 @@ extern const hci_cmd_t hci_write_page_timeout;
|
||||
extern const hci_cmd_t hci_write_scan_enable;
|
||||
extern const hci_cmd_t hci_write_simple_pairing_mode;
|
||||
extern const hci_cmd_t hci_write_synchronous_flow_control_enable;
|
||||
extern const hci_cmd_t hci_read_loopback_mode;
|
||||
extern const hci_cmd_t hci_write_loopback_mode;
|
||||
|
||||
extern const hci_cmd_t hci_le_add_device_to_white_list;
|
||||
extern const hci_cmd_t hci_le_clear_white_list;
|
||||
|
Loading…
x
Reference in New Issue
Block a user