Files
snapclient/components/network_interface/include/wifi_interface.h

21 lines
493 B
C
Raw Normal View History

#ifndef _WIFI_INTERFACE_H_
#define _WIFI_INTERFACE_H_
// use wifi provisioning
#define ENABLE_WIFI_PROVISIONING CONFIG_ENABLE_WIFI_PROVISIONING
/* Hardcoded WiFi configuration that you can set via
'make menuconfig'.
*/
#if !ENABLE_WIFI_PROVISIONING
#define WIFI_SSID CONFIG_WIFI_SSID
#define WIFI_PASSWORD CONFIG_WIFI_PASSWORD
#endif
#define WIFI_MAXIMUM_RETRY CONFIG_WIFI_MAXIMUM_RETRY
bool wifi_get_ip(esp_netif_ip_info_t *ip);
void wifi_start(void);
#endif /* _WIFI_INTERFACE_H_ */