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

19 lines
266 B
C
Raw Normal View History

#pragma once
#include "configuration.h"
#include <Arduino.h>
#include <functional>
#ifdef ARCH_ESP32
#include <WiFi.h>
#endif
/// @return true if wifi is now in use
2022-10-25 11:53:22 +02:00
bool initWifi();
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-26 00:01:02 -07:00
uint8_t getWifiDisconnectReason();