[][src]Struct nrf_softdevice_s122::ble_gattc_write_params_t

#[repr(C)]pub struct ble_gattc_write_params_t {
    pub write_op: u8,
    pub flags: u8,
    pub handle: u16,
    pub offset: u16,
    pub len: u16,
    pub p_value: *const u8,
}

@brief Write Parameters.

Fields

write_op: u8

< Write Operation to be performed, see @ref BLE_GATT_WRITE_OPS.

flags: u8

< Flags, see @ref BLE_GATT_EXEC_WRITE_FLAGS.

handle: u16

< Handle to the attribute to be written.

offset: u16

< Offset in bytes. @note For WRITE_CMD and WRITE_REQ, offset must be 0.

len: u16

< Length of data in bytes.

p_value: *const u8

< Pointer to the value data.

Trait Implementations

impl Clone for ble_gattc_write_params_t[src]

impl Copy for ble_gattc_write_params_t[src]

impl Debug for ble_gattc_write_params_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.