Search found 34 matches

by zhangyanjiao
Wed Mar 25, 2020 12:46 pm
Forum: ESP32 Arduino
Topic: ESP-NOW speed / out of memory error
Replies: 3
Views: 6560

Re: ESP-NOW speed / out of memory error

hi ,
you can also refer to the ESP-NOW example in IDF:
https://github.com/espressif/esp-idf/bl ... ain.c#L187
by zhangyanjiao
Wed Mar 25, 2020 12:37 pm
Forum: ESP32 Arduino
Topic: ESP-NOW speed / out of memory error
Replies: 3
Views: 6560

Re: ESP-NOW speed / out of memory error

Please refer to this info: If there is a lot of ESP-NOW data to send, call esp_now_send() to send less than or equal to 250 bytes of data once a time. Note that too short interval between sending two ESP-NOW data may lead to disorder of sending callback function. So, it is recommended that sending t...
by zhangyanjiao
Tue Mar 24, 2020 9:36 am
Forum: General Discussion
Topic: esp-now channel setting when in wifi station mode.
Replies: 9
Views: 23212

Re: esp-now channel setting when in wifi station mode.

sorry to reply so late.

Currently, the `esp_wifi_set_channel()` can be called in staion mode, please refer to the branch https://github.com/espressif/esp-idf/co ... 2440ed82ef
by zhangyanjiao
Tue Jan 07, 2020 1:06 pm
Forum: ESP-IDF
Topic: ESP-NOW & WIFI - Performance and Channel
Replies: 6
Views: 15899

Re: ESP-NOW & WIFI - Performance and Channel

Hi kwijibo007,
The esp_wifi_set_channel() API has been updated in IDF master branch https://github.com/espressif/esp-idf/co ... 2440ed82ef.
by zhangyanjiao
Mon Dec 09, 2019 8:14 am
Forum: ESP32 Arduino
Topic: ESP-NOW speed / out of memory error
Replies: 3
Views: 6560

Re: ESP-NOW speed / out of memory error

hi benjavita, The default ESP-NOW bit data is 1Mbps. We are thinking about adding this to the ESP-NOW doc. As for the memory error, I have tested with the espnow example in IDF, and I have set the send delay time to 1ms in menuconfig, there is no memory error. Can you confirm that the memory error i...
by zhangyanjiao
Fri Nov 22, 2019 8:15 am
Forum: ESP-IDF
Topic: Esp-Now throughput
Replies: 4
Views: 11421

Re: Esp-Now throughput

@Javier
The default ESP-NOW bit rate is 1 Mbps. You can use the workaround as @WiFive mentioned, call `esp_wifi_internal_set_fix_rate()` to set the reasonable rate.
by zhangyanjiao
Thu Nov 21, 2019 12:00 pm
Forum: ESP-IDF
Topic: ESP-NOW & WIFI - Performance and Channel
Replies: 6
Views: 15899

Re: ESP-NOW & WIFI - Performance and Channel

Hi kwijibo007, Is there a way to force "the slave" to listen on a particular channel without creating a softAP or connecting it to the same Wi-fi? In my testing (and searching) esp_wifi_set_channel() does not work on "the slave" without a SoftAP. Why is it that it doesn't work when "the master" is c...
by zhangyanjiao
Thu Nov 21, 2019 11:48 am
Forum: ESP-IDF
Topic: ESP-NOW & WIFI - Performance and Channel
Replies: 6
Views: 15899

Re: ESP-NOW & WIFI - Performance and Channel

Answering myself with what I found on google and tested. adding this esp_wifi_set_ps(WIFI_PS_NONE); solved my poor transfer quality in STA mode connected to my wifi. Switching to AP_STA also works. Yes, you are right. When ESP32 has connected to a router, you need to close the MODEM_SLEEP, otherwis...
by zhangyanjiao
Mon Jan 07, 2019 3:19 am
Forum: ESP-IDF
Topic: How do I change the timeout on the softAP example?
Replies: 20
Views: 27034

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

hi Ritesh, I think detlier's description is pretty clear. What we said is the timer that the SoftAP found the STA has been out of range or power off. You can reproduce this issue by the following steps easily: (1) Use two ESP32 devices, one is as SoftAP, the other is as STA (2) STA connects to the S...
by zhangyanjiao
Wed Jan 02, 2019 8:20 am
Forum: ESP-IDF
Topic: How do I change the timeout on the softAP example?
Replies: 20
Views: 27034

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

Sorry liuzhifu, I missed this. Thanks for the info. Do you know if it's hard-coded in the IDF or a dependency? I don't usually like messing around with dependencies, but if it becomes a hard requirement it would be good to know where it's set. Hi detlier, We know where it's set, and currently it's ...