#include <stdio.h>
#include <string.h>
#include "esp_wifi.h"
#include "esp_system.h"
#include "nvs_flash.h"
#include "esp_event.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/event_groups.h"
#include "esp_log.h"
#include "esp_websocket_client.h"
Go to the source code of this file.
◆ WEBSOCKET_HOST_URI
#define WEBSOCKET_HOST_URI CONFIG_SERVER_WEBSOCKET_URI |
◆ websocket_close_network_manager()
void websocket_close_network_manager |
( |
esp_websocket_client_handle_t |
network_handle | ) |
|
◆ websocket_event_handler()
void websocket_event_handler |
( |
void * |
handler_args, |
|
|
esp_event_base_t |
base, |
|
|
int32_t |
event_id, |
|
|
void * |
event_data |
|
) |
| |
◆ websocket_network_manager()
esp_websocket_client_handle_t websocket_network_manager |
( |
| ) |
|
◆ websocket_send_data()
int websocket_send_data |
( |
esp_websocket_client_handle_t |
network_handle, |
|
|
char * |
payload |
|
) |
| |