mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-04 19:59:55 +00:00
26 lines
376 B
C
26 lines
376 B
C
#pragma once
|
|
|
|
#include "configuration.h"
|
|
#include <Arduino.h>
|
|
#include <functional>
|
|
|
|
#ifdef HAS_WIFI
|
|
#include <DNSServer.h>
|
|
#include <WiFi.h>
|
|
#endif
|
|
|
|
void initWifi();
|
|
void deinitWifi();
|
|
|
|
/// Perform idle loop processing required by the wifi layer
|
|
void loopWifi();
|
|
|
|
bool isWifiAvailable();
|
|
|
|
void handleDNSResponse();
|
|
|
|
void reconnectWiFi();
|
|
|
|
uint8_t getWifiDisconnectReason();
|
|
|