Code: Select all
esp_mesh_get_routing_table((mesh_addr_t *) &route_table, MESH_MAX_NODE * 6, &route_table_size);
for(uint16_t i=1; i<route_table_size, i++)
{
esp_mesh_send(&route_table[i], &_meshssid, MESH_DATA_P2P, NULL, 0);
}
亦或是有没有广播消息到所有非根节点的API?