mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-21 21:41:13 +00:00
hci_cmd: add le remote connection parameter commands
This commit is contained in:
parent
ff04bac77c
commit
fe704c9511
@ -1108,6 +1108,29 @@ OPCODE(OGF_LE_CONTROLLER, 0x1f), "1"
|
||||
// return: status, number of packets (8)
|
||||
};
|
||||
|
||||
/**
|
||||
* @param conn_handle
|
||||
* @param conn_interval_min ([0x0006,0x0c80], unit: 1.25 msec)
|
||||
* @param conn_interval_max ([0x0006,0x0c80], unit: 1.25 msec)
|
||||
* @param conn_latency ([0x0000,0x03e8], number of connection events)
|
||||
* @param supervision_timeout ([0x000a,0x0c80], unit: 10 msec)
|
||||
* @param minimum_CE_length ([0x0000,0xffff], unit: 0.625 msec)
|
||||
* @param maximum_CE_length ([0x0000,0xffff], unit: 0.625 msec)
|
||||
*/
|
||||
const hci_cmd_t hci_le_remote_connection_parameter_request_reply = {
|
||||
OPCODE(OGF_LE_CONTROLLER, 0x20), "H222222"
|
||||
// return: status, connection handle
|
||||
};
|
||||
|
||||
/**
|
||||
* @param con_handle
|
||||
* @param reason
|
||||
*/
|
||||
const hci_cmd_t hci_le_remote_connection_parameter_request_negative_reply = {
|
||||
OPCODE(OGF_LE_CONTROLLER, 0x21), "H1"
|
||||
// return: status, connection handle
|
||||
};
|
||||
|
||||
/**
|
||||
* @param con_handle
|
||||
* @param tx_octets
|
||||
@ -1118,7 +1141,6 @@ OPCODE(OGF_LE_CONTROLLER, 0x22), "H22"
|
||||
// return: status, connection handle
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
*/
|
||||
const hci_cmd_t hci_le_read_suggested_default_data_length = {
|
||||
|
@ -181,6 +181,8 @@ 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_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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user