mikroSDK Reference Manual
esp32_wifi_driver.h
Go to the documentation of this file.
1
31#ifndef _ESP32_WIFI_DRIVER_H
32#define _ESP32_WIFI_DRIVER_H
33
34//Dependencies
35#include "core/nic.h"
36
37//C++ guard
38#ifdef __cplusplus
39extern "C" {
40#endif
41
42//ESP32 Wi-Fi driver (STA mode)
43extern const NicDriver esp32WifiStaDriver;
44//ESP32 Wi-Fi driver (AP mode)
45extern const NicDriver esp32WifiApDriver;
46
47//ESP32 Wi-Fi related functions
48error_t esp32WifiInit(NetInterface *interface);
49
50void esp32WifiTick(NetInterface *interface);
51
52void esp32WifiEnableIrq(NetInterface *interface);
53void esp32WifiDisableIrq(NetInterface *interface);
54void esp32WifiEventHandler(NetInterface *interface);
55
56error_t esp32WifiSendPacket(NetInterface *interface,
57 const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary);
58
59error_t esp32WifiUpdateMacAddrFilter(NetInterface *interface);
60
61//C++ guard
62#ifdef __cplusplus
63}
64#endif
65
66#endif
error_t
Error codes.
Definition error.h:43
Network interface controller abstraction layer.
Structure describing a buffer that spans multiple chunks.
Definition net_mem.h:89
NIC driver.
Definition nic.h:283