Struct nrf_softdevice_s113::ble_gattc_char_t
source · #[repr(C)]pub struct ble_gattc_char_t {
pub uuid: ble_uuid_t,
pub char_props: ble_gatt_char_props_t,
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
pub handle_decl: u16,
pub handle_value: u16,
}
Expand description
@brief GATT characteristic.
Fields§
§uuid: ble_uuid_t
< Characteristic UUID.
char_props: ble_gatt_char_props_t
< Characteristic Properties.
_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>
§handle_decl: u16
< Handle of the Characteristic Declaration.
handle_value: u16
< Handle of the Characteristic Value.
Implementations§
source§impl ble_gattc_char_t
impl ble_gattc_char_t
pub fn char_ext_props(&self) -> u8
pub fn set_char_ext_props(&mut self, val: u8)
pub fn new_bitfield_1(char_ext_props: u8) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations§
source§impl Clone for ble_gattc_char_t
impl Clone for ble_gattc_char_t
source§fn clone(&self) -> ble_gattc_char_t
fn clone(&self) -> ble_gattc_char_t
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more