esp8266 mesh network - can connect only one node

trojek
Posts: 15
Joined: Mon Sep 26, 2016 4:18 am

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.

ESP_Alen

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.

trojek
Posts: 15
Joined: Mon Sep 26, 2016 4:18 am

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.

trojek
Posts: 15
Joined: Mon Sep 26, 2016 4:18 am

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?

ESP_Alen

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 54 guests