Union esp_idf_svc::sys::esp_ble_gatts_cb_param_t
source · #[repr(C)]
pub union esp_ble_gatts_cb_param_t {
Show 23 fields
pub reg: esp_ble_gatts_cb_param_t_gatts_reg_evt_param,
pub read: esp_ble_gatts_cb_param_t_gatts_read_evt_param,
pub write: esp_ble_gatts_cb_param_t_gatts_write_evt_param,
pub exec_write: esp_ble_gatts_cb_param_t_gatts_exec_write_evt_param,
pub mtu: esp_ble_gatts_cb_param_t_gatts_mtu_evt_param,
pub conf: esp_ble_gatts_cb_param_t_gatts_conf_evt_param,
pub create: esp_ble_gatts_cb_param_t_gatts_create_evt_param,
pub add_incl_srvc: esp_ble_gatts_cb_param_t_gatts_add_incl_srvc_evt_param,
pub add_char: esp_ble_gatts_cb_param_t_gatts_add_char_evt_param,
pub add_char_descr: esp_ble_gatts_cb_param_t_gatts_add_char_descr_evt_param,
pub del: esp_ble_gatts_cb_param_t_gatts_delete_evt_param,
pub start: esp_ble_gatts_cb_param_t_gatts_start_evt_param,
pub stop: esp_ble_gatts_cb_param_t_gatts_stop_evt_param,
pub connect: esp_ble_gatts_cb_param_t_gatts_connect_evt_param,
pub disconnect: esp_ble_gatts_cb_param_t_gatts_disconnect_evt_param,
pub open: esp_ble_gatts_cb_param_t_gatts_open_evt_param,
pub cancel_open: esp_ble_gatts_cb_param_t_gatts_cancel_open_evt_param,
pub close: esp_ble_gatts_cb_param_t_gatts_close_evt_param,
pub congest: esp_ble_gatts_cb_param_t_gatts_congest_evt_param,
pub rsp: esp_ble_gatts_cb_param_t_gatts_rsp_evt_param,
pub add_attr_tab: esp_ble_gatts_cb_param_t_gatts_add_attr_tab_evt_param,
pub set_attr_val: esp_ble_gatts_cb_param_t_gatts_set_attr_val_evt_param,
pub service_change: esp_ble_gatts_cb_param_t_gatts_send_service_change_evt_param,
}
Expand description
@brief Gatt server callback parameters union
Fields§
§reg: esp_ble_gatts_cb_param_t_gatts_reg_evt_param
< Gatt server callback param of ESP_GATTS_REG_EVT
read: esp_ble_gatts_cb_param_t_gatts_read_evt_param
< Gatt server callback param of ESP_GATTS_READ_EVT
write: esp_ble_gatts_cb_param_t_gatts_write_evt_param
< Gatt server callback param of ESP_GATTS_WRITE_EVT
exec_write: esp_ble_gatts_cb_param_t_gatts_exec_write_evt_param
< Gatt server callback param of ESP_GATTS_EXEC_WRITE_EVT
mtu: esp_ble_gatts_cb_param_t_gatts_mtu_evt_param
< Gatt server callback param of ESP_GATTS_MTU_EVT
conf: esp_ble_gatts_cb_param_t_gatts_conf_evt_param
< Gatt server callback param of ESP_GATTS_CONF_EVT (confirm)
create: esp_ble_gatts_cb_param_t_gatts_create_evt_param
< Gatt server callback param of ESP_GATTS_CREATE_EVT
add_incl_srvc: esp_ble_gatts_cb_param_t_gatts_add_incl_srvc_evt_param
< Gatt server callback param of ESP_GATTS_ADD_INCL_SRVC_EVT
add_char: esp_ble_gatts_cb_param_t_gatts_add_char_evt_param
< Gatt server callback param of ESP_GATTS_ADD_CHAR_EVT
add_char_descr: esp_ble_gatts_cb_param_t_gatts_add_char_descr_evt_param
< Gatt server callback param of ESP_GATTS_ADD_CHAR_DESCR_EVT
del: esp_ble_gatts_cb_param_t_gatts_delete_evt_param
< Gatt server callback param of ESP_GATTS_DELETE_EVT
start: esp_ble_gatts_cb_param_t_gatts_start_evt_param
< Gatt server callback param of ESP_GATTS_START_EVT
stop: esp_ble_gatts_cb_param_t_gatts_stop_evt_param
< Gatt server callback param of ESP_GATTS_STOP_EVT
connect: esp_ble_gatts_cb_param_t_gatts_connect_evt_param
< Gatt server callback param of ESP_GATTS_CONNECT_EVT
disconnect: esp_ble_gatts_cb_param_t_gatts_disconnect_evt_param
< Gatt server callback param of ESP_GATTS_DISCONNECT_EVT
open: esp_ble_gatts_cb_param_t_gatts_open_evt_param
< Gatt server callback param of ESP_GATTS_OPEN_EVT
cancel_open: esp_ble_gatts_cb_param_t_gatts_cancel_open_evt_param
< Gatt server callback param of ESP_GATTS_CANCEL_OPEN_EVT
close: esp_ble_gatts_cb_param_t_gatts_close_evt_param
< Gatt server callback param of ESP_GATTS_CLOSE_EVT
congest: esp_ble_gatts_cb_param_t_gatts_congest_evt_param
< Gatt server callback param of ESP_GATTS_CONGEST_EVT
rsp: esp_ble_gatts_cb_param_t_gatts_rsp_evt_param
< Gatt server callback param of ESP_GATTS_RESPONSE_EVT
add_attr_tab: esp_ble_gatts_cb_param_t_gatts_add_attr_tab_evt_param
< Gatt server callback param of ESP_GATTS_CREAT_ATTR_TAB_EVT
set_attr_val: esp_ble_gatts_cb_param_t_gatts_set_attr_val_evt_param
< Gatt server callback param of ESP_GATTS_SET_ATTR_VAL_EVT
service_change: esp_ble_gatts_cb_param_t_gatts_send_service_change_evt_param
< Gatt server callback param of ESP_GATTS_SEND_SERVICE_CHANGE_EVT
Trait Implementations§
source§impl Clone for esp_ble_gatts_cb_param_t
impl Clone for esp_ble_gatts_cb_param_t
source§fn clone(&self) -> esp_ble_gatts_cb_param_t
fn clone(&self) -> esp_ble_gatts_cb_param_t
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for esp_ble_gatts_cb_param_t
impl Default for esp_ble_gatts_cb_param_t
source§fn default() -> esp_ble_gatts_cb_param_t
fn default() -> esp_ble_gatts_cb_param_t
impl Copy for esp_ble_gatts_cb_param_t
Auto Trait Implementations§
impl Freeze for esp_ble_gatts_cb_param_t
impl RefUnwindSafe for esp_ble_gatts_cb_param_t
impl !Send for esp_ble_gatts_cb_param_t
impl !Sync for esp_ble_gatts_cb_param_t
impl Unpin for esp_ble_gatts_cb_param_t
impl UnwindSafe for esp_ble_gatts_cb_param_t
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)