1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <string.h>
#include "esp_event.h"
ESP_EVENT_DEFINE_BASE(MESH_EVENT);
esp_err_t esp_mesh_send_event_internal(int32_t event_id, void* event_data, size_t event_data_size)
{
return esp_event_post(MESH_EVENT, event_id, event_data, event_data_size, 0);
}{ ... }