Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
csk_wifi_event_cb Struct Reference

CSK WIFI callback structure. More...

#include <csk_wifi.h>

Data Fields

sys_snode_t node
 
wifi_event_cb_t handler
 
uint32_t events
 
voidevent_data
 
uint32_t event_data_len
 
voidarg
 

Detailed Description

CSK WIFI callback structure.

Used to register a callback in the csk_wifi driver instance callback list. As many callbacks as needed can be added as long as each of them are unique pointers of struct csk_wifi_event_cb. Beware such structure should not be allocated on stack.

TODO: add a callback initializer

Field Documentation

◆ arg

void* csk_wifi_event_cb::arg

user argument

◆ event_data

void* csk_wifi_event_cb::event_data

Wifi event data

◆ event_data_len

uint32_t csk_wifi_event_cb::event_data_len

Wifi event data len

◆ events

uint32_t csk_wifi_event_cb::events

Wifi events mask, see csk_wifi_event_t

◆ handler

wifi_event_cb_t csk_wifi_event_cb::handler

This function will be called while WIFI event occurred

◆ node

sys_snode_t csk_wifi_event_cb::node

This is meant to be used in the driver core and the user should not touch it (see csk_wifi_api.c).


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