new buzzer component
This commit is contained in:
24
components/network/include/network_events.h
Normal file
24
components/network/include/network_events.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include "esp_event.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// Declaração do base de eventos personalizados da rede
|
||||
ESP_EVENT_DECLARE_BASE(NETWORK_EVENTS);
|
||||
|
||||
// Identificadores dos eventos possíveis do módulo network
|
||||
typedef enum {
|
||||
NETWORK_EVENT_AP_STARTED,
|
||||
NETWORK_EVENT_AP_STOP,
|
||||
NETWORK_EVENT_STA_CONNECTED,
|
||||
NETWORK_EVENT_STA_DISCONNECTED,
|
||||
NETWORK_EVENT_STA_GOT_IP,
|
||||
NETWORK_EVENT_STA_LOST_IP
|
||||
} network_event_id_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user