mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-07 12:06:58 +03:00
* Migrated parameters, see https://github.com/jomjol/AI-on-the-edge-device/pull/2023
* remove no longer used "topic" parameter. This is a backport from b21e3c6c9d
* Fix wrong url-encoding, see https://github.com/jomjol/AI-on-the-edge-device/issues/2036 resp. https://github.com/jomjol/AI-on-the-edge-device/issues/2036
* Threashold -> Threshold
* updated changelog
---------
Co-authored-by: CaCO3 <caco@ruinelli.ch>
22 lines
645 B
C++
22 lines
645 B
C++
#pragma once
|
|
|
|
#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, int _rssithreshold);
|
|
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();
|
|
void WIFIDestroy();
|
|
|
|
extern std::string hostname;
|
|
extern std::string std_hostname;
|
|
extern int RSSIThreshold;
|
|
|
|
#endif //CONNECT_WLAN_H
|