At+Sleep-Sets The Sleep Mode; At+Sysram-Checks The Remaining Space Of Ram; At+Sysflash-Set User Partitions In Flash - Espressif Systems ESP32 Instruction Set

At instruction set and examples
Hide thumbs Also See for ESP32:
Table of Contents

Advertisement

!
3.2.9.
AT+SLEEP—Sets the Sleep Mode
Set Command
Response
Parameters
Example
3.2.10. AT+SYSRAM—Checks the Remaining Space of RAM
Query Command
Response
Parameters
Example
3.2.11. AT+SYSFLASH—Set User Partitions in Flash *
Command
Response
Parameters
Espressif
AT+SLEEP=<sleep mode>
OK
<sleep mode>:
‣ 0: disable the sleep mode.
‣ 1: Modem-sleep mode.
AT+SLEEP=0
AT+SYSRAM?
+SYSRAM:<remaining RAM size>
OK
<remaining RAM size>: remaining space of RAM, unit: byte
AT+SYSRAM?
+SYSRAM:148408
OK
Query Command:
AT+SYSFLASH?
Function:
Check the user partitions in flash.
+SYSFLASH:<partition>,<type>,<subtype>,
<addr>,<size>
OK
<partition>: name of user partition
<type>: type of user partition
<subtype>: subtype of user partition
<addr>: address of user partition
<size>: size of user partition
! /! 8 97
3. Basic AT Commands
Set Command:
AT+SYSFLASH=<operation>,<partition>,<of
fset>,<length>
+SYSFLASH:<length>,<data>
OK
<operation>:
‣ 0: erase sector
‣ 1: write data into the user partition
‣ 2: read data from the user partition
<partition>: name of user partition
<offset>: offset of user partition
<length>: data length
2019.06

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP32 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents