esp32 soundboard project
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.
 
 

28 lines
521 B

#ifndef _WIFI_H
#define _WIFI_H
#include "Arduino.h"
#include <WiFi.h>
#include <ESPmDNS.h>
#include <WiFiClient.h>
#include "hardware.h"
class Wifi {
public:
Wifi();
void init();
void end();
void loop();
// esp_err_t event_handler(void *ctx, system_event_t *event);
// void init_sta();
void init_softap();
size_t getStoredPassword(const char* ssid, char* value);
size_t setStoredPassword(const char* ssid, char* value);
private:
WiFiServer server;
};
#endif /* _WIFI_H */