Search found 39 matches

by liuzhifu
Mon Nov 19, 2018 5:39 am
Forum: ESP-IDF
Topic: How do I change the timeout on the softAP example?
Replies: 20
Views: 29840

Re: How do I change the timeout on the softAP example?

Hi detlier, the default station inactivity timer for soft-AP is set to 5 minutes, currently ESP32 has no API to configure this parameter. We will consider to support it in future IDF v4.0, it should be 3 or 6 months later.
by liuzhifu
Mon Nov 05, 2018 1:52 pm
Forum: ESP-IDF
Topic: Changing max_cpu_freq will 100% couse wifi: bcn_timout,ap_probe_send_start
Replies: 3
Views: 6607

Re: Changing max_cpu_freq will 100% couse wifi: bcn_timout,ap_probe_send_start

HI @ZHDX227, Sorry for late response. I just can't reproduce this issue for 10 hours test with a Mercury soft-AP. My reproduce method: 1. Configure ESP32 as STA mode 2. Connects ESP32 to a Mercury AP 3. Change CPU core#1 frequency between 80M and 240M every 5 seconds Need you help to provide followi...
by liuzhifu
Mon Sep 10, 2018 3:01 am
Forum: General Discussion
Topic: use ESP32 as wifi AP/Ethernet switch ?
Replies: 11
Views: 22394

Re: use ESP32 as wifi AP/Ethernet switch ?

Hi, For L2 forward between WiFi and Ethernet, please refer to: https://github.com/espressif/esp-iot-solution/tree/master/examples/eth2wifi For L3 forward between WiFi and Ethernet, I think the LWIP ip forward can work correctly without any change if the network topology is simple enough, For example...
by liuzhifu
Mon Aug 06, 2018 5:38 am
Forum: General Discussion
Topic: WIFI Direct support for ESP32 in esp-idf
Replies: 9
Views: 31589

Re: WIFI Direct support for ESP32 in esp-idf

@ FCT_IOT, ESP32 doesn't support WiFi Direct. The ESPNOW in ESP32 is similar with WiFi Direct, ESP32 device can directly connects to another ESP32 device with ESPNOW.
by liuzhifu
Tue Jun 05, 2018 3:21 am
Forum: ESP-IDF
Topic: MQTT with Secure connection disconnection issue with IDFv3.0
Replies: 7
Views: 9998

Re: MQTT with Secure connection disconnection issue with IDFv3.0

Please refer to my mail about this issue: This is an issue introduced in IDFv3.0. In original LWIP, when WiFi disconnects, call tcp_abort() to kill all active/bound TCP connections. In IDFv3.0 and latest idf, when WiFi disconnects, don't remove the TCP connections and the application is responsible ...
by liuzhifu
Wed Apr 11, 2018 7:22 am
Forum: ESP-IDF
Topic: Packet transmission failure caused by Not enough space
Replies: 10
Views: 12828

Re: Packet transmission failure caused by Not enough space

HI @Gaoqianjin currently we don't have API to get the available freed TX buffer number/size of WiFi driver. I think @ESP_Angus already provided the solution: "The best thing you can do if a UDP send returns ENOMEM is to wait a short period and retry it".
by liuzhifu
Tue Oct 10, 2017 10:39 am
Forum: General Discussion
Topic: Timeout with improper wifi credentials
Replies: 2
Views: 5525

Re: Timeout with improper wifi credentials

HI @kuitthegeek could you let me know your WiFi event handling function and WiFi init code?
by liuzhifu
Mon Sep 18, 2017 2:43 am
Forum: General Discussion
Topic: Timeout with improper wifi credentials
Replies: 2
Views: 5525

Re: Timeout with improper wifi credentials

Thanks @kuitthegeek, we will consider your propose. Maybe will do some optimization for it in 3.0 to make application programming easier.
by liuzhifu
Tue Dec 13, 2016 2:41 am
Forum: Report Bugs
Topic: esp-idf/examples/06_sntp crash
Replies: 4
Views: 8551

Re: esp-idf/examples/06_sntp crash

Hi martinayotte, Just can't reproduce this issue myself. By investigating related code also didn't get any mistakes. So could you send me your sdkconfig or enlarge the stack of main task, you can do this in menuconfig: Component Config --> ESP32-specific config-->Main task stack size and make the st...