mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-08 04:26:58 +03:00
* streamlined mqtt interlock when disabled * Disconnect mqtt client before reboot * Interlock MQTT with WIFI * Update * loglevel to DEBUG * Update * mqtt msg id incremental * new ENABLE_MQTT includes * Loglevel to DEBUG * Loglevel * Update interface_mqtt.cpp
18 lines
548 B
C++
18 lines
548 B
C++
#ifndef CONNECT_WLAN_H
|
|
#define CONNECT_WLAN_H
|
|
|
|
#include <string>
|
|
|
|
void wifi_init_sta(const char *_ssid, const char *_password, const char *_hostname, const char *_ipadr, const char *_gw, const char *_netmask, const char *_dns);
|
|
void wifi_init_sta(const char *_ssid, const char *_password, const char *_hostname);
|
|
void wifi_init_sta(const char *_ssid, const char *_password);
|
|
|
|
std::string* getIPAddress();
|
|
std::string* getSSID();
|
|
int get_WIFI_RSSI();
|
|
bool getWIFIisConnected();
|
|
|
|
extern std::string hostname;
|
|
extern std::string std_hostname;
|
|
|
|
#endif |