mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
hci_cmd: add commands for LE PHY control
This commit is contained in:
parent
cd542ed65d
commit
ca13daef16
@ -1198,6 +1198,37 @@ OPCODE(OGF_LE_CONTROLLER, 0x2F), ""
|
||||
// return: status, supported max tx octets, supported max tx time, supported max rx octets, supported max rx time
|
||||
};
|
||||
|
||||
/**
|
||||
* @param con_handle
|
||||
*/
|
||||
const hci_cmd_t hci_le_read_phy = {
|
||||
OPCODE(OGF_LE_CONTROLLER, 0x30), "H"
|
||||
// return: status, connection handler, tx phy, rx phy
|
||||
};
|
||||
|
||||
/**
|
||||
* @param all_phys
|
||||
* @param tx_phys
|
||||
* @param rx_phys
|
||||
*/
|
||||
const hci_cmd_t hci_le_set_default_phy = {
|
||||
OPCODE(OGF_LE_CONTROLLER, 0x31), "111"
|
||||
// return: status
|
||||
};
|
||||
|
||||
/**
|
||||
* @param con_handle
|
||||
* @param all_phys
|
||||
* @param tx_phys
|
||||
* @param rx_phys
|
||||
* @param phy_options
|
||||
*/
|
||||
const hci_cmd_t hci_le_set_phy = {
|
||||
OPCODE(OGF_LE_CONTROLLER, 0x32), "H1111"
|
||||
// LE PHY Update Complete is generated on completion
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
// Broadcom / Cypress specific HCI commands
|
||||
|
@ -177,21 +177,24 @@ extern const hci_cmd_t hci_le_read_buffer_size ;
|
||||
extern const hci_cmd_t hci_le_read_channel_map;
|
||||
extern const hci_cmd_t hci_le_read_local_p256_public_key;
|
||||
extern const hci_cmd_t hci_le_read_maximum_data_length;
|
||||
extern const hci_cmd_t hci_le_read_phy;
|
||||
extern const hci_cmd_t hci_le_read_remote_used_features;
|
||||
extern const hci_cmd_t hci_le_read_suggested_default_data_length;
|
||||
extern const hci_cmd_t hci_le_read_supported_features;
|
||||
extern const hci_cmd_t hci_le_read_supported_states;
|
||||
extern const hci_cmd_t hci_le_read_white_list_size;
|
||||
extern const hci_cmd_t hci_le_receiver_test;
|
||||
extern const hci_cmd_t hci_le_remote_connection_parameter_request_reply;
|
||||
extern const hci_cmd_t hci_le_remote_connection_parameter_request_negative_reply;
|
||||
extern const hci_cmd_t hci_le_remote_connection_parameter_request_reply;
|
||||
extern const hci_cmd_t hci_le_remove_device_from_white_list;
|
||||
extern const hci_cmd_t hci_le_set_advertise_enable;
|
||||
extern const hci_cmd_t hci_le_set_advertising_data;
|
||||
extern const hci_cmd_t hci_le_set_advertising_parameters;
|
||||
extern const hci_cmd_t hci_le_set_data_length;
|
||||
extern const hci_cmd_t hci_le_set_default_phy;
|
||||
extern const hci_cmd_t hci_le_set_event_mask;
|
||||
extern const hci_cmd_t hci_le_set_host_channel_classification;
|
||||
extern const hci_cmd_t hci_le_set_phy;
|
||||
extern const hci_cmd_t hci_le_set_random_address;
|
||||
extern const hci_cmd_t hci_le_set_scan_enable;
|
||||
extern const hci_cmd_t hci_le_set_scan_parameters;
|
||||
|
Loading…
x
Reference in New Issue
Block a user