compatibitly mit esp-idf pure

This commit is contained in:
jomjol
2020-11-20 19:34:55 +01:00
parent 1cba7d3e1d
commit 1a0feb4f19
308 changed files with 4163 additions and 4382 deletions

View File

@@ -0,0 +1,17 @@
#ifndef CONNECT_WLAN_H
#define CONNECT_WLAN_H
#include <string>
#include "driver/gpio.h"
const int CONNECTED_BIT = BIT0;
void initialise_wifi(std::string _ssid, std::string _passphrase, std::string _hostname);
void LoadWlanFromFile(std::string fn, std::string &_ssid, std::string &_passphrase, std::string &_hostname);
std::string getHostname();
std::string getIPAddress();
std::string getSSID();
#endif