That is a somewhat curious forum here...

rin67630
Posts: 141
Joined: Sun Mar 11, 2018 5:13 pm

That is a somewhat curious forum here...

Postby rin67630 » Wed Apr 29, 2020 9:22 pm

The ratio views / answers is less than 1%.

Agree007
Posts: 103
Joined: Mon Sep 18, 2017 7:11 pm
Location: Copenhagen

Re: That is a somewhat curious forum here...

Postby Agree007 » Thu Apr 30, 2020 5:35 am

Most questions in here can be answered by using a simple Google search, that migth be the reason 😉

tommeyers
Posts: 184
Joined: Tue Apr 17, 2018 1:51 pm
Location: Santiago, Dominican Republic

Re: That is a somewhat curious forum here...

Postby tommeyers » Thu Apr 30, 2020 4:47 pm

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
IT Professional, Maker
Santiago, Dominican Republic

rin67630
Posts: 141
Joined: Sun Mar 11, 2018 5:13 pm

Re: That is a somewhat curious forum here...

Postby rin67630 » Thu Apr 30, 2020 8:45 pm

Agree007 wrote:
Thu Apr 30, 2020 5:35 am
Most questions in here can be answered by using a simple Google search...
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

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

Re: That is a somewhat curious forum here...

Postby ESP_Sprite » Thu Apr 30, 2020 9:37 pm

That's not that hard to find, imo...

rin67630
Posts: 141
Joined: Sun Mar 11, 2018 5:13 pm

Re: That is a somewhat curious forum here...

Postby rin67630 » Fri May 01, 2020 3:27 am

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?

Aussie Susan
Posts: 45
Joined: Thu Aug 22, 2019 3:48 am

Re: That is a somewhat curious forum here...

Postby Aussie Susan » Fri May 01, 2020 4:02 am

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

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: That is a somewhat curious forum here...

Postby ESP_Angus » Fri May 01, 2020 5:08 am

rin67630 wrote:
Fri May 01, 2020 3:27 am
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?
Does your Arduino sketch have the line #include "esp_wifi.h" ?

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.

boarchuz
Posts: 605
Joined: Tue Aug 21, 2018 5:28 am

Re: That is a somewhat curious forum here...

Postby boarchuz » Fri May 01, 2020 8:12 am

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

Who is online

Users browsing this forum: No registered users and 66 guests