espressif / esp-mdf

Espressif Mesh Development Framework, limited maintain, recommend to use https://github.com/espressif/esp-mesh-lite
Other
766 stars 249 forks source link

Unable to use multicast data transmission method #329

Open adirsingh96 opened 1 year ago

adirsingh96 commented 1 year ago

I have set the group id in the child node ,but I am unable to send the data from the root node to the child node using that address

group id at the child node set using ` const uint8_t group_id_list[1][6] = {{0x01, 0x00, 0x5e, 0xae, 0xae, 0xae}};

MDF_ERROR_ASSERT(esp_mesh_set_group_id((mesh_addr_t *)group_id_list, sizeof(group_id_list) / sizeof(group_id_list[0]))); `

data type configuration at the root node

`mwifi_data_type_t data_type = { .communicate = MWIFI_COMMUNICATE_MULTICAST,

.group=true };`

The root node successfully sends the message without giving any errors , but the child node does not receive the packet (it does not logs any warnings too, which is quite strange ), can anyone tell how to successfully use the multicast data transmission method?