Files
firmware/src/mesh/http/WiFiAPClient.h

23 lines
315 B
C
Raw Normal View History

#pragma once
#include "configuration.h"
#include <Arduino.h>
#include <functional>
#ifdef HAS_WIFI
2020-09-18 15:33:03 -07:00
#include <DNSServer.h>
#include <WiFi.h>
#endif
2020-12-12 18:33:52 -08:00
void initWifi(bool forceSoftAP);
2020-09-14 20:27:49 -07:00
void deinitWifi();
2020-09-18 18:02:56 -07:00
bool isWifiAvailable();
2020-09-14 20:27:49 -07:00
2020-09-18 15:33:03 -07:00
void handleDNSResponse();
2020-12-12 19:09:58 -08:00
bool isSoftAPForced();
2020-09-26 00:01:02 -07:00
uint8_t getWifiDisconnectReason();