Struct riot_sys::ble_gap_event__bindgen_ty_1__bindgen_ty_11[][src]

#[repr(C)]
pub struct ble_gap_event__bindgen_ty_1__bindgen_ty_11 { pub status: c_int, pub conn_handle: u16, pub attr_handle: u16, pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>, pub __bindgen_padding_0: [u8; 3], }
Expand description

Represents a transmitted ATT notification or indication, or a completed indication transaction.

Valid for the following event types: o BLE_GAP_EVENT_NOTIFY_TX

Fields

status: c_int

The status of the notification or indication transaction; o 0: Command successfully sent; o BLE_HS_EDONE: Confirmation (indication ack) received; o BLE_HS_ETIMEOUT: Confirmation (indication ack) never received; o Other return code: Error.

conn_handle: u16

The handle of the relevant connection.

attr_handle: u16

The handle of the relevant characteristic value.

_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>__bindgen_padding_0: [u8; 3]

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.