Mesh infrastructure
Mesh infrastructure
Postby st0ff3r » Tue Sep 15, 2015 9:53 am
Hi, we are currently using esp's to aquire temperature data coming in via uart.
All the esp's are setup as wifi stations and get ip addresses via dhcp.
They sends the data to a server on the internet via MQTT.
We want to switch from the infrastructure based on existing wifi base stations to the mesh topology in the new sdk from august.
For a start we would like to create a topology like the following:
1. an esp is connected to our existing wifi infrastructure and has an address giving by our dhcp router.
same esp acts as the mesh router
2. two other esp's acts as mesh nodes and are connected to the mesh router using your mesh implementation.
In the above defined scenario can we then expect the following features:
1. mesh nodes are able to be addressed from our existing ip ifrastruture
2. mesh nodes are able to make tcp/ip requests to the exiisting infrastructure through the mesh router.
3. the mesh router will give out addresses to the mesh nodes (what kind of addresses? ip?)
4. the meshnodes will be able to forward packets until they reach their destination in a mesh topology.
All the esp's are setup as wifi stations and get ip addresses via dhcp.
They sends the data to a server on the internet via MQTT.
We want to switch from the infrastructure based on existing wifi base stations to the mesh topology in the new sdk from august.
For a start we would like to create a topology like the following:
1. an esp is connected to our existing wifi infrastructure and has an address giving by our dhcp router.
same esp acts as the mesh router
2. two other esp's acts as mesh nodes and are connected to the mesh router using your mesh implementation.
In the above defined scenario can we then expect the following features:
1. mesh nodes are able to be addressed from our existing ip ifrastruture
2. mesh nodes are able to make tcp/ip requests to the exiisting infrastructure through the mesh router.
3. the mesh router will give out addresses to the mesh nodes (what kind of addresses? ip?)
4. the meshnodes will be able to forward packets until they reach their destination in a mesh topology.
-
- Posts: 1
- Joined: Mon Oct 26, 2015 10:16 pm
Re: Mesh infrastructure
Postby Fede Klein » Sat Nov 14, 2015 10:59 pm
Hi!!! Did you have succes on that?
I'm trying to do the same thing but i'm in a jam!
Kindest regards!
I'm trying to do the same thing but i'm in a jam!
Kindest regards!
Re: Mesh infrastructure
Postby ESP_Alen » Fri Mar 04, 2016 11:35 am
st0ff3r wrote:Hi, we are currently using esp's to aquire temperature data coming in via uart.
All the esp's are setup as wifi stations and get ip addresses via dhcp.
They sends the data to a server on the internet via MQTT.
We want to switch from the infrastructure based on existing wifi base stations to the mesh topology in the new sdk from august.
For a start we would like to create a topology like the following:
1. an esp is connected to our existing wifi infrastructure and has an address giving by our dhcp router.
same esp acts as the mesh router
2. two other esp's acts as mesh nodes and are connected to the mesh router using your mesh implementation.
In the above defined scenario can we then expect the following features:
1. mesh nodes are able to be addressed from our existing ip ifrastruture
2. mesh nodes are able to make tcp/ip requests to the exiisting infrastructure through the mesh router.
3. the mesh router will give out addresses to the mesh nodes (what kind of addresses? ip?)
4. the meshnodes will be able to forward packets until they reach their destination in a mesh topology.
1. you can use API(espconn_mesh_server_init) set your server for mesh node, mesh will forward all packet to your server.
2. mesh just supports one server.
3. root device of mesh will addresses the packet to mesh node. We have released the mesh demo on github, please clone the current code:
https://github.com/espressif/ESP8266_MESH_DEMO
we also released the document, you can find it:
https://github.com/espressif/ESP8266_ME ... r/document
please construct mesh packet according the document.
Now, mesh supports HTTP/JSON/MQTT/BIN-STREAM, in addition, mesh supports bcast/mcast/unicast/P2P communicate among nodes.
4. all packets to node working in mesh network will be forwarded automatically to destination node finally.
Re: Mesh infrastructure
Postby ESP_Alen » Mon Mar 28, 2016 8:38 pm
loveme758 wrote:Mesh Root 发往云平台的数据,是否需要云平台的支持?
也就是说云平台也需要发Mesh头给Mesh Root ,然后再转发给Mesh Node?
对的,Server按照mesh的header组建packet,组建好之后直接发给root节点就可以了,最终该packet会经过转发到达目的节点。
当然,你也可以不使用cloud-server,可以在局域网中实现mesh网络。
Who is online
Users browsing this forum: No registered users and 188 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.