Bluetooth: Controller: Switch to Zephyr's hci.h for cmd handling
Continue using Zephyr's include/bluetooth/hci.h for HCI command handling in more of the commands. This commit deletes all command and command complete and command status event definitions and structures present in hci.c. This is the sixth commit in a series that transitions from the structures in hci.c to the ones in hci.h. Jira: ZEP-726 Change-Id: I34635a1f55f3aef124fd5ff005c99cedb40b8a49 Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
parent
be2bbbae2d
commit
9d48ef5888
1 changed files with 1 additions and 522 deletions
|
@ -45,256 +45,10 @@ enum {
|
|||
HCI_EVT = 0x04,
|
||||
};
|
||||
|
||||
enum {
|
||||
HCI_OGF_LINK_CONTROL = 0x01,
|
||||
HCI_OGF_CONTROL_AND_BASEBAND = 0x03,
|
||||
HCI_OGF_INFORMATIONAL = 0x04,
|
||||
HCI_OGF_LE_CONTROLLER = 0x08,
|
||||
HCI_OGF_VENDOR_SPECIFIC = 0x3F,
|
||||
};
|
||||
|
||||
enum {
|
||||
HCI_OCF_DISCONNECT = 0x0006,
|
||||
HCI_OCF_READ_REMOTE_VERSION_INFO = 0x001D,
|
||||
};
|
||||
|
||||
enum {
|
||||
HCI_OCF_SET_EVENT_MASK = 0x0001,
|
||||
HCI_OCF_RESET = 0x0003,
|
||||
HCI_OCF_DELETE_STORED_LINK_KEY = 0x0012,
|
||||
HCI_OCF_READ_LOCAL_NAME = 0x0014,
|
||||
HCI_OCF_READ_CLASS_OF_DEVICE = 0x0023,
|
||||
HCI_OCF_READ_VOICE_SETTING = 0x0025,
|
||||
HCI_OCF_WRITE_LE_HOST_SUPPORTED = 0x006D,
|
||||
};
|
||||
|
||||
enum {
|
||||
HCI_OCF_READ_LOCAL_VERSION = 0x0001,
|
||||
HCI_OCF_READ_LOCAL_SUPPORTED_COMMANDS = 0x0002,
|
||||
HCI_OCF_READ_LOCAL_SUPPORTED_FEATURES = 0x0003,
|
||||
HCI_OCF_READ_BUFFER_SIZE = 0x0005,
|
||||
HCI_OCF_READ_BD_ADDR = 0x0009,
|
||||
};
|
||||
|
||||
enum {
|
||||
HCI_OCF_LE_SET_EVENT_MASK = 0x0001,
|
||||
HCI_OCF_LE_READ_BUFFER_SIZE = 0x0002,
|
||||
HCI_OCF_LE_READ_LOCAL_SUPPORTED_FEATURES = 0x0003,
|
||||
HCI_OCF_LE_SET_RANDOM_ADDRESS = 0x0005,
|
||||
HCI_OCF_LE_SET_ADV_PARAMS = 0x0006,
|
||||
HCI_OCF_LE_READ_ADV_CHL_TX_POWER = 0x0007,
|
||||
HCI_OCF_LE_SET_ADV_DATA = 0x0008,
|
||||
HCI_OCF_LE_SET_SCAN_RESP_DATA = 0x0009,
|
||||
HCI_OCF_LE_SET_ADV_ENABLE = 0x000A,
|
||||
HCI_OCF_LE_SET_SCAN_PARAMS = 0x000B,
|
||||
HCI_OCF_LE_SET_SCAN_ENABLE = 0x000C,
|
||||
HCI_OCF_LE_CREATE_CONNECTION = 0x000D,
|
||||
HCI_OCF_LE_CREATE_CONNECTION_CANCEL = 0x000E,
|
||||
HCI_OCF_LE_READ_WHITELIST_SIZE = 0x000F,
|
||||
HCI_OCF_LE_CLEAR_WHITELIST = 0x0010,
|
||||
HCI_OCF_LE_ADD_DEVICE_TO_WHITELIST = 0x0011,
|
||||
HCI_OCF_LE_CONNECTION_UPDATE = 0x0013,
|
||||
HCI_OCF_LE_SET_HOST_CHL_CLASSN = 0x0014,
|
||||
HCI_OCF_LE_READ_REMOTE_USED_FEATURES = 0x0016,
|
||||
HCI_OCF_LE_ENCRYPT = 0x0017,
|
||||
HCI_OCF_LE_RAND = 0x0018,
|
||||
HCI_OCF_LE_START_ENCRYPTION = 0x0019,
|
||||
HCI_OCF_LE_LTK_REQUEST_REPLY = 0x001A,
|
||||
HCI_OCF_LE_LTK_NEGATIVE_REPLY = 0x001B,
|
||||
HCI_OCF_LE_READ_SUPPORTED_STATES = 0x001C,
|
||||
HCI_OCF_LE_REMOTE_CONN_PARAM_REQ_REPLY = 0x0020,
|
||||
HCI_OCF_LE_REMOTE_CONN_PARAM_REQ_NEG_REPLY = 0x0021,
|
||||
HCI_OCF_LE_SET_DATA_LENGTH = 0x0022,
|
||||
HCI_OCF_LE_READ_SUGGESTED_DEFAULT_DATA_LENGTH = 0x0023,
|
||||
HCI_OCF_LE_WRITE_SUGGESTED_DEFAULT_DATA_LENGTH = 0x0024,
|
||||
HCI_OCF_LE_READ_MAXIMUM_DATA_LENGTH = 0x002F,
|
||||
};
|
||||
|
||||
enum {
|
||||
HCI_OCF_NRF_SET_BD_ADDR = 0x0003,
|
||||
HCI_OCF_NRF_CONFIG_ACTIVE_SIGNAL = 0x0005,
|
||||
};
|
||||
|
||||
struct __packed hci_cmd_opcode {
|
||||
uint16_t ocf:10;
|
||||
uint16_t ogf:6;
|
||||
};
|
||||
|
||||
struct __packed hci_cmd_disconnect {
|
||||
uint16_t handle;
|
||||
uint8_t reason;
|
||||
};
|
||||
|
||||
struct __packed hci_cmd_le_set_rnd_addr {
|
||||
uint8_t addr[BDADDR_SIZE];
|
||||
};
|
||||
|
||||
struct __packed hci_cmd_le_set_adv_params {
|
||||
uint16_t interval_min;
|
||||
uint16_t interval_max;
|
||||
uint8_t type;
|
||||
uint8_t own_addr_type;
|
||||
uint8_t direct_addr_type;
|
||||
uint8_t direct_addr[BDADDR_SIZE];
|
||||
uint8_t channel_map;
|
||||
uint8_t filter_policy;
|
||||
};
|
||||
|
||||
struct __packed hci_cmd_le_set_adv_data {
|
||||
uint8_t len;
|
||||
uint8_t data[31];
|
||||
};
|
||||
|
||||
struct __packed hci_cmd_le_set_scan_data {
|
||||
uint8_t len;
|
||||
uint8_t data[31];
|
||||
};
|
||||
|
||||
struct __packed hci_cmd_le_set_adv_enable {
|
||||
uint8_t enable;
|
||||
};
|
||||
|
||||
struct __packed hci_cmd_le_set_scan_params {
|
||||
uint8_t type;
|
||||
uint16_t interval;
|
||||
uint16_t window;
|
||||
uint8_t own_addr_type;
|
||||
uint8_t filter_policy;
|
||||
};
|
||||
|
||||
struct __packed hci_cmd_le_set_scan_enable {
|
||||
uint8_t enable;
|
||||
};
|
||||
|
||||
struct __packed hci_cmd_le_create_conn {
|
||||
uint16_t scan_interval;
|
||||
uint16_t scan_window;
|
||||
uint8_t filter_policy;
|
||||
uint8_t peer_addr_type;
|
||||
uint8_t peer_addr[BDADDR_SIZE];
|
||||
uint8_t own_addr_type;
|
||||
uint16_t interval_min;
|
||||
uint16_t interval_max;
|
||||
uint16_t latency;
|
||||
uint16_t timeout;
|
||||
uint16_t min_ce_len;
|
||||
uint16_t max_ce_len;
|
||||
};
|
||||
|
||||
struct __packed hci_cmd_le_add_dev_to_wlist {
|
||||
uint8_t addr_type;
|
||||
uint8_t addr[BDADDR_SIZE];
|
||||
};
|
||||
|
||||
struct __packed hci_cmd_le_conn_update {
|
||||
uint16_t handle;
|
||||
uint16_t interval_min;
|
||||
uint16_t interval_max;
|
||||
uint16_t latency;
|
||||
uint16_t timeout;
|
||||
uint16_t min_ce_len;
|
||||
uint16_t max_ce_len;
|
||||
};
|
||||
|
||||
struct __packed hci_cmd_le_set_host_chl_classn {
|
||||
uint8_t channel_map[5];
|
||||
};
|
||||
|
||||
struct __packed hci_cmd_le_read_remote_used_feats {
|
||||
uint16_t handle;
|
||||
};
|
||||
|
||||
struct __packed hci_cmd_le_encrypt {
|
||||
uint8_t key[16];
|
||||
uint8_t plaintext[16];
|
||||
};
|
||||
|
||||
struct __packed hci_cmd_le_start_encryption {
|
||||
uint16_t handle;
|
||||
uint8_t rand[8];
|
||||
uint8_t ediv[2];
|
||||
uint8_t ltk[16];
|
||||
};
|
||||
|
||||
struct __packed hci_cmd_le_ltk_reply {
|
||||
uint16_t handle;
|
||||
uint8_t ltk[16];
|
||||
};
|
||||
|
||||
struct __packed hci_cmd_le_ltk_neg_reply {
|
||||
uint16_t handle;
|
||||
};
|
||||
|
||||
struct __packed hci_cmd_le_remote_conn_param_req_reply {
|
||||
uint16_t handle;
|
||||
uint16_t interval_min;
|
||||
uint16_t interval_max;
|
||||
uint16_t latency;
|
||||
uint16_t timeout;
|
||||
uint16_t min_ce_len;
|
||||
uint16_t max_ce_len;
|
||||
};
|
||||
|
||||
struct __packed hci_cmd_le_remote_conn_param_req_neg_reply {
|
||||
uint16_t handle;
|
||||
uint8_t reason;
|
||||
};
|
||||
|
||||
struct __packed hci_cmd_le_set_data_length {
|
||||
uint16_t handle;
|
||||
uint16_t tx_octets;
|
||||
uint16_t tx_time;
|
||||
};
|
||||
|
||||
struct __packed hci_cmd_nrf_set_bd_addr {
|
||||
uint8_t addr[BDADDR_SIZE];
|
||||
};
|
||||
|
||||
struct __packed hci_cmd_nrf_cfg_active_sig {
|
||||
uint8_t state;
|
||||
uint8_t distance;
|
||||
};
|
||||
|
||||
struct __packed hci_cmd {
|
||||
struct hci_cmd_opcode opcode;
|
||||
uint8_t len;
|
||||
union __packed {
|
||||
struct hci_cmd_disconnect disconnect;
|
||||
struct hci_cmd_le_set_rnd_addr le_set_rnd_addr;
|
||||
struct hci_cmd_le_set_adv_params le_set_adv_params;
|
||||
struct hci_cmd_le_set_adv_data le_set_adv_data;
|
||||
struct hci_cmd_le_set_scan_data le_set_scan_data;
|
||||
struct hci_cmd_le_set_adv_enable le_set_adv_enable;
|
||||
struct hci_cmd_le_set_scan_params le_set_scan_params;
|
||||
struct hci_cmd_le_set_scan_enable le_set_scan_enable;
|
||||
struct hci_cmd_le_create_conn le_create_conn;
|
||||
struct hci_cmd_le_add_dev_to_wlist le_add_dev_to_wlist;
|
||||
struct hci_cmd_le_conn_update le_conn_update;
|
||||
struct hci_cmd_le_set_host_chl_classn le_set_host_chl_classn;
|
||||
|
||||
struct hci_cmd_le_read_remote_used_feats
|
||||
le_read_remote_used_feats;
|
||||
struct hci_cmd_le_encrypt le_encrypt;
|
||||
struct hci_cmd_le_start_encryption le_start_encryption;
|
||||
struct hci_cmd_le_ltk_reply le_ltk_reply;
|
||||
struct hci_cmd_le_ltk_neg_reply le_ltk_neg_reply;
|
||||
|
||||
struct hci_cmd_le_remote_conn_param_req_reply
|
||||
le_remote_conn_param_req_reply;
|
||||
|
||||
struct hci_cmd_le_remote_conn_param_req_neg_reply
|
||||
le_remote_conn_param_req_neg_reply;
|
||||
struct hci_cmd_le_set_data_length le_set_data_length;
|
||||
struct hci_cmd_nrf_set_bd_addr nrf_set_bd_addr;
|
||||
|
||||
struct hci_cmd_nrf_cfg_active_sig
|
||||
nrf_cfg_active_sig;
|
||||
} params;
|
||||
};
|
||||
|
||||
/*****************************************************************************
|
||||
* HCI EVENTS
|
||||
*****************************************************************************/
|
||||
|
||||
enum {
|
||||
HCI_EVT_CODE_DISCONNECTION_COMPLETE = 0x05,
|
||||
HCI_EVT_CODE_ENCRYPTION_CHANGE = 0x08,
|
||||
|
@ -339,279 +93,6 @@ struct __packed hci_evt_read_remote_version_info_cmplt {
|
|||
uint16_t sub_version_number;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_set_event_mask {
|
||||
uint8_t status;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_reset {
|
||||
uint8_t status;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_delete_stored_link_key {
|
||||
uint8_t status;
|
||||
uint8_t num_keys_deleted;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_read_local_name {
|
||||
uint8_t status;
|
||||
uint8_t local_name[1];
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_read_class_of_device {
|
||||
uint8_t status;
|
||||
uint8_t class_of_device[3];
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_read_voice_setting {
|
||||
uint8_t status;
|
||||
uint8_t voice_setting[2];
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_read_local_version {
|
||||
uint8_t status;
|
||||
uint8_t hci_version;
|
||||
uint16_t hci_revision;
|
||||
uint8_t lmp_version;
|
||||
uint16_t manufacturer_name;
|
||||
uint16_t lmp_subversion;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_read_local_sup_cmds {
|
||||
uint8_t status;
|
||||
uint8_t value[64];
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_rd_local_sup_features {
|
||||
uint8_t status;
|
||||
uint8_t features[8];
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_read_buffer_size {
|
||||
uint8_t status;
|
||||
uint16_t acl_data_length;
|
||||
uint8_t sco_data_length;
|
||||
uint16_t num_acl_data;
|
||||
uint16_t num_sco_data;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_read_bd_addr {
|
||||
uint8_t status;
|
||||
uint8_t bd_addr[6];
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_le_set_event_mask {
|
||||
uint8_t status;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_le_read_buffer_size {
|
||||
uint8_t status;
|
||||
uint16_t acl_data_length;
|
||||
uint8_t acl_data_num;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_le_rd_loc_sup_features {
|
||||
uint8_t status;
|
||||
uint8_t features[8];
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_le_set_rnd_addr {
|
||||
uint8_t status;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_le_set_adv_params {
|
||||
uint8_t status;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_le_rd_adv_chl_tx_pwr {
|
||||
uint8_t status;
|
||||
uint8_t transmit_power_level;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_le_set_adv_data {
|
||||
uint8_t status;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_le_set_scan_resp_data {
|
||||
uint8_t status;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_le_set_adv_enable {
|
||||
uint8_t status;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_le_set_scan_params {
|
||||
uint8_t status;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_le_set_scan_enable {
|
||||
uint8_t status;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_le_create_conn_cancel {
|
||||
uint8_t status;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_le_read_whitelist_size {
|
||||
uint8_t status;
|
||||
uint8_t whitelist_size;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_le_clear_whitelist {
|
||||
uint8_t status;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_le_add_device_to_whitelist {
|
||||
uint8_t status;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_le_set_host_chl_classn {
|
||||
uint8_t status;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_le_encrypt {
|
||||
uint8_t status;
|
||||
uint8_t encrypted[16];
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_le_rand {
|
||||
uint8_t status;
|
||||
uint8_t rand[8];
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_le_ltk_reply {
|
||||
uint8_t status;
|
||||
uint16_t conn_handle;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_le_ltk_negative_reply {
|
||||
uint8_t status;
|
||||
uint16_t conn_handle;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_le_read_supported_states {
|
||||
uint8_t status;
|
||||
uint64_t le_states;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_le_remote_conn_param_req_reply {
|
||||
uint8_t status;
|
||||
uint16_t conn_handle;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_le_remote_conn_param_req_neg_reply {
|
||||
uint8_t status;
|
||||
uint16_t conn_handle;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_le_set_data_length {
|
||||
uint8_t status;
|
||||
uint16_t conn_handle;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_nrf_set_bd_addr {
|
||||
uint8_t status;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt_nrf_cfg_active_sig {
|
||||
uint8_t status;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_cmplt {
|
||||
uint8_t num_cmd_pkt;
|
||||
struct hci_cmd_opcode opcode;
|
||||
union __packed hci_evt_cmd_cmplt_params {
|
||||
|
||||
struct hci_evt_cmd_cmplt_unknown_hci_command
|
||||
unknown_hci_command;
|
||||
struct hci_evt_cmd_cmplt_reset reset;
|
||||
struct hci_evt_cmd_cmplt_set_event_mask set_event_mask;
|
||||
|
||||
struct hci_evt_cmd_cmplt_delete_stored_link_key
|
||||
delete_stored_link_key;
|
||||
struct hci_evt_cmd_cmplt_read_local_name read_local_name;
|
||||
|
||||
struct hci_evt_cmd_cmplt_read_class_of_device
|
||||
read_class_of_device;
|
||||
|
||||
struct hci_evt_cmd_cmplt_read_voice_setting
|
||||
read_voice_setting;
|
||||
|
||||
struct hci_evt_cmd_cmplt_read_local_version
|
||||
read_local_version;
|
||||
|
||||
struct hci_evt_cmd_cmplt_read_local_sup_cmds
|
||||
read_local_sup_cmds;
|
||||
|
||||
struct hci_evt_cmd_cmplt_rd_local_sup_features
|
||||
rd_local_sup_features;
|
||||
struct hci_evt_cmd_cmplt_read_buffer_size read_buffer_size;
|
||||
struct hci_evt_cmd_cmplt_read_bd_addr read_bd_addr;
|
||||
|
||||
struct hci_evt_cmd_cmplt_le_read_buffer_size
|
||||
le_read_buffer_size;
|
||||
|
||||
struct hci_evt_cmd_cmplt_le_rd_loc_sup_features
|
||||
le_rd_loc_sup_features;
|
||||
struct hci_evt_cmd_cmplt_le_set_rnd_addr le_set_rnd_addr;
|
||||
struct hci_evt_cmd_cmplt_le_set_adv_params le_set_adv_params;
|
||||
|
||||
struct hci_evt_cmd_cmplt_le_rd_adv_chl_tx_pwr
|
||||
le_rd_adv_chl_tx_pwr;
|
||||
struct hci_evt_cmd_cmplt_le_set_adv_data le_set_adv_data;
|
||||
struct hci_evt_cmd_cmplt_le_set_scan_resp_data
|
||||
le_set_scan_resp_data;
|
||||
struct hci_evt_cmd_cmplt_le_set_adv_enable le_set_adv_enable;
|
||||
|
||||
struct hci_evt_cmd_cmplt_le_set_scan_params
|
||||
le_set_scan_params;
|
||||
|
||||
struct hci_evt_cmd_cmplt_le_set_scan_enable
|
||||
le_set_scan_enable;
|
||||
|
||||
struct hci_evt_cmd_cmplt_le_create_conn_cancel
|
||||
le_create_conn_cancel;
|
||||
|
||||
struct hci_evt_cmd_cmplt_le_read_whitelist_size
|
||||
le_read_whitelist_size;
|
||||
|
||||
struct hci_evt_cmd_cmplt_le_clear_whitelist
|
||||
le_clear_whitelist;
|
||||
|
||||
struct hci_evt_cmd_cmplt_le_add_device_to_whitelist
|
||||
le_add_dev_to_wlist;
|
||||
|
||||
struct hci_evt_cmd_cmplt_le_set_host_chl_classn
|
||||
le_set_host_chl_classn;
|
||||
struct hci_evt_cmd_cmplt_le_encrypt le_encrypt;
|
||||
struct hci_evt_cmd_cmplt_le_rand le_rand;
|
||||
struct hci_evt_cmd_cmplt_le_ltk_reply le_ltk_reply;
|
||||
|
||||
struct hci_evt_cmd_cmplt_le_ltk_negative_reply
|
||||
le_ltk_neg_reply;
|
||||
|
||||
struct hci_evt_cmd_cmplt_le_read_supported_states
|
||||
le_read_supported_states;
|
||||
|
||||
struct hci_evt_cmd_cmplt_le_remote_conn_param_req_reply
|
||||
le_remote_conn_param_req_reply;
|
||||
struct hci_evt_cmd_cmplt_le_remote_conn_param_req_neg_reply
|
||||
le_remote_conn_param_req_neg_reply;
|
||||
|
||||
struct hci_evt_cmd_cmplt_le_set_data_length
|
||||
le_set_data_length;
|
||||
struct hci_evt_cmd_cmplt_nrf_set_bd_addr nrf_set_bd_addr;
|
||||
|
||||
struct hci_evt_cmd_cmplt_nrf_cfg_active_sig
|
||||
nrf_cfg_active_sig;
|
||||
} params;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_cmd_status {
|
||||
uint8_t status;
|
||||
uint8_t num_cmd_pkt;
|
||||
struct hci_cmd_opcode opcode;
|
||||
};
|
||||
|
||||
struct __packed hci_evt_num_cmplt {
|
||||
uint8_t num_handles;
|
||||
uint8_t handles_nums[1];
|
||||
|
@ -717,8 +198,6 @@ struct __packed hci_evt {
|
|||
|
||||
struct hci_evt_read_remote_version_info_cmplt
|
||||
read_remote_version_info_cmplt;
|
||||
struct hci_evt_cmd_cmplt cmd_cmplt;
|
||||
struct hci_evt_cmd_status cmd_status;
|
||||
struct hci_evt_num_cmplt num_cmplt;
|
||||
|
||||
struct hci_evt_encryption_key_refresh_cmplt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue