1 #ifndef WEBSOCKET_HANDLER_C 2 #define WEBSOCKET_HANDLER_C 7 #include "esp_system.h" 10 #include "freertos/FreeRTOS.h" 11 #include "freertos/task.h" 12 #include "freertos/event_groups.h" 14 #include "esp_websocket_client.h" 15 #include "esp_event.h" 18 #define WEBSOCKET_HOST_URI CONFIG_SERVER_WEBSOCKET_URI int websocket_send_data(esp_websocket_client_handle_t network_handle, char *payload)
void websocket_close_network_manager(esp_websocket_client_handle_t network_handle)
esp_websocket_client_handle_t websocket_network_manager()
void websocket_event_handler(void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data)