Search found 52 matches

by littlesky
Fri Apr 19, 2019 7:39 am
Forum: ESP-IDF 中文讨论版
Topic: 不建立station ap连接,是否可以进入modem sleep模式?
Replies: 11
Views: 17398

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

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: ESP-IDF
Topic: Correct setting of ESP-Now
Replies: 1
Views: 5003

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

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

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

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

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

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...
by littlesky
Thu Mar 21, 2019 9:59 am
Forum: ESP-IDF 中文讨论版
Topic: esp32 smartconfig 是否支持苹果ios系统?
Replies: 1
Views: 4561

Re: esp32 smartconfig 是否支持苹果ios系统?

xixixixi wrote:
Tue Mar 19, 2019 3:28 am
目前我在官网上有下载到安卓手机上可以使用的apk,可以成功进行smartconfig配网。那么smartconfig配网是否支持苹果手机?如果不支持,是否只能使用blefi?
你好,苹果手机支持 smartconfig 配网,请到苹果应用商店下载 APP。
by littlesky
Thu Mar 21, 2019 9:57 am
Forum: ESP-IDF 中文讨论版
Topic: WiFi连接时,总是一次成功一次失败
Replies: 5
Views: 9509

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

coollofty wrote:
Tue Mar 19, 2019 2:29 am
基于esp_idf/wifi/simple_wifi这个示例,调用wifi_init_sta函数测试的是STA模式,第一次连接成功,接着马上重启,就会出现连接失败,再重启一次,又会连接成功,再重启又会连接失败,如此规律的重复
请问你使用的 IDF 是哪个版本的?请使用最新的 master 分支测试一下有没有问题。
by littlesky
Mon Mar 18, 2019 8:32 am
Forum: ESP-IDF
Topic: How can I get CSI (channel state information) from my own ESP32 Chip?
Replies: 4
Views: 8928

Re: How can I get CSI (channel state information) from my own ESP32 Chip?

The CSI is extracted from received packet. First,thank you for your reply! I think that's exactly the key of my question. Now, I think i'd better receive CSI in the softAP, and use another chip as station to connect to this AP. In this way, I can send UDP data from my station to my softAP, which ma...