ESP_MESH - group assigning

BrookR
Posts: 7
Joined: Fri Mar 22, 2024 11:30 am

ESP_MESH - group assigning

Postby BrookR » Mon Mar 25, 2024 11:51 am

Hi all,

I'm trying to use the "esp_mesh_set_group_id()" function and is description has me a little confused. I'm trying to assign addresses to the group to control different nodes within my mesh.

Question: What does the "int num" point to and what is it used for within the function?
My best guess is that it's the identifier for that group, so you can assign multiple addresses to the same group by using the same identifier.

something else I've noticed as well is that the group has a default address value so you would need to assign an array of zeros to the group identified by "int num"

Grateful for any help and suggestions on other ways or fixes etc! :)
Thanks,
BR

Who is online

Users browsing this forum: Majestic-12 [Bot] and 122 guests