AT command for light-sleep
AT command for light-sleep
Hello,
I'm planning to change from ESP8266 to ESP32 using AT commands for communication and light-sleep mode. Unfortunately, I didn't find light sleep settings in AT instruction set. Do you have some SDK including it?
Thank you,
Jan
I'm planning to change from ESP8266 to ESP32 using AT commands for communication and light-sleep mode. Unfortunately, I didn't find light sleep settings in AT instruction set. Do you have some SDK including it?
Thank you,
Jan
Re: AT command for light-sleep
How about the AT+SLEEP command of the latest master? https://github.com/espressif/esp-at/blo ... nds_Set.md
Re: AT command for light-sleep
Thank you,
the bin files must be generated ?
I also found ESP32-WROOM-32 AT Bin V2.0 here
https://www.espressif.com/en/products/s ... t/resource
is the AT commands for light sleep included there ?
the bin files must be generated ?
I also found ESP32-WROOM-32 AT Bin V2.0 here
https://www.espressif.com/en/products/s ... t/resource
is the AT commands for light sleep included there ?
Re: AT command for light-sleep
Hello,
I have installed esp-idf and clone https://github.com/espressif/esp-at.git, but I got following error, when run idf.py menuconfig. How to solve this problem ?
CMake Error at CMakeLists.txt:78 (if):
if given arguments:
"NOT" "7934980f360fccb52ccfd496c067d675f987fcc8" "EQUAL"
Unknown arguments specified
-- Configuring incomplete, errors occurred!
cmake failed with exit code 1
I have installed esp-idf and clone https://github.com/espressif/esp-at.git, but I got following error, when run idf.py menuconfig. How to solve this problem ?
CMake Error at CMakeLists.txt:78 (if):
if given arguments:
"NOT" "7934980f360fccb52ccfd496c067d675f987fcc8" "EQUAL"
Unknown arguments specified
-- Configuring incomplete, errors occurred!
cmake failed with exit code 1
-
- Posts: 25
- Joined: Fri Aug 31, 2018 7:34 am
Re: AT command for light-sleep
Did you change any files in project? Which commit of the project do you use?
Re: AT command for light-sleep
Hello I didn't change any file in the project. I use last version of esp-at downloaded by "git clone https://github.com/espressif/esp-at.git" command yesterday. I use esp idf version 4.0.
Maybe some incompatibility in make programs, Python etc. ? I followed the link below, the example project "hello_world" works with the same command - idf.py menuconfig. Do you have any advice ?
https://docs.espressif.com/projects/esp ... index.html
Maybe some incompatibility in make programs, Python etc. ? I followed the link below, the example project "hello_world" works with the same command - idf.py menuconfig. Do you have any advice ?
https://docs.espressif.com/projects/esp ... index.html
Last edited by Honzik321 on Wed Apr 08, 2020 12:52 pm, edited 1 time in total.
-
- Posts: 25
- Joined: Fri Aug 31, 2018 7:34 am
Re: AT command for light-sleep
Which version of cmake do you use? Mine is
cmake --version
cmake version 3.16.3
CMake suite maintained and supported by Kitware (kitware.com/cmake).
And can you run sed command in your PC?
Please provide all log, maybe the following command fail
execute_process(COMMAND sed -n /commit:/p ${ESP_AT_MODULE_CONFIG_DIR}/IDF_VERSION
OUTPUT_VARIABLE idf_commit
OUTPUT_STRIP_TRAILING_WHITESPACE)
cmake --version
cmake version 3.16.3
CMake suite maintained and supported by Kitware (kitware.com/cmake).
And can you run sed command in your PC?
Please provide all log, maybe the following command fail
execute_process(COMMAND sed -n /commit:/p ${ESP_AT_MODULE_CONFIG_DIR}/IDF_VERSION
OUTPUT_VARIABLE idf_commit
OUTPUT_STRIP_TRAILING_WHITESPACE)
Re: AT command for light-sleep
cmake --version:
cmake version 3.13.4
CMake suite maintained and supported by Kitware (kitware.com/cmake).
execute_process(COMMAND sed -n /commit:/p ${ESP_AT_MODULE_CONFIG_DIR}/IDF_VERSION:
'execute_process' is not recognized as an internal or external command,
operable program or batch file.
I can't run sed command on my windows 10 OS
cmake version 3.13.4
CMake suite maintained and supported by Kitware (kitware.com/cmake).
execute_process(COMMAND sed -n /commit:/p ${ESP_AT_MODULE_CONFIG_DIR}/IDF_VERSION:
'execute_process' is not recognized as an internal or external command,
operable program or batch file.
I can't run sed command on my windows 10 OS
Re: AT command for light-sleep
I have installed idf version 3.3 instead of latest version 4.2, but make menuconfig throw this error:
dell@JAN-NB MINGW32 ~/esp/esp-at
$ make menuconfig
Makefile:29: There is no module_config/module_wroom-32,Using module_config/modul e_esp32_default
The following Python requirements are not satisfied:
click>=5.0
pyelftools>=0.22
The recommended way to install a packages is via "pacman". Please run "pacman -S s <package_name>" for searching the package database and if found then "pacman - S mingw-w64-i686-python2-<package_name>" for installing it.
NOTE: You may need to run "pacman -Syu" if your package database is older and ru n twice if the previous run updated "pacman" itself.
Please read https://github.com/msys2/msys2/wiki/Using-packages for further infor mation about using "pacman"
Alternatively, you can run "C:/msys32/mingw32/bin/python.exe -m pip install --us er -r C:/msys32/home/dell/esp/esp-idf/requirements.txt" for resolving the issue.
make: *** Žádné pravidlo jak vyrobit cíl „check_python_dependencies“ potřebný pr o „menuconfig“. Konec.
dell@JAN-NB MINGW32 ~/esp/esp-at
$ make menuconfig
Makefile:29: There is no module_config/module_wroom-32,Using module_config/modul e_esp32_default
The following Python requirements are not satisfied:
click>=5.0
pyelftools>=0.22
The recommended way to install a packages is via "pacman". Please run "pacman -S s <package_name>" for searching the package database and if found then "pacman - S mingw-w64-i686-python2-<package_name>" for installing it.
NOTE: You may need to run "pacman -Syu" if your package database is older and ru n twice if the previous run updated "pacman" itself.
Please read https://github.com/msys2/msys2/wiki/Using-packages for further infor mation about using "pacman"
Alternatively, you can run "C:/msys32/mingw32/bin/python.exe -m pip install --us er -r C:/msys32/home/dell/esp/esp-idf/requirements.txt" for resolving the issue.
make: *** Žádné pravidlo jak vyrobit cíl „check_python_dependencies“ potřebný pr o „menuconfig“. Konec.
Re: AT command for light-sleep
Hello,
I have tried the ESP32-WROOM-32 AT Bin V2.0 AT+SLEEP commands. The power consumption is always the same for AT+SLEEP=1 and AT+SLEEP=2. Its about 29mA average in station mode connected to AP. Moreover AT+WAKEUPGPIO doesn´t work anymore... so I suppose the AT+SLEEP=1 is not implemented
I have tried the ESP32-WROOM-32 AT Bin V2.0 AT+SLEEP commands. The power consumption is always the same for AT+SLEEP=1 and AT+SLEEP=2. Its about 29mA average in station mode connected to AP. Moreover AT+WAKEUPGPIO doesn´t work anymore... so I suppose the AT+SLEEP=1 is not implemented
Who is online
Users browsing this forum: Google [Bot] and 86 guests