mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-29 11:01:15 +00:00
25 lines
355 B
C
25 lines
355 B
C
#pragma once
|
|
|
|
#include "configuration.h"
|
|
#include <Arduino.h>
|
|
#include <functional>
|
|
|
|
#ifdef HAS_WIFI
|
|
#include <DNSServer.h>
|
|
#include <WiFi.h>
|
|
#endif
|
|
|
|
/// @return true if wifi is now in use
|
|
bool initWifi(bool forceSoftAP);
|
|
|
|
void deinitWifi();
|
|
|
|
bool isWifiAvailable();
|
|
|
|
void handleDNSResponse();
|
|
|
|
bool isSoftAPForced();
|
|
|
|
uint8_t getWifiDisconnectReason();
|
|
|