Search found 45 matches

by littlesky
Fri Apr 19, 2019 7:54 am
Forum: ESP32 IDF
Topic: Low speed on Wifi and character loss
Replies: 2
Views: 196

Re: Low speed on Wifi and character loss

Is the sdkconfig the same as the iperf example? Did you enable WiFi and BT software coexist?
by littlesky
Fri Apr 19, 2019 7:52 am
Forum: ESP32 IDF
Topic: WiFi scanning
Replies: 1
Views: 194

Re: WiFi scanning

If you set country to USA, ESP32 will do active scan on channel 1~11. Fast scanning and all scanning methods are for connecting scan. If using fast scanning method, ESP32 will start to connect when it scans the first right AP(SSID matches). If using all scanning methods, ESP32 will start to connect ...
by littlesky
Fri Apr 19, 2019 7:43 am
Forum: ESP-IDF 中文讨论版
Topic: 请问哪里可以修改WIFI线程的stack size?
Replies: 4
Views: 345

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

aureoleday wrote:
Tue Apr 09, 2019 7:01 am
谢谢回复。我是pull的最新master分支才发现这个问题的。
现在我回退到v3.2 rc版本,这个问题就消失了
可以在 menuconfig 中增大 Component config > Wi-Fi > WiFi mgmt short buffer number 来避免这个问题,但最大是 32 个,如果还不行说明周围 station 太多了,超出了 softAP 的处理能力。
by littlesky
Fri Apr 19, 2019 7:39 am
Forum: ESP-IDF 中文讨论版
Topic: 不建立station ap连接,是否可以进入modem sleep模式?
Replies: 11
Views: 760

Re: 不建立station ap连接,是否可以进入modem sleep模式?

jason2 wrote:
Tue Apr 09, 2019 6:26 am
请问乐鑫的工程师可以提供一些建议吗?
现在是 50ms 进入 modem sleep,已经很快了,再快会影响 WiFi 性能。
by littlesky
Tue Apr 02, 2019 3:18 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32的smartconfig
Replies: 1
Views: 215

Re: ESP32的smartconfig

用的开发版尝试smartconfig,功能使用正常,但是只要重启后又要设置一遍 怎么才能记住配置? 1. 使能 menuconfig -> Component config -> Wi-Fi -> WiFi NVS flash。 2. app_main() 函数一开始调用 nvs_flash_init() 初始化 NVS。 3. 在 esp_wifi_init() 之后调用 esp_wifi_set_storage(WIFI_STORAGE_FLASH)。 4. 在 esp_wifi_set_mode(WIFI_MODE_STA) 之后调用 esp_wifi_get_config() 获取存...
by littlesky
Tue Apr 02, 2019 3:02 am
Forum: ESP32 IDF
Topic: Correct setting of ESP-Now
Replies: 1
Views: 232

Re: Correct setting of ESP-Now

In my project I use protocol ESP-Now as a way of communication between ESP32 boards. I have some questions about setting ESP-Now. The first ESP board only reads the data from sensors and sends it through ESP-Now. The second board receives ESP-Now data but in the same time is also connected to Wi-Fi...
by littlesky
Tue Apr 02, 2019 2:57 am
Forum: ESP-IDF 中文讨论版
Topic: WiFi连接时,总是一次成功一次失败
Replies: 5
Views: 650

Re: WiFi连接时,总是一次成功一次失败

coollofty wrote:
Fri Mar 22, 2019 6:40 am
littlesky wrote:
Thu Mar 21, 2019 9:57 am
coollofty wrote:
Tue Mar 19, 2019 2:29 am
基于esp_idf/wifi/simple_wifi这个示例,调用wifi_init_sta函数测试的是STA模式,第一次连接成功,接着马上重启,就会出现连接失败,再重启一次,又会连接成功,再重启又会连接失败,如此规律的重复
请问你使用的 IDF 是哪个版本的?请使用最新的 master 分支测试一下有没有问题。
已经是使用的最新版本的了。就是在出现这个问题的时候,我就git pull+git submodule update过了
请问你使用的路由器的牌子和型号是什么?
by littlesky
Wed Mar 27, 2019 6:15 am
Forum: ESP-IDF 中文讨论版
Topic: 不建立station ap连接,是否可以进入modem sleep模式?
Replies: 11
Views: 760

Re: 不建立station ap连接,是否可以进入modem sleep模式?

jason2 wrote:
Wed Mar 27, 2019 2:20 am
littlesky wrote:
Tue Mar 26, 2019 11:09 am
你好,可以调用 esp_wifi_stop() 关闭 WiFi
感谢您的建议,只是esp_wifi_start和esp_wifi_stop,在基于80MHZ的CPU频率情况下,运行时间大概14ms左右,消耗时间较久,是否有更快的方式可以开关射频?
没有,因为这 14ms 是 esp_80211_tx 传送数据导致的。
by littlesky
Tue Mar 26, 2019 11:09 am
Forum: ESP-IDF 中文讨论版
Topic: 不建立station ap连接,是否可以进入modem sleep模式?
Replies: 11
Views: 760

Re: 不建立station ap连接,是否可以进入modem sleep模式?

你好,可以调用 esp_wifi_stop() 关闭 WiFi
by littlesky
Thu Mar 21, 2019 1:02 pm
Forum: ESP32 IDF
Topic: Wifi Connect / Disconnect detection
Replies: 2
Views: 584

Re: Wifi Connect / Disconnect detection

Hi there, I'm having a hard time to understand some details about Wifi connections when it comes to state awareness. Some context : I have a client UDP connection (Wifi STA) that bombards an UDP server (Wifi AP) on two ESP32s, at quite a steady rate (50Hz) everything works fine so far, I'd say a li...

Go to advanced search