espressif / esp-now

A connectionless Wi-Fi communication protocol
Apache License 2.0
486 stars 91 forks source link

ESP-Now Mesh #33

Closed JuandreG closed 2 years ago

JuandreG commented 2 years ago

Hello.

I found out about ESP-Now a few weeks ago and since then I've been testing out the functionality with great success. This mode of communication with the ranges that can be achieved opens a lot of doors for new projects.

Now to further extend the range one would probably need a type of repeater node between nodes that send data and nodes that receive data. And if you then want 2 way communication between the start and end nodes the picture starts looking like a mesh network.

Is mesh networking possible with ESP-Now? And if so how would one build this network of ESP-Now devices?

image

I was able to establish 2 way communication with Sender devices and Receiver device without defining mac addresses on any devices and also without the Repeater devices. I figured that defining mac addresses on any device would be nightmare to maintain if any of the devices were to break. By using the SSID's of the devices to establish a connection I think is a better way to go.

Most examples only show communication between Sender devices and Receiver devices and they also define the mac addresses. This will not work well for the project I have in mind.

So my question is:

Can "Sender 1" then send data to "Receiver" by using the SSID and have it find the best route to take and have "Receiver" send data back to "Sender 1" and have it find the best route to take? Ideally they would then use a "Repeater" to get the job done.

JuandreG commented 2 years ago

Any feedback?

LJYSP commented 2 years ago

Sorry for being late in replying. ESP-NOW is a kind of connectionless Wi-Fi communication protocol. I think ESP-WIFI-MESH may meet your needs. Please refer to ESP-WIFI-MESH, and the project.

JuandreG commented 2 years ago

Okay thank you so much.