Union esp_idf_svc::hal::sys::esp_ble_gap_cb_param_t

source ·
#[repr(C)]
pub union esp_ble_gap_cb_param_t {
Show 64 fields pub get_dev_name_cmpl: esp_ble_gap_cb_param_t_ble_get_dev_name_cmpl_evt_param, pub adv_data_cmpl: esp_ble_gap_cb_param_t_ble_adv_data_cmpl_evt_param, pub scan_rsp_data_cmpl: esp_ble_gap_cb_param_t_ble_scan_rsp_data_cmpl_evt_param, pub scan_param_cmpl: esp_ble_gap_cb_param_t_ble_scan_param_cmpl_evt_param, pub scan_rst: esp_ble_gap_cb_param_t_ble_scan_result_evt_param, pub adv_data_raw_cmpl: esp_ble_gap_cb_param_t_ble_adv_data_raw_cmpl_evt_param, pub scan_rsp_data_raw_cmpl: esp_ble_gap_cb_param_t_ble_scan_rsp_data_raw_cmpl_evt_param, pub adv_start_cmpl: esp_ble_gap_cb_param_t_ble_adv_start_cmpl_evt_param, pub scan_start_cmpl: esp_ble_gap_cb_param_t_ble_scan_start_cmpl_evt_param, pub ble_security: esp_ble_sec_t, pub scan_stop_cmpl: esp_ble_gap_cb_param_t_ble_scan_stop_cmpl_evt_param, pub adv_stop_cmpl: esp_ble_gap_cb_param_t_ble_adv_stop_cmpl_evt_param, pub adv_clear_cmpl: esp_ble_gap_cb_param_t_ble_adv_clear_cmpl_evt_param, pub set_rand_addr_cmpl: esp_ble_gap_cb_param_t_ble_set_rand_cmpl_evt_param, pub update_conn_params: esp_ble_gap_cb_param_t_ble_update_conn_params_evt_param, pub pkt_data_length_cmpl: esp_ble_gap_cb_param_t_ble_pkt_data_length_cmpl_evt_param, pub local_privacy_cmpl: esp_ble_gap_cb_param_t_ble_local_privacy_cmpl_evt_param, pub remove_bond_dev_cmpl: esp_ble_gap_cb_param_t_ble_remove_bond_dev_cmpl_evt_param, pub clear_bond_dev_cmpl: esp_ble_gap_cb_param_t_ble_clear_bond_dev_cmpl_evt_param, pub get_bond_dev_cmpl: esp_ble_gap_cb_param_t_ble_get_bond_dev_cmpl_evt_param, pub read_rssi_cmpl: esp_ble_gap_cb_param_t_ble_read_rssi_cmpl_evt_param, pub update_whitelist_cmpl: esp_ble_gap_cb_param_t_ble_update_whitelist_cmpl_evt_param, pub update_duplicate_exceptional_list_cmpl: esp_ble_gap_cb_param_t_ble_update_duplicate_exceptional_list_cmpl_evt_param, pub ble_set_channels: esp_ble_gap_cb_param_t_ble_set_channels_evt_param, pub read_phy: esp_ble_gap_cb_param_t_ble_read_phy_cmpl_evt_param, pub set_perf_def_phy: esp_ble_gap_cb_param_t_ble_set_perf_def_phy_cmpl_evt_param, pub set_perf_phy: esp_ble_gap_cb_param_t_ble_set_perf_phy_cmpl_evt_param, pub ext_adv_set_rand_addr: esp_ble_gap_cb_param_t_ble_ext_adv_set_rand_addr_cmpl_evt_param, pub ext_adv_set_params: esp_ble_gap_cb_param_t_ble_ext_adv_set_params_cmpl_evt_param, pub ext_adv_data_set: esp_ble_gap_cb_param_t_ble_ext_adv_data_set_cmpl_evt_param, pub scan_rsp_set: esp_ble_gap_cb_param_t_ble_ext_adv_scan_rsp_set_cmpl_evt_param, pub ext_adv_start: esp_ble_gap_cb_param_t_ble_ext_adv_start_cmpl_evt_param, pub ext_adv_stop: esp_ble_gap_cb_param_t_ble_ext_adv_stop_cmpl_evt_param, pub ext_adv_remove: esp_ble_gap_cb_param_t_ble_ext_adv_set_remove_cmpl_evt_param, pub ext_adv_clear: esp_ble_gap_cb_param_t_ble_ext_adv_set_clear_cmpl_evt_param, pub peroid_adv_set_params: esp_ble_gap_cb_param_t_ble_periodic_adv_set_params_cmpl_param, pub period_adv_data_set: esp_ble_gap_cb_param_t_ble_periodic_adv_data_set_cmpl_param, pub period_adv_start: esp_ble_gap_cb_param_t_ble_periodic_adv_start_cmpl_param, pub period_adv_stop: esp_ble_gap_cb_param_t_ble_periodic_adv_stop_cmpl_param, pub period_adv_create_sync: esp_ble_gap_cb_param_t_ble_period_adv_create_sync_cmpl_param, pub period_adv_sync_cancel: esp_ble_gap_cb_param_t_ble_period_adv_sync_cancel_cmpl_param, pub period_adv_sync_term: esp_ble_gap_cb_param_t_ble_period_adv_sync_terminate_cmpl_param, pub period_adv_add_dev: esp_ble_gap_cb_param_t_ble_period_adv_add_dev_cmpl_param, pub period_adv_remove_dev: esp_ble_gap_cb_param_t_ble_period_adv_remove_dev_cmpl_param, pub period_adv_clear_dev: esp_ble_gap_cb_param_t_ble_period_adv_clear_dev_cmpl_param, pub set_ext_scan_params: esp_ble_gap_cb_param_t_ble_set_ext_scan_params_cmpl_param, pub ext_scan_start: esp_ble_gap_cb_param_t_ble_ext_scan_start_cmpl_param, pub ext_scan_stop: esp_ble_gap_cb_param_t_ble_ext_scan_stop_cmpl_param, pub ext_conn_params_set: esp_ble_gap_cb_param_t_ble_ext_conn_params_set_cmpl_param, pub adv_terminate: esp_ble_gap_cb_param_t_ble_adv_terminate_param, pub scan_req_received: esp_ble_gap_cb_param_t_ble_scan_req_received_param, pub channel_sel_alg: esp_ble_gap_cb_param_t_ble_channel_sel_alg_param, pub periodic_adv_sync_lost: esp_ble_gap_cb_param_t_ble_periodic_adv_sync_lost_param, pub periodic_adv_sync_estab: esp_ble_gap_cb_param_t_ble_periodic_adv_sync_estab_param, pub phy_update: esp_ble_gap_cb_param_t_ble_phy_update_cmpl_param, pub ext_adv_report: esp_ble_gap_cb_param_t_ble_ext_adv_report_param, pub period_adv_report: esp_ble_gap_cb_param_t_ble_periodic_adv_report_param, pub period_adv_recv_enable: esp_ble_gap_cb_param_t_ble_periodic_adv_recv_enable_cmpl_param, pub period_adv_sync_trans: esp_ble_gap_cb_param_t_ble_periodic_adv_sync_trans_cmpl_param, pub period_adv_set_info_trans: esp_ble_gap_cb_param_t_ble_periodic_adv_set_info_trans_cmpl_param, pub set_past_params: esp_ble_gap_cb_param_t_ble_set_past_params_cmpl_param, pub past_received: esp_ble_gap_cb_param_t_ble_periodic_adv_sync_trans_recv_param, pub dtm_state_update: esp_ble_gap_cb_param_t_ble_dtm_state_update_evt_param, pub vendor_cmd_cmpl: esp_ble_gap_cb_param_t_vendor_cmd_cmpl_evt_param,
}
Expand description

