Page 1 of 1

Mesh network with ip connectivity to nodes

Posted: Mon Aug 31, 2020 6:55 pm
by arkanoah
Hello.
For my solution i need to connect to mesh nodes by IP.
I know that nodes communicate via MAC address tables.
But i need to connect end point device (not part of the mesh network) to node of my choice to control.
Device, it is a tablet, had an ip and connected to wifi network.

Is it theoretically possible to make every node also a dns server and tcp server? And mesh leave as a transport?

I know it is not possible with default setup using github sources.

But how do you think, is it possible to add such things?

Re: Mesh network with ip connectivity to nodes

Posted: Thu Oct 08, 2020 7:59 am
by arkanoah
espressif guys you will never win with such poor support to developers, most of the topics at forum is dropped at some stage or just unanswered.
What a shame

Re: Mesh network with ip connectivity to nodes

Posted: Fri Oct 09, 2020 2:51 pm
by o.copleston
Assuming that your actual goal is to address individual devices, if you use something like MQTT or OSC which use URL-style messages, you can include the desired mesh address as the first term of the URL. Your root node should strip this value from the start of the message and use it to send a message to mwifi_write().

Send a message to a specific node

Code: Select all

Send to root with IP: 192.168.0.10
/aa:bb:cc:dd:ee:ff/{rest_of_command}
Send a message to all nodes

Code: Select all

Send to root with IP: 192.168.0.10
/ff:ff:ff:ff:ff:ff/{rest_of_command}
Send a message to all nodes of multiple mesh networks

Code: Select all

Send to root with IP: 255.255.255.255
/ff:ff:ff:ff:ff:ff/{rest_of_command}

Re: Mesh network with ip connectivity to nodes

Posted: Fri Dec 11, 2020 2:04 am
by o.copleston
arkanoah wrote:
Thu Oct 08, 2020 7:59 am
espressif guys you will never win with such poor support to developers, most of the topics at forum is dropped at some stage or just unanswered.
What a shame
You know this is wonderfully ironic looking back