esp8266 mesh network - can connect only one node
esp8266 mesh network - can connect only one node
Postby trojek » Mon Sep 26, 2016 4:21 am
I try to make mesh network based esp8266 module. I use Espressif non-os-skd and code code from https://github.com/espressif/ESP8266_MESH_DEMO. I downloaded above repository and modify ip adress in demo_server.py. I also changed in user_config.h:
server_ip,
MESH_ROUTER_BSSID,
MESH_ROUTER_SSID,
MESH_ROUTER_PASSWD.
Then I generated (gen_misc.sh) firmware and uploaded it on three devices. I started demo_server.py and launch 3 esp8266 modules. At once only one module can be connect to my Access Point. When I list (arp command in Linux) devices connected to AP with I see that there were connected some other esp8266 modules beyond the currently connected.
I try to figure out how to make mesh network based on esp8266 and espressif software. I also don't know what exactly means some parameters from user_config.h e.g.: MESH_GROUP_ID, MESH_SSID_PREFIX, MESH_PASSWD, MESH_MAX_HOP.
P.S. This post if duplicate of my post from stackoverflow. I hope that it is not a problem.
server_ip,
MESH_ROUTER_BSSID,
MESH_ROUTER_SSID,
MESH_ROUTER_PASSWD.
Then I generated (gen_misc.sh) firmware and uploaded it on three devices. I started demo_server.py and launch 3 esp8266 modules. At once only one module can be connect to my Access Point. When I list (arp command in Linux) devices connected to AP with I see that there were connected some other esp8266 modules beyond the currently connected.
I try to figure out how to make mesh network based on esp8266 and espressif software. I also don't know what exactly means some parameters from user_config.h e.g.: MESH_GROUP_ID, MESH_SSID_PREFIX, MESH_PASSWD, MESH_MAX_HOP.
P.S. This post if duplicate of my post from stackoverflow. I hope that it is not a problem.
Re: esp8266 mesh network - can connect only one node
Postby ESP_Alen » Mon Sep 26, 2016 4:14 pm
trojek wrote:I try to make mesh network based esp8266 module. I use Espressif non-os-skd and code code from https://github.com/espressif/ESP8266_MESH_DEMO. I downloaded above repository and modify ip adress in demo_server.py. I also changed in user_config.h:
server_ip,
MESH_ROUTER_BSSID,
MESH_ROUTER_SSID,
MESH_ROUTER_PASSWD.
Then I generated (gen_misc.sh) firmware and uploaded it on three devices. I started demo_server.py and launch 3 esp8266 modules. At once only one module can be connect to my Access Point. When I list (arp command in Linux) devices connected to AP with I see that there were connected some other esp8266 modules beyond the currently connected.
I try to figure out how to make mesh network based on esp8266 and espressif software. I also don't know what exactly means some parameters from user_config.h e.g.: MESH_GROUP_ID, MESH_SSID_PREFIX, MESH_PASSWD, MESH_MAX_HOP.
P.S. This post if duplicate of my post from stackoverflow. I hope that it is not a problem.
You just need to modify server_ip, MESH_ROUTER_BSSID, MESH_ROUTER_SSID, MESH_ROUTER_PASSWD.
Re: esp8266 mesh network - can connect only one node
Postby trojek » Mon Sep 26, 2016 10:56 pm
As I wrote above I changed server_ip, MESH_ROUTER_BSSID, MESH_ROUTER_SSID, MESH_ROUTER_PASSWD. There is no problem to connect one device (esp8266) to my AP,, but I cannot connect more then one at once. Do you know how can I debug it? Check if node try to connect to AP or something similar?
I would add that my AP and server is the same hardware. I have computer with installed linux, and I run hostapd (as AP) + demo_server.py on it.
I would add that my AP and server is the same hardware. I have computer with installed linux, and I run hostapd (as AP) + demo_server.py on it.
Re: esp8266 mesh network - can connect only one node
Postby trojek » Tue Sep 27, 2016 12:44 am
I didn't understand the concept. One node which was connected to my AP was root node and I can saw only it's IP address. I saw on serial console that other nodes are also connected but not directly to AP.
How can I examine the network topology for OS server perspective?
How can I examine the network topology for OS server perspective?
Re: esp8266 mesh network - can connect only one node
Postby ESP_Alen » Wed Sep 28, 2016 1:17 pm
trojek wrote:I didn't understand the concept. One node which was connected to my AP was root node and I can saw only it's IP address. I saw on serial console that other nodes are also connected but not directly to AP.
How can I examine the network topology for OS server perspective?
Please use topology request packet to get topology of mesh.
Who is online
Users browsing this forum: No registered users and 290 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.