esp-mesh-lite internal nodes communication
Posted: Fri Jan 12, 2024 5:42 pm
I'm using the esp-mesh-lite with a pre-determined root-node. In my project I'll have 10-25 nodes in total with 4-5 layers. On the root node I'm running a web-server which the users accesses through his smartphone either by logging into the wifi (if there is one) or into the AP the root node provides.
Via the web interface the user should be able to get status information about different child nodes as well as sending commands to them. Now I'm wondering what the best way for internal communication is?
Most commands and status-responses will be in the <250 bytes range
Occasionally I'll have to send a large JSON object to one of the nodes in the 1-4 KB range.
And one of the nodes will work as a stratum-1 time server where other nodes can retrieve time from.
Given the planned communication, out of all the options from esp_mesh_try_send to ESP-NOW what will be the best choice?
Many thanks in advance!
Via the web interface the user should be able to get status information about different child nodes as well as sending commands to them. Now I'm wondering what the best way for internal communication is?
Most commands and status-responses will be in the <250 bytes range
Occasionally I'll have to send a large JSON object to one of the nodes in the 1-4 KB range.
And one of the nodes will work as a stratum-1 time server where other nodes can retrieve time from.
Given the planned communication, out of all the options from esp_mesh_try_send to ESP-NOW what will be the best choice?
Many thanks in advance!