Wi-Fi-oriented HID event payload. More...
#include <event.h>

Data Fields | |
| hw_wifi_event_t | event |
| Wi-Fi status event (see hw_wifi_event_t). | |
| hw_wifi_network_t | network |
| Associated network info - only valid if has_network is true. More... | |
| bool | has_network |
| True if network is populated. | |
Wi-Fi-oriented HID event payload.
network is copied by value into this event at the point it's queued - unlike hw_wifi_callback_t's own network parameter (which some backends pass as a pointer to worker-thread-local storage, valid only for the duration of that callback), this is safe to read at any point up until hid_event_free(). has_network is false for events with no associated network (a plain disconnect, or the scan-complete marker), in which case network itself is unspecified.
| hw_wifi_network_t hid_wifi_t::network |