esp32-warm-water
esp32 based project for the control of a heating element based on temperature
Macros | Functions | Variables
wifi_sta.c File Reference

implementation for wrapper component to set up wifi in station mode More...

#include "wifi_sta.h"
Include dependency graph for wifi_sta.c:

Go to the source code of this file.

Macros

#define WIFI_CONNECTED_BIT   BIT0
 
#define WIFI_FAIL_BIT   BIT1
 

Functions

void event_handler (void *arg, esp_event_base_t event_base, int32_t event_id, void *event_data)
 
void wifi_init_sta (void)
 
void wifi_init_station (void)
 

Variables

EventGroupHandle_t s_wifi_event_group
 
const char * TAG = CONFIG_WIFI_SAP_LOG_TAG
 
int s_retry_num = 0
 

Detailed Description

implementation for wrapper component to set up wifi in station mode

Definition in file wifi_sta.c.

Macro Definition Documentation

◆ WIFI_CONNECTED_BIT

#define WIFI_CONNECTED_BIT   BIT0

Definition at line 39 of file wifi_sta.c.

◆ WIFI_FAIL_BIT

#define WIFI_FAIL_BIT   BIT1

Definition at line 40 of file wifi_sta.c.

Function Documentation

◆ event_handler()

void event_handler ( void *  arg,
esp_event_base_t  event_base,
int32_t  event_id,
void *  event_data 
)

Definition at line 48 of file wifi_sta.c.

Here is the caller graph for this function:

◆ wifi_init_sta()

void wifi_init_sta ( void  )

Definition at line 166 of file wifi_sta.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ wifi_init_station()

void wifi_init_station ( void  )

Definition at line 80 of file wifi_sta.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ s_retry_num

int s_retry_num = 0

Definition at line 43 of file wifi_sta.c.

◆ s_wifi_event_group

EventGroupHandle_t s_wifi_event_group

Definition at line 35 of file wifi_sta.c.

◆ TAG

const char* TAG = CONFIG_WIFI_SAP_LOG_TAG

Definition at line 42 of file wifi_sta.c.