@brief Gap callback parameters union

Fields§

§get_dev_name_cmpl: esp_ble_gap_cb_param_t_ble_get_dev_name_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_GET_DEV_NAME_COMPLETE_EVT

§adv_data_cmpl: esp_ble_gap_cb_param_t_ble_adv_data_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_ADV_DATA_SET_COMPLETE_EVT

§scan_rsp_data_cmpl: esp_ble_gap_cb_param_t_ble_scan_rsp_data_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_SCAN_RSP_DATA_SET_COMPLETE_EVT

§scan_param_cmpl: esp_ble_gap_cb_param_t_ble_scan_param_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_SCAN_PARAM_SET_COMPLETE_EVT

§scan_rst: esp_ble_gap_cb_param_t_ble_scan_result_evt_param

< Event parameter of ESP_GAP_BLE_SCAN_RESULT_EVT

§adv_data_raw_cmpl: esp_ble_gap_cb_param_t_ble_adv_data_raw_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_ADV_DATA_RAW_SET_COMPLETE_EVT

§scan_rsp_data_raw_cmpl: esp_ble_gap_cb_param_t_ble_scan_rsp_data_raw_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_SCAN_RSP_DATA_RAW_SET_COMPLETE_EVT

§adv_start_cmpl: esp_ble_gap_cb_param_t_ble_adv_start_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_ADV_START_COMPLETE_EVT

§scan_start_cmpl: esp_ble_gap_cb_param_t_ble_scan_start_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_SCAN_START_COMPLETE_EVT

§ble_security: esp_ble_sec_t

< ble gap security union type

§scan_stop_cmpl: esp_ble_gap_cb_param_t_ble_scan_stop_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_SCAN_STOP_COMPLETE_EVT

§adv_stop_cmpl: esp_ble_gap_cb_param_t_ble_adv_stop_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_ADV_STOP_COMPLETE_EVT

§adv_clear_cmpl: esp_ble_gap_cb_param_t_ble_adv_clear_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_ADV_CLEAR_COMPLETE_EVT

§set_rand_addr_cmpl: esp_ble_gap_cb_param_t_ble_set_rand_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_SET_STATIC_RAND_ADDR_EVT

§update_conn_params: esp_ble_gap_cb_param_t_ble_update_conn_params_evt_param

< Event parameter of ESP_GAP_BLE_UPDATE_CONN_PARAMS_EVT

§pkt_data_length_cmpl: esp_ble_gap_cb_param_t_ble_pkt_data_length_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_SET_PKT_LENGTH_COMPLETE_EVT

§local_privacy_cmpl: esp_ble_gap_cb_param_t_ble_local_privacy_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_SET_LOCAL_PRIVACY_COMPLETE_EVT

§remove_bond_dev_cmpl: esp_ble_gap_cb_param_t_ble_remove_bond_dev_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_REMOVE_BOND_DEV_COMPLETE_EVT

§clear_bond_dev_cmpl: esp_ble_gap_cb_param_t_ble_clear_bond_dev_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_CLEAR_BOND_DEV_COMPLETE_EVT

§get_bond_dev_cmpl: esp_ble_gap_cb_param_t_ble_get_bond_dev_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_GET_BOND_DEV_COMPLETE_EVT

§read_rssi_cmpl: esp_ble_gap_cb_param_t_ble_read_rssi_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_READ_RSSI_COMPLETE_EVT

§update_whitelist_cmpl: esp_ble_gap_cb_param_t_ble_update_whitelist_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_UPDATE_WHITELIST_COMPLETE_EVT

§update_duplicate_exceptional_list_cmpl: esp_ble_gap_cb_param_t_ble_update_duplicate_exceptional_list_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_UPDATE_DUPLICATE_EXCEPTIONAL_LIST_COMPLETE_EVT

§ble_set_channels: esp_ble_gap_cb_param_t_ble_set_channels_evt_param

< Event parameter of ESP_GAP_BLE_SET_CHANNELS_EVT

§read_phy: esp_ble_gap_cb_param_t_ble_read_phy_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_READ_PHY_COMPLETE_EVT

§set_perf_def_phy: esp_ble_gap_cb_param_t_ble_set_perf_def_phy_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_SET_PREFERRED_DEFAULT_PHY_COMPLETE_EVT

§set_perf_phy: esp_ble_gap_cb_param_t_ble_set_perf_phy_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_SET_PREFERRED_PHY_COMPLETE_EVT

§ext_adv_set_rand_addr: esp_ble_gap_cb_param_t_ble_ext_adv_set_rand_addr_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_EXT_ADV_SET_RAND_ADDR_COMPLETE_EVT

§ext_adv_set_params: esp_ble_gap_cb_param_t_ble_ext_adv_set_params_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_EXT_ADV_SET_PARAMS_COMPLETE_EVT

§ext_adv_data_set: esp_ble_gap_cb_param_t_ble_ext_adv_data_set_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_EXT_ADV_DATA_SET_COMPLETE_EVT

§scan_rsp_set: esp_ble_gap_cb_param_t_ble_ext_adv_scan_rsp_set_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_EXT_SCAN_RSP_DATA_SET_COMPLETE_EVT

§ext_adv_start: esp_ble_gap_cb_param_t_ble_ext_adv_start_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_EXT_ADV_START_COMPLETE_EVT

§ext_adv_stop: esp_ble_gap_cb_param_t_ble_ext_adv_stop_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_EXT_ADV_STOP_COMPLETE_EVT

§ext_adv_remove: esp_ble_gap_cb_param_t_ble_ext_adv_set_remove_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_EXT_ADV_SET_REMOVE_COMPLETE_EVT

§ext_adv_clear: esp_ble_gap_cb_param_t_ble_ext_adv_set_clear_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_EXT_ADV_SET_CLEAR_COMPLETE_EVT

§peroid_adv_set_params: esp_ble_gap_cb_param_t_ble_periodic_adv_set_params_cmpl_param

< Event parameter of ESP_GAP_BLE_PERIODIC_ADV_SET_PARAMS_COMPLETE_EVT

§period_adv_data_set: esp_ble_gap_cb_param_t_ble_periodic_adv_data_set_cmpl_param

< Event parameter of ESP_GAP_BLE_PERIODIC_ADV_DATA_SET_COMPLETE_EVT

§period_adv_start: esp_ble_gap_cb_param_t_ble_periodic_adv_start_cmpl_param

< Event parameter of ESP_GAP_BLE_PERIODIC_ADV_START_COMPLETE_EVT

§period_adv_stop: esp_ble_gap_cb_param_t_ble_periodic_adv_stop_cmpl_param

< Event parameter of ESP_GAP_BLE_PERIODIC_ADV_STOP_COMPLETE_EVT

§period_adv_create_sync: esp_ble_gap_cb_param_t_ble_period_adv_create_sync_cmpl_param

< Event parameter of ESP_GAP_BLE_PERIODIC_ADV_CREATE_SYNC_COMPLETE_EVT

§period_adv_sync_cancel: esp_ble_gap_cb_param_t_ble_period_adv_sync_cancel_cmpl_param

< Event parameter of ESP_GAP_BLE_PERIODIC_ADV_SYNC_CANCEL_COMPLETE_EVT

§period_adv_sync_term: esp_ble_gap_cb_param_t_ble_period_adv_sync_terminate_cmpl_param

< Event parameter of ESP_GAP_BLE_PERIODIC_ADV_SYNC_TERMINATE_COMPLETE_EVT

§period_adv_add_dev: esp_ble_gap_cb_param_t_ble_period_adv_add_dev_cmpl_param

< Event parameter of ESP_GAP_BLE_PERIODIC_ADV_ADD_DEV_COMPLETE_EVT

§period_adv_remove_dev: esp_ble_gap_cb_param_t_ble_period_adv_remove_dev_cmpl_param

< Event parameter of ESP_GAP_BLE_PERIODIC_ADV_REMOVE_DEV_COMPLETE_EVT

§period_adv_clear_dev: esp_ble_gap_cb_param_t_ble_period_adv_clear_dev_cmpl_param

< Event parameter of ESP_GAP_BLE_PERIODIC_ADV_CLEAR_DEV_COMPLETE_EVT

§set_ext_scan_params: esp_ble_gap_cb_param_t_ble_set_ext_scan_params_cmpl_param

< Event parameter of ESP_GAP_BLE_SET_EXT_SCAN_PARAMS_COMPLETE_EVT

§ext_scan_start: esp_ble_gap_cb_param_t_ble_ext_scan_start_cmpl_param

< Event parameter of ESP_GAP_BLE_EXT_SCAN_START_COMPLETE_EVT

§ext_scan_stop: esp_ble_gap_cb_param_t_ble_ext_scan_stop_cmpl_param

< Event parameter of ESP_GAP_BLE_EXT_SCAN_STOP_COMPLETE_EVT

§ext_conn_params_set: esp_ble_gap_cb_param_t_ble_ext_conn_params_set_cmpl_param

< Event parameter of ESP_GAP_BLE_PREFER_EXT_CONN_PARAMS_SET_COMPLETE_EVT

§adv_terminate: esp_ble_gap_cb_param_t_ble_adv_terminate_param

< Event parameter of ESP_GAP_BLE_ADV_TERMINATED_EVT

§scan_req_received: esp_ble_gap_cb_param_t_ble_scan_req_received_param

< Event parameter of ESP_GAP_BLE_SCAN_REQ_RECEIVED_EVT

§channel_sel_alg: esp_ble_gap_cb_param_t_ble_channel_sel_alg_param

< Event parameter of ESP_GAP_BLE_CHANNEL_SELECT_ALGORITHM_EVT

§periodic_adv_sync_lost: esp_ble_gap_cb_param_t_ble_periodic_adv_sync_lost_param

< Event parameter of ESP_GAP_BLE_PERIODIC_ADV_SYNC_LOST_EVT

§periodic_adv_sync_estab: esp_ble_gap_cb_param_t_ble_periodic_adv_sync_estab_param

< Event parameter of ESP_GAP_BLE_PERIODIC_ADV_SYNC_ESTAB_EVT

§phy_update: esp_ble_gap_cb_param_t_ble_phy_update_cmpl_param

< Event parameter of ESP_GAP_BLE_PHY_UPDATE_COMPLETE_EVT

§ext_adv_report: esp_ble_gap_cb_param_t_ble_ext_adv_report_param

< Event parameter of ESP_GAP_BLE_EXT_ADV_REPORT_EVT

§period_adv_report: esp_ble_gap_cb_param_t_ble_periodic_adv_report_param

< Event parameter of ESP_GAP_BLE_PERIODIC_ADV_REPORT_EVT

§period_adv_recv_enable: esp_ble_gap_cb_param_t_ble_periodic_adv_recv_enable_cmpl_param

< Event parameter of ESP_GAP_BLE_PERIODIC_ADV_RECV_ENABLE_COMPLETE_EVT

§period_adv_sync_trans: esp_ble_gap_cb_param_t_ble_periodic_adv_sync_trans_cmpl_param

< Event parameter of ESP_GAP_BLE_PERIODIC_ADV_SYNC_TRANS_COMPLETE_EVT

§period_adv_set_info_trans: esp_ble_gap_cb_param_t_ble_periodic_adv_set_info_trans_cmpl_param

< Event parameter of ESP_GAP_BLE_PERIODIC_ADV_SET_INFO_TRANS_COMPLETE_EVT

§set_past_params: esp_ble_gap_cb_param_t_ble_set_past_params_cmpl_param

< Event parameter of ESP_GAP_BLE_SET_PAST_PARAMS_COMPLETE_EVT

§past_received: esp_ble_gap_cb_param_t_ble_periodic_adv_sync_trans_recv_param

< Event parameter of ESP_GAP_BLE_PERIODIC_ADV_SYNC_TRANS_RECV_EVT

§dtm_state_update: esp_ble_gap_cb_param_t_ble_dtm_state_update_evt_param

< Event parameter of ESP_GAP_BLE_DTM_TEST_UPDATE_EVT

§vendor_cmd_cmpl: esp_ble_gap_cb_param_t_vendor_cmd_cmpl_evt_param

< Event parameter of ESP_GAP_BLE_VENDOR_CMD_COMPLETE_EVT

Trait Implementations§

source§

impl Clone for esp_ble_gap_cb_param_t

source§

fn clone(&self) -> esp_ble_gap_cb_param_t

Returns a copy of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for esp_ble_gap_cb_param_t

source§

fn default() -> esp_ble_gap_cb_param_t

Returns the “default value” for a type. Read more
source§

impl Copy for esp_ble_gap_cb_param_t

Auto Trait Implementations§

§

impl Freeze for esp_ble_gap_cb_param_t

§

impl RefUnwindSafe for esp_ble_gap_cb_param_t

§

impl !Send for esp_ble_gap_cb_param_t

§

impl !Sync for esp_ble_gap_cb_param_t

§

impl Unpin for esp_ble_gap_cb_param_t

§

impl UnwindSafe for esp_ble_gap_cb_param_t

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CloneToUninit for T
where T: Clone,

§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> CloneToUninit for T
where T: Copy,

§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.