That is a somewhat curious forum here...
That is a somewhat curious forum here...
The ratio views / answers is less than 1%.
Re: That is a somewhat curious forum here...
Most questions in here can be answered by using a simple Google search, that migth be the reason
Re: That is a somewhat curious forum here...
That is my ratio for use.
I view frequently to learn and occasionally to teach.
The posting mostly are very specific about an area and thus few can reply from experience.
Tom
I view frequently to learn and occasionally to teach.
The posting mostly are very specific about an area and thus few can reply from experience.
Tom
IT Professional, Maker
Santiago, Dominican Republic
Santiago, Dominican Republic
Re: That is a somewhat curious forum here...
Most questions, maybe...
But I could not find anything useful about the concrete syntax to enter into modem sleep, NOT light sleep, NOT deep sleep that are documented here https://docs.espressif.com/projects/esp ... leep-modes.
By the way: I am not alone: viewtopic.php?t=11326
-
- Posts: 9730
- Joined: Thu Nov 26, 2015 4:08 am
Re: That is a somewhat curious forum here...
Thank you, but what can I do with this information?
esp_err_t esp_wifi_set_ps(WIFI_PS_MAX_MODEM);
returns an error from the library:
'WIFI_PS_MAX_MODEM' was not declared in this scope.
Does that mean that the library under ...\Arduino\Hardware\espressif\esp32\libraries\WiFi just makes no use of the option?
That may explain why nobody ever publishes a working example at the library user level?
esp_err_t esp_wifi_set_ps(WIFI_PS_MAX_MODEM);
returns an error from the library:
'WIFI_PS_MAX_MODEM' was not declared in this scope.
Does that mean that the library under ...\Arduino\Hardware\espressif\esp32\libraries\WiFi just makes no use of the option?
That may explain why nobody ever publishes a working example at the library user level?
-
- Posts: 45
- Joined: Thu Aug 22, 2019 3:48 am
Re: That is a somewhat curious forum here...
It probably means that you need to update your library.
I've had some issues where code examples use a newer version of the library and therefore make API calls that are not in my version.
Also the link that you were provided does contain the name 'Latest' in the URL.
Susan
I've had some issues where code examples use a newer version of the library and therefore make API calls that are not in my version.
Also the link that you were provided does contain the name 'Latest' in the URL.
Susan
Re: That is a somewhat curious forum here...
Does your Arduino sketch have the line #include "esp_wifi.h" ?rin67630 wrote: ↑Fri May 01, 2020 3:27 amThank you, but what can I do with this information?
esp_err_t esp_wifi_set_ps(WIFI_PS_MAX_MODEM);
returns an error from the library:
'WIFI_PS_MAX_MODEM' was not declared in this scope.
Does that mean that the library under ...\Arduino\Hardware\espressif\esp32\libraries\WiFi just makes no use of the option?
That may explain why nobody ever publishes a working example at the library user level?
You can use most ESP-IDF function calls inside the Arduino environment, bypassing the Arduino environment APIs, but you will usually need to include additional header files from ESP-IDF to do so.
The Arduino WiFi class has WiFiClient.setSleep(bool) but this only enables WIFI_PS_MIN_MODEM (which is already the default), or disables all power savings if the argument is false.
In general, the Arduino wrappers are designed to be easier to use so they don't always expose everything which is possible via the ESP-IDF APIs.
Re: That is a somewhat curious forum here...
There's also this (expect it will be merged soon):
https://github.com/espressif/arduino-esp32/pull/3900
On-topic, I'm probably about 1000:1. I've learned a lot from the issues and solutions discussed between other people, especially when it's some component/peripheral/thingy I've never tinkered with before. Plus, when I do answer I often end up being wrong
https://github.com/espressif/arduino-esp32/pull/3900
On-topic, I'm probably about 1000:1. I've learned a lot from the issues and solutions discussed between other people, especially when it's some component/peripheral/thingy I've never tinkered with before. Plus, when I do answer I often end up being wrong
Who is online
Users browsing this forum: No registered users and 107 guests