- add i2s channel delete to deinit_player() - improve network interface component store IP and connection status of interfaces - improve UI http server Signed-off-by: Karl Osterseher <karli_o@gmx.at>
21 lines
493 B
C
21 lines
493 B
C
#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_ */
|