GrowNode
gn_leaf_status_led.c File Reference

Data Structures

struct  gn_leaf_status_led_data_t
 

Macros

#define LOG_LOCAL_LEVEL   ESP_LOG_VERBOSE
 
#define TAG   "gn_leaf_status_led"
 

Functions

void gn_leaf_status_led_task (gn_leaf_handle_t leaf_config)
 
gn_leaf_descriptor_handle_t gn_leaf_status_led_config (gn_leaf_handle_t leaf_config)
 
void blink (int gpio, int time, int blinks)
 
void gn_leaf_led_status_event_handler (void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data)
 

Macro Definition Documentation

◆ LOG_LOCAL_LEVEL

#define LOG_LOCAL_LEVEL   ESP_LOG_VERBOSE

◆ TAG

#define TAG   "gn_leaf_status_led"

Function Documentation

◆ blink()

void blink ( int  gpio,
int  time,
int  blinks 
)

◆ gn_leaf_led_status_event_handler()

void gn_leaf_led_status_event_handler ( void *  handler_args,
esp_event_base_t  base,
int32_t  event_id,
void *  event_data 
)

◆ gn_leaf_status_led_config()

gn_leaf_descriptor_handle_t gn_leaf_status_led_config ( gn_leaf_handle_t  leaf_config)

◆ gn_leaf_status_led_task()

void gn_leaf_status_led_task ( gn_leaf_handle_t  leaf_config)