picofuse

Data Fields
hid_wifi_t Struct Reference

Wi-Fi-oriented HID event payload. More...

#include <event.h>

Collaboration diagram for hid_wifi_t:
Collaboration graph
[legend]

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.
 

Detailed Description

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.

Definition at line 124 of file event.h.

Field Documentation

◆ network

hw_wifi_network_t hid_wifi_t::network

Associated network info - only valid if has_network is true.

Definition at line 126 of file event.h.


The documentation for this struct was generated from the following file: