Search found 52 matches

by littlesky
Wed Nov 28, 2018 1:24 pm
Forum: ESP32 Arduino
Topic: Does ESPNow store peer mac id in NVS ?
Replies: 2
Views: 753

Re: Does ESPNow store peer mac id in NVS ?

Hi drsrikanthb, the peer data is not stored in NVS unless you did so in your firmware. There is no other way to keep peer data unless storing it in NVS and set it from NVS after waking up from deep sleep.
by littlesky
Wed Nov 28, 2018 6:21 am
Forum: ESP32 IDF
Topic: Wi-Fi station mode: Setting BSSID and/or channel does not accelerate connection
Replies: 9
Views: 2186

Re: Wi-Fi station mode: Setting BSSID and/or channel does not accelerate connection

I don't think you have set channel in the right way. You should set it like this, memcpy(config.sta.bssid, bssid, sizeof(config.sta.bssid)); config.sta.bssid_set = 1; memcpy(config.sta.ssid, ssid, strlen(ssid)); memcpy(config.sta.password, password, strlen(password)); config.sta.channel = channel; e...
by littlesky
Wed Nov 28, 2018 2:10 am
Forum: ESP32 IDF
Topic: Wi-Fi station mode: Setting BSSID and/or channel does not accelerate connection
Replies: 9
Views: 2186

Re: Wi-Fi station mode: Setting BSSID and/or channel does not accelerate connection

`esp_wifi_set_channel()` does not work for fast connection. To accelerate connection, you should specify `channel` field of `wifi_sta_config_t` to that of AP instead.
ESP32 is different with ESP8266, it can not accelerate connection with BSSID and WIFI_FAST_SCAN specified.
by littlesky
Tue Nov 27, 2018 7:36 am
Forum: General Discussion
Topic: Wi-Fi RTT (IEEE 802.11mc) on ESP32
Replies: 7
Views: 2118

Re: Wi-Fi RTT (IEEE 802.11mc) on ESP32

We have document WiFi.rst for how to get channel state information. But we haven't document or example for how to use it to measure distance. Distance measurement is just one of the specific applications of channel state information, so it is not much possible to describe it in IDF.
by littlesky
Tue Nov 27, 2018 2:11 am
Forum: General Discussion
Topic: Wi-Fi RTT (IEEE 802.11mc) on ESP32
Replies: 7
Views: 2118

Re: Wi-Fi RTT (IEEE 802.11mc) on ESP32

Would you like to use WiFi RTT for distance measurement? ESP32 does not support it and there is no plan to implement it now. We suggest to use channel state information which can also be used to measure distance. And it is already supported in esp-idf.
by littlesky
Thu Nov 22, 2018 1:05 pm
Forum: ESP-IDF 中文讨论版
Topic: 将 CoreMark CPU跑分程序移植到 ESP32 上
Replies: 3
Views: 1620

Re: 将 CoreMark CPU跑分程序移植到 ESP32 上

Is there any comparison with other CPUs?
by littlesky
Thu Nov 22, 2018 3:12 am
Forum: General Discussion
Topic: Wi-Fi RTT (IEEE 802.11mc) on ESP32
Replies: 7
Views: 2118

Re: Wi-Fi RTT (IEEE 802.11mc) on ESP32

esp-idf has supported channel state information which is the basis of WiFi RTT since idfv3.1. But protocol stack of WiFi RTT is not supported yet. For channel state information, please refer to WiFi documentation wifi.rst in esp-idf directory.
by littlesky
Tue Sep 18, 2018 8:04 am
Forum: ESP32 IDF
Topic: Smart Config issues...
Replies: 3
Views: 3012

Re: Smart Config issues...

ESP32 do not support to receive packets on 5GHz band. That means if router is 5GHz only, smartconfig will never succeed. If smart phone connects to 5G, Smart config works if the following conditions are satisfied: 1. The SSIDs of 2.4G and 5G are the same. 2. Update IDF to v3.2 which will be released...
by littlesky
Mon May 28, 2018 6:26 am
Forum: ESP32 IDF
Topic: MQTT with Secure connection disconnection issue with IDFv3.0
Replies: 7
Views: 2078

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

I guess that it may be caused by the IP address. In IDF v2.1, IP address is lost once WiFi disconnects. But in IDF v3.0, IP address keeps unchanged in 120 seconds after WiFi disconnects. Due to IP address is unchanged, TCP connections bound on it are not changed.
by littlesky
Sun May 27, 2018 2:58 am
Forum: ESP32 IDF
Topic: ESP32 getting disconnected after some data transaction with AZURE IOT
Replies: 9
Views: 2345

Re: ESP32 getting disconnected after some data transaction with AZURE IOT

First, you need a WiFi card which can capture WiFi packets. Second, install software Omnipeek or Wireshark on your PC. Then you can use it to capture WiFi packets. The disconnect reason can be obtained when receiving SYSTEM_EVENT_STA_DISCONNECTED event. It is defined in struct in esp_event.h: typede...