Search found 68 matches

by ESP_yudong
Mon Jun 15, 2020 6:36 am
Forum: ESP-MDF
Topic: esp_wifi_scan_start() does not return mesh Information Elements
Replies: 5
Views: 9007

Re: esp_wifi_scan_start() does not return mesh Information Elements

why "assoc:0/0"? Because if (ie_len == sizeof(mesh_assoc_t)) was deleted. This is a slow process and I would like to speed it up by first scanning and seeing what mesh networks are nearby and then choosing a suitable mesh ID value. You can find other mesh id devices only when mesh IE is unencrypted...
by ESP_yudong
Thu Jun 11, 2020 3:29 am
Forum: ESP-MDF
Topic: esp_wifi_scan_start() does not return mesh Information Elements
Replies: 5
Views: 9007

Re: esp_wifi_scan_start() does not return mesh Information Elements

It looks like this device failed to parse the mesh ie of others.
Have you set those 30 active devices and this one device to the same mesh_id and ie encryption method?
by ESP_yudong
Thu Nov 28, 2019 8:53 am
Forum: ESP-MDF
Topic: Help running the manual_networking example
Replies: 4
Views: 12883

Re: Help running the manual_networking example

Root log: I (2316) mesh_main: <MESH_EVENT_STARTED>ID:77:77:77:77:77:77 I (7026) mesh_main: IE_CRYPTO_KEY:MAP_PASSWD, MESH_ID:77:77:77:77:77:77 ... I (10086) esp_netif_handlers: sta ip: 192.168.10.7, mask: 255.255.255.0, gw: 192.168.10.1 I (10086) mesh_main: <IP_EVENT_STA_GOT_IP>IP:192.168.10.7 I (10...
by ESP_yudong
Thu Nov 07, 2019 1:22 pm
Forum: ESP-MDF
Topic: WiFi meshed network - how to join strongest AP in STA mode?
Replies: 3
Views: 11691

Re: WiFi meshed network - how to join strongest AP in STA mode?

Hi,
You are using ESP32 as a standard wifi station rather than mesh station, and the mesh network is not built with esp32, right?
It would be better if you could provide some logs.
by ESP_yudong
Thu Nov 07, 2019 1:06 pm
Forum: ESP-MDF
Topic: Using ESP32 with existing Mesh networks that use OLSR?
Replies: 4
Views: 11036

Re: Using ESP32 with existing Mesh networks that use OLSR?

Hi chibill,
ESP32 doesn't support Ad-Hoc mode actually.
Our esp wifi mesh protocol is different from the 802.11 wifi mesh. So I'm afraid that there's no relationship between OSLR and esp wifi mesh.
by ESP_yudong
Thu Jul 18, 2019 1:49 pm
Forum: ESP-MDF
Topic: problem with simple esp_mesh_send command
Replies: 6
Views: 11190

Re: problem with simple esp_mesh_send command

Is this the line 398 in mesh_main.c ?

Code: Select all

broker_addr.ip4 = ipaddr_addr("192.168.2.2");
The type of broker_addr.ip4.addr is u32_t, but broker_addr.ip4 is not.
by ESP_yudong
Tue May 21, 2019 2:13 pm
Forum: General Discussion
Topic: Sending sensor data to other node using ESP-MESH
Replies: 2
Views: 4921

Re: Sending sensor data to other node using ESP-MESH

It might be a little easier if you use ESP-MDF. If you want to send data from one node to another use IDF only. First, you need to know how to use esp_mesh_send() https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/network/esp_mesh.html#_CPPv413esp_mesh_sendPK11mesh_addr_tPK11mesh_da...
by ESP_yudong
Sun May 05, 2019 7:39 am
Forum: ESP-IDF
Topic: ESP-MESH timeouts
Replies: 7
Views: 9524

Re: ESP-MESH timeouts

I think it is not not possible to reduce the healing time under 5 sec. That's the design. The assoc_expire can not be less than 10 sec beacuse the network may be instable. `esp_mesh_send` returns after disconnection. By the way, When a parent node is powered off, the child node will: 1. detect the d...
by ESP_yudong
Thu Apr 25, 2019 3:01 am
Forum: ESP-IDF
Topic: ESP-MESH timeouts
Replies: 7
Views: 9524

Re: ESP-MESH timeouts

Yes, it's esp_mesh_set_ap_assoc_expire. For non-root mesh nodes, beacon timeout = inactive timer = assoc expire. The parent's beacon interval will not impact the child's beacon timeout. Beacons are boardcast frames, they have a big impact on the environment. So it is expected to reduce the frequency...
by ESP_yudong
Wed Apr 24, 2019 1:00 pm
Forum: ESP-IDF
Topic: ESP-MESH timeouts
Replies: 7
Views: 9524

Re: ESP-MESH timeouts

Hi cvar12,
1. There's no ack timeout in esp_mesh_send now.
2. `esp_mesh_set_assoc_expire` could change the time of `beacon timout` and `inactive timer` on non-root mesh nodes.
3. Not available now.