mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-08 04:26:58 +03:00
17 lines
409 B
C++
17 lines
409 B
C++
#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 |