mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-25 09:02:30 +00:00
hci_cmd: add hci_park_state and hci_exit_park_state
This commit is contained in:
parent
29ae3d7dfb
commit
6f351188be
@ -657,6 +657,24 @@ const hci_cmd_t hci_exit_sniff_mode = {
|
|||||||
HCI_OPCODE_HCI_EXIT_SNIFF_MODE, "H"
|
HCI_OPCODE_HCI_EXIT_SNIFF_MODE, "H"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note Removed in Bluetooth Core v5.0
|
||||||
|
* @param handle
|
||||||
|
* @param beacon_max_interval * 0.625 ms, range: 0x000E..0xFFFE; only even values are valid.
|
||||||
|
* @param beacon_max_interval * 0.625 ms, range: 0x000E..0xFFFE; only even values are valid.
|
||||||
|
*/
|
||||||
|
const hci_cmd_t hci_park_state = {
|
||||||
|
HCI_OPCODE_HCI_PARK_STATE, "H22"
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note Removed in Bluetooth Core v5.0
|
||||||
|
* @param handle
|
||||||
|
*/
|
||||||
|
const hci_cmd_t hci_exit_park_state = {
|
||||||
|
HCI_OPCODE_HCI_EXIT_PARK_STATE, "H"
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param handle
|
* @param handle
|
||||||
* @param flags
|
* @param flags
|
||||||
|
@ -126,6 +126,8 @@ typedef enum {
|
|||||||
HCI_OPCODE_HCI_HOLD_MODE = HCI_OPCODE (OGF_LINK_POLICY, 0x01),
|
HCI_OPCODE_HCI_HOLD_MODE = HCI_OPCODE (OGF_LINK_POLICY, 0x01),
|
||||||
HCI_OPCODE_HCI_SNIFF_MODE = HCI_OPCODE (OGF_LINK_POLICY, 0x03),
|
HCI_OPCODE_HCI_SNIFF_MODE = HCI_OPCODE (OGF_LINK_POLICY, 0x03),
|
||||||
HCI_OPCODE_HCI_EXIT_SNIFF_MODE = HCI_OPCODE (OGF_LINK_POLICY, 0x04),
|
HCI_OPCODE_HCI_EXIT_SNIFF_MODE = HCI_OPCODE (OGF_LINK_POLICY, 0x04),
|
||||||
|
HCI_OPCODE_HCI_PARK_STATE = HCI_OPCODE (OGF_LINK_POLICY, 0x05),
|
||||||
|
HCI_OPCODE_HCI_EXIT_PARK_STATE = HCI_OPCODE (OGF_LINK_POLICY, 0x06),
|
||||||
HCI_OPCODE_HCI_QOS_SETUP = HCI_OPCODE (OGF_LINK_POLICY, 0x07),
|
HCI_OPCODE_HCI_QOS_SETUP = HCI_OPCODE (OGF_LINK_POLICY, 0x07),
|
||||||
HCI_OPCODE_HCI_ROLE_DISCOVERY = HCI_OPCODE (OGF_LINK_POLICY, 0x09),
|
HCI_OPCODE_HCI_ROLE_DISCOVERY = HCI_OPCODE (OGF_LINK_POLICY, 0x09),
|
||||||
HCI_OPCODE_HCI_SWITCH_ROLE_COMMAND = HCI_OPCODE (OGF_LINK_POLICY, 0x0b),
|
HCI_OPCODE_HCI_SWITCH_ROLE_COMMAND = HCI_OPCODE (OGF_LINK_POLICY, 0x0b),
|
||||||
@ -353,6 +355,8 @@ extern const hci_cmd_t hci_io_capability_request_negative_reply;
|
|||||||
extern const hci_cmd_t hci_io_capability_request_reply;
|
extern const hci_cmd_t hci_io_capability_request_reply;
|
||||||
extern const hci_cmd_t hci_link_key_request_negative_reply;
|
extern const hci_cmd_t hci_link_key_request_negative_reply;
|
||||||
extern const hci_cmd_t hci_link_key_request_reply;
|
extern const hci_cmd_t hci_link_key_request_reply;
|
||||||
|
extern const hci_cmd_t hci_park_state;
|
||||||
|
extern const hci_cmd_t hci_exit_park_state;
|
||||||
extern const hci_cmd_t hci_pin_code_request_negative_reply;
|
extern const hci_cmd_t hci_pin_code_request_negative_reply;
|
||||||
extern const hci_cmd_t hci_pin_code_request_reply;
|
extern const hci_cmd_t hci_pin_code_request_reply;
|
||||||
extern const hci_cmd_t hci_qos_setup;
|
extern const hci_cmd_t hci_qos_setup;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user