mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-23 11:10:52 +00:00
19 lines
362 B
C++
19 lines
362 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();
|
|
const char *getVersion();
|
|
} // namespace WiFiOTA
|
|
|
|
#endif // WIFIOTA_H
|