You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#ifndef CGIWIFI_H
|
|
|
|
#define CGIWIFI_H
|
|
|
|
|
|
|
|
#include "httpd.h"
|
|
|
|
|
|
|
|
enum { wifiIsDisconnected, wifiIsConnected, wifiGotIP };
|
|
|
|
|
|
|
|
int cgiWiFiScan(HttpdConnData *connData);
|
|
|
|
int cgiWifiInfo(HttpdConnData *connData);
|
|
|
|
int cgiWiFi(HttpdConnData *connData);
|
|
|
|
int cgiWiFiConnect(HttpdConnData *connData);
|
|
|
|
int cgiWiFiSetMode(HttpdConnData *connData);
|
|
|
|
int cgiWiFiConnStatus(HttpdConnData *connData);
|
|
|
|
int cgiWiFiSpecial(HttpdConnData *connData);
|
|
|
|
void wifiInit(void);
|
|
|
|
|
|
|
|
extern uint8_t wifiState;
|
|
|
|
extern void (*wifiStatusCb)(uint8_t); // callback when wifi status changes
|
|
|
|
|
|
|
|
#endif
|