Files
snapclient/components/network_interface/include/wifi_interface.h
Karl Osterseher 4eb01805fe fix low volume due to wrong init of audioDAC_data
add support for mixing stereo to mono through dsp_processor (fixes #106)
add sdkconfigs to github action workflow
suppress warnings from flac git submodule
remove unused variable and address some compiler warnings
remove some dead code

Signed-off-by: Karl Osterseher <karl_osterseher@gmx.at>
2025-03-01 20:31:46 +01:00

25 lines
539 B
C

#ifndef _WIFI_INTERFACE_H_
#define _WIFI_INTERFACE_H_
#include <stdbool.h>
#include "esp_netif.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_ */