pub enum BleGattRegister {
Service {
uuid: BleUuid,
handle: AttrHandle,
},
Characteristic {
uuid: BleUuid,
def_handle: AttrHandle,
val_handle: AttrHandle,
},
Descriptor {
uuid: BleUuid,
handle: AttrHandle,
},
Other,
}Expand description
A GATT registration event (the payload of GattsEvent::Register). Capture the value handles
you need (matching on uuid) here.
Variants§
Trait Implementations§
Source§impl From<&ble_gatt_register_ctxt> for BleGattRegister
impl From<&ble_gatt_register_ctxt> for BleGattRegister
Source§fn from(ctxt: &ble_gatt_register_ctxt) -> Self
fn from(ctxt: &ble_gatt_register_ctxt) -> Self
Converts to this type from the input type.