mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-23 19:20:41 +00:00
19 lines
357 B
C
19 lines
357 B
C
|
|
#ifndef WIFIOTA_H
|
||
|
|
#define WIFIOTA_H
|
||
|
|
|
||
|
|
#include "mesh-pb-constants.h"
|
||
|
|
#include <Arduino.h>
|
||
|
|
|
||
|
|
namespace WiFiOTA
|
||
|
|
{
|
||
|
|
void initialize();
|
||
|
|
bool isUpdated();
|
||
|
|
|
||
|
|
void recoverConfig(meshtastic_Config_NetworkConfig *network);
|
||
|
|
void saveConfig(meshtastic_Config_NetworkConfig *network);
|
||
|
|
bool trySwitchToOTA();
|
||
|
|
String getVersion();
|
||
|
|
} // namespace WiFiOTA
|
||
|
|
|
||
|
|
#endif // WIFIOTA_H
|