Search found 63 matches

by ESP_yudong
Thu Jul 18, 2019 1:49 pm
Forum: ESP32 MDF
Topic: problem with simple esp_mesh_send command
Replies: 3
Views: 67

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: 560

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: ESP32 IDF
Topic: ESP-MESH timeouts
Replies: 7
Views: 636

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: ESP32 IDF
Topic: ESP-MESH timeouts
Replies: 7
Views: 636

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: ESP32 IDF
Topic: ESP-MESH timeouts
Replies: 7
Views: 636

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.
by ESP_yudong
Wed Apr 24, 2019 12:54 pm
Forum: ESP32 MDF
Topic: Internet Access
Replies: 2
Views: 410

Re: Internet Access

Hi ChapsF,
Non-root nodes do not have ip address and do not support TCP and UDP.
I think that's why NtpClient doesn't work.
by ESP_yudong
Mon Apr 15, 2019 1:43 pm
Forum: ESP32 MDF
Topic: LR mode in mesh
Replies: 1
Views: 471

Re: LR mode in mesh

I think LR mode can be used in ESP-MESH.

The rssi configuration depends on whether the nodes can connect or communicate smoothly. If you use LR, the rsssi should be able to set lower.
by ESP_yudong
Tue Apr 09, 2019 6:58 am
Forum: ESP-IDF 中文讨论版
Topic: 请问哪里可以修改WIFI线程的stack size?
Replies: 4
Views: 586

Re: 请问哪里可以修改WIFI线程的stack size?

应用无法随意修改wifi task的大小。

“W (288148) wifi: m f probe rsp l=196”
这个问题与wifi task的大小没有关系,是设备作为 softAP 需要回复 `probe rsp` 过多达到了限制没有及时发送出去。你可以检查一下周围是否有很多设备在执行扫描操作或其他干扰。尝试更换信道或将AP设置为隐藏模式等。
by ESP_yudong
Tue Apr 09, 2019 6:27 am
Forum: ESP32 IDF
Topic: Merge mesh networks into one.
Replies: 2
Views: 283

Re: Merge mesh networks into one.

Documentation says: "The networks of the multiple root nodes will be combined into a single network with a single root node. However, root node conflicts where two or more root nodes have the same router SSID but different router BSSID are not handled." This mechanism only works when multiple root ...
by ESP_yudong
Mon Apr 01, 2019 7:30 am
Forum: ESP32 MDF
Topic: BUG - v3..3 beta : esp_mesh_set_router doesn't seem to work
Replies: 12
Views: 1990

Re: BUG - v3..3 beta : esp_mesh_set_router doesn't seem to work

We have modify this in the lastest IDF

Go to advanced search