Struct bl602_sdk::wifi::event [−][src]
Expand description
\brief Event
Events trigger transitions from a state to another. Event types are defined by the user. Any event may optionally contain a \ref #event::data “payload”.
\sa state \sa transition
Fields
type_: c_int
\brief Type of event. Defined by user.
data: *mut c_void
\brief Event payload.
How this is used is entirely up to the user. This data is always passed together with #type in order to make it possible to always cast the data correctly.