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.
esp-link/user/cgiwifi.h

20 lines
525 B

#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);
10 years ago
void wifiInit(void);
extern void (*wifiStatusCb)(uint8_t); // callback when wifi status changes
10 years ago
#endif