Search found 34 matches

by zhangyanjiao
Tue Feb 20, 2024 2:43 am
Forum: ESP-IDF
Topic: ESP-WIFI-MESH: 2nd layer node failure after root reboot
Replies: 8
Views: 951

Re: ESP-WIFI-MESH: 2nd layer node failure after root reboot

This means that for mesh, we should lower the inactivity time, or delay more than 6s the mesh nodes to re-connect to the router. yes, this is the solution. To understand the behavior of your case, please provide the logs for the root and node with the absolute timestamps. like this: [01-19 14:36:26...
by zhangyanjiao
Tue Feb 06, 2024 4:02 am
Forum: ESP-IDF
Topic: ESP-WIFI-MESH: 2nd layer node failure after root reboot
Replies: 8
Views: 951

Re: ESP-WIFI-MESH: 2nd layer node failure after root reboot

After the station connected to AP, it will continue to receive the beacon from the AP, if the station does not receive a beacon frame from the connected AP for 6s, it will disconnect from the AP. You can call the following API to set this inactive time. /** * @brief Set the inactive time of the STA ...
by zhangyanjiao
Tue Feb 06, 2024 3:44 am
Forum: ESP-IDF
Topic: ESP-WIFI-MESH: 2nd layer node failure after root reboot
Replies: 8
Views: 951

Re: ESP-WIFI-MESH: 2nd layer node failure after root reboot

Code: Select all

esp_mesh_send_block_time(5000)
This API is using to set the block time of `esp_mesh_send()`, it means the `esp_mesh_send()` will return timeout error if the mesh packet has not been sent successfully after 5s.
by zhangyanjiao
Wed Sep 27, 2023 9:33 am
Forum: Documentation
Topic: mesh_rssi_threshold_t has no documentation at all
Replies: 1
Views: 20944

Re: mesh_rssi_threshold_t has no documentation at all

`esp_err_t esp_mesh_set_rssi_threshold (const mesh_rssi_threshold_t *threshold)` is used to set the RSSI threshold of the current parent. And if the parent's rssi is lower than ` threshold->low ` for a period time of ` duration_ms `, then the mesh node will post ` MESH_WEAK_RSSI ` event. The ` thres...
by zhangyanjiao
Fri Jul 14, 2023 8:19 am
Forum: ESP IoT Solution 中文讨论版
Topic: ESP NOW是否可以设置成WIFI_PHY_RATE_LORA_250K速率啊
Replies: 4
Views: 5212

Re: ESP NOW是否可以设置成WIFI_PHY_RATE_LORA_250K速率啊

建议可以设置 sniffer 的 filter 只抓管理包, filter = filter | WIFI_PROMIS_FILTER_MASK_MGMT; esp_wifi_set_promiscuous_filter(&filter); esp_wifi_set_promiscuous_rx_cb(wifi_sniffer_packet_handler); // 先设置 filter 和 rx cb 再启动 sniffer esp_wifi_set_promiscuous(true); esp_wifi_set_channel(sniffer->channel, WIFI_SECOND_C...
by zhangyanjiao
Thu Jul 13, 2023 9:00 am
Forum: ESP IoT Solution 中文讨论版
Topic: ESP NOW是否可以设置成WIFI_PHY_RATE_LORA_250K速率啊
Replies: 4
Views: 5212

Re: ESP NOW是否可以设置成WIFI_PHY_RATE_LORA_250K速率啊

Hi, thanks for reporting this problem. This is a bug in wifi code, we will fix it ASAP.

I have tested locally, if you call `esp_wifi_config_espnow_rate(ESPNOW_WIFI_IF, WIFI_PHY_RATE_LORA_500K)` after `esp_now_init()`, it can work successfully.
by zhangyanjiao
Tue Oct 18, 2022 7:28 am
Forum: ESP-IDF
Topic: Style and fix wifi log messages
Replies: 4
Views: 2292

Re: Style and fix wifi log messages

will fix the log level to avoid misunderstanding (change W to I).
by zhangyanjiao
Tue Apr 06, 2021 3:56 am
Forum: ESP-IDF
Topic: wifi:ieee80211_ioctl.c 1443
Replies: 6
Views: 5307

Re: wifi:ieee80211_ioctl.c 1443

@ ChrisAlfred ,
Please provide your commit ID on release/v4.2, thus we can figure out the specific code.
by zhangyanjiao
Tue Mar 23, 2021 2:53 am
Forum: General Discussion
Topic: ESP32-S2 abort() in locks.c with no reference to my code in backtrace [WIFI-3462][WIFI-3463]
Replies: 13
Views: 11897

Re: ESP32-S2 abort() in locks.c with no reference to my code in backtrace [WIFI-3462][WIFI-3463]

The root cause for the crash issue has been found, will merge it as soon as possible.