hci: add hci_read_transmit_power_level

This commit is contained in:
Matthias Ringwald 2019-08-16 12:06:00 +02:00
parent e1f022c2ad
commit 44751e25f3
2 changed files with 9 additions and 0 deletions

View File

@ -679,6 +679,14 @@ const hci_cmd_t hci_write_num_broadcast_retransmissions = {
OPCODE(OGF_CONTROLLER_BASEBAND, 0x2a), "1"
};
/**
* @param connection_handle
* @param type 0 = current transmit level, 1 = max transmit level
*/
const hci_cmd_t hci_read_transmit_power_level = {
OPCODE(OGF_CONTROLLER_BASEBAND, 0x2D), "11"
};
/**
* @param synchronous_flow_control_enable - if yes, num completed packet everts are sent for SCO packets
*/

View File

@ -127,6 +127,7 @@ extern const hci_cmd_t hci_read_loopback_mode;
extern const hci_cmd_t hci_read_num_broadcast_retransmissions;
extern const hci_cmd_t hci_read_remote_supported_features_command;
extern const hci_cmd_t hci_read_remote_version_information;
extern const hci_cmd_t hci_read_transmit_power_level;
extern const hci_cmd_t hci_read_rssi;
extern const hci_cmd_t hci_reject_connection_request;
extern const hci_cmd_t hci_remote_name_request;