Command Write Configure - SYSTEM_Other_Mode
<Header> + <Payload_length> | <Payload> | ||||||
PL0 | PL1 | PL2 | PL3 | PL4 | PL5 | … | |
$ESP_OK|xx| | ‘W’ | ‘r’ | Infor 1 | Infor 2 | Infor 3 | Infor 4 | ... |
Name CFG : SYSTEM_Other_Mode
Number of field values : 9
Payload Index | Type value | Min Value | Max Value | Default Value | Min Length | Max Length | Describe | Unit |
PL2 | INTEGER | 0 | 5 | 0 | - | - | Type CHIP ESP32 |
|
PL3 | INTEGER | 0 | 9 | 9 | - | - | Power System Saving |
|
PL4 | INTEGER | 0 | 7 | 3 | - | - | Type speed SPI-SD CARD |
|
PL5 | INTEGER | 0 | 7 | 3 | - | - | Type speed SPI-ETHERNET |
|
PL6 | INTEGER | 0 | 7 | 3 | - | - | Type speed SPI-LORA |
|
PL7 | INTEGER | 0 | 7 | 3 | - | - | Type speed I2C-IMU |
|
PL8 | INTEGER | 0 | 7 | 3 | - | - | Type speed I2C-OLED |
|
PL9 | BIT | - | - | 111111111111 | 12 | 12 | Enable print message types on TX_UART0 port |
|
PL10 | BIT | - | - | 11111111111111111111 | 20 | 20 | Enable warning to users when an error occurs |
|
PL0 | PL1 | PL2 | Type CHIP ESP32 | Unit |
‘W’ | ‘r’ | 0 |
| |
|
| 1 | ESP32_D0WDQ6 |
|
|
| 2 | ESP32_D0WD_V3 |
|
|
| 3 | ESP32_D0WDQ6_V3 |
|
|
| 4 | ESP32_PICO_D4 |
|
|
| 5 | ESP32_PICO_V3 |
|
PL0 | PL1 | PL3 | Power System Saving | Unit |
‘W’ | ‘r’ | 0 |
| |
|
| 1 | 20% of Max Power |
|
|
| 2 | 30% of Max Power |
|
|
| 3 | 40% of Max Power |
|
|
| 4 | 50% of Max Power |
|
|
| 5 | 60% of Max Power |
|
|
| 6 | 70% of Max Power |
|
|
| 7 | 80% of Max Power |
|
|
| 8 | 90% of Max Power |
|
|
| 9 | 100% of Max Power |
|
PL0 | PL1 | PL4 | Type speed SPI-SD CARD | Unit |
|
| PL5 | Type speed SPI-ETHERNET |
|
|
| PL6 | Type speed SPI-LORA |
|
|
| PL7 | Type speed I2C-IMU |
|
|
| PL8 | Type speed I2C-OLED |
|
‘W’ | ‘r’ | 0 |
| |
|
| 1 |
| |
|
| 2 |
| |
|
| 3 |
| |
|
| 4 |
| |
|
| 5 |
| |
|
| 6 |
| |
|
| 7 |
|
PL0 | PL1 | PL9 | Enable print message types on TX_UART0 port | Unit |
‘W’ | ‘r’ | BIT1 |
| |
|
| BIT2 |
| |
|
| BIT3 |
| |
|
| BIT4 |
| |
|
| BIT5 |
| |
|
| BIT6 |
| |
|
| BIT7 |
| |
|
| BIT8 |
| |
|
| BIT9 |
| |
|
| BIT10 |
| |
|
| BIT11 |
| |
|
| BIT12 |
|
PL0 | PL1 | PL10 | Enable warning to users when an error occurs | Unit |
‘W’ | ‘r’ | BIT1 |
| |
|
| BIT2 |
| |
|
| BIT3 |
| |
|
| BIT4 |
| |
|
| BIT5 |
| |
|
| BIT6 |
| |
|
| BIT7 |
| |
|
| BIT8 |
| |
|
| BIT9 |
| |
|
| BIT10 |
| |
|
| BIT11 |
| |
|
| BIT12 |
| |
|
| BIT13 |
| |
|
| BIT14 |
| |
|
| BIT15 |
| |
|
| BIT16 |
| |
|
| BIT17 |
| |
|
| BIT18 |
| |
|
| BIT19 |
| |
|
| BIT20 |
|
ESPrtk Respond
Payload Index
| Type value | Min Value | Max Value | Min Length | Max Length | Describe | Unit | ||
PL2 | ‘r’ | STRING | - | - | 1 | 1 | ID Configure : SYSTEM_Other_Mode |
| |
| PL3 | INTEGER | 0 | 1 | - | - | Status Configure |
| |
0 | Error: Failed to save , please try again | ||||||||
1 | OK : Saved configure success | ||||||||
| PL4 | STRING | - | - | - | - | Describe Status Configure in text string format |
|
Example
Message : | |
HOST Send | $ESP_OK|52|W|r|0|9|3|3|3|3|3|111111111111|11111111111111111111|*790E |
ACK Respond | $ESP_OK|51|W|r|1|( ID : SYSTEM_Other_Mode ) : Saved Success .|*4B63 |
NACK Respond | $ESP_ER|… or $ESS_ER|… or $AES_ER|… |
Command Read configure - SYSTEM_Other_Mode
ESPrtk Respond
The index / range of values / data types is similar to the index / range of values / data types of payloads when configured.
Example
Message : | |
HOST Send | $ESP_OK|5|R|r||*742E |
ACK Respond | $ESP_OK|50|R|r|9|3|3|3|3|3|111111111111|11111111111111111111|*3272 |
NACK Respond | $ESP_ER|… or $ESS_ER|… or $AES_ER|… |