pub enum HostEvent {
Sync,
Reset {
reason: i32,
},
}Expand description
Host-lifecycle events, delivered to the host_subscribe hook.
Variants§
Sync
The host has synchronized with the controller and is ready for BLE operations. Re-entrant:
fires again after a Reset.
Reset
The host reset (e.g. a fatal controller error), carrying the reason code. A
Sync follows once the stack re-synchronizes.
Fields
§
reason: i32