Command Write Configure - UART_CONFIGURE
| <Header> + <Payload_length> | <Payload> | ||||||
| PL0 | PL1 | PL2 | PL3 | PL4 | PL5 | … | |
| $ESP_OK|xx| | ‘W’ | ‘j’ | Infor 1 | Infor 2 | Infor 3 | Infor 4 | ... | 
Note: This configure only work on WEB Configure interface !
Name CFG : UART_CONFIGURE
Number of field values : 26
| Payload Index | Type value | Min Value | Max Value | Default Value | Min Length | Max Length | Describe | Unit | 
| PL2 | INTEGER | 0 | 1 | 1 | - | - | Enable Hardware Control | 
 | 
| PL3 | INTEGER | 0 | 1 | 1 | - | - | Enable UART Configure | 
 | 
| PL4 | INTEGER | 0 | 2 | 2 | - | - | Enable Encode UART Configure | 
 | 
| PL5 | INTEGER | 0 | 255 | 0 | - | - | Key Encrypt K_0 | 
 | 
| PL6 | INTEGER | 0 | 255 | 1 | - | - | Key Encrypt K_1 | 
 | 
| PL7 | INTEGER | 0 | 255 | 2 | - | - | Key Encrypt K_2 | 
 | 
| PL8 | INTEGER | 0 | 255 | 3 | - | - | Key Encrypt K_3 | 
 | 
| PL9 | INTEGER | 0 | 255 | 4 | - | - | Key Encrypt K_4 | 
 | 
| PL10 | INTEGER | 0 | 255 | 5 | - | - | Key Encrypt K_5 | 
 | 
| PL11 | INTEGER | 0 | 255 | 6 | - | - | Key Encrypt K_6 | 
 | 
| PL12 | INTEGER | 0 | 255 | 7 | - | - | Key Encrypt K_7 | 
 | 
| PL13 | INTEGER | 0 | 255 | 8 | - | - | Key Encrypt K_8 | 
 | 
| PL14 | INTEGER | 0 | 255 | 9 | - | - | Key Encrypt K_9 | 
 | 
| PL15 | INTEGER | 0 | 255 | 10 | - | - | Key Encrypt K_10 | 
 | 
| PL16 | INTEGER | 0 | 255 | 11 | - | - | Key Encrypt K_11 | 
 | 
| PL17 | INTEGER | 0 | 255 | 12 | - | - | Key Encrypt K_12 | 
 | 
| PL18 | INTEGER | 0 | 255 | 13 | - | - | Key Encrypt K_13 | 
 | 
| PL19 | INTEGER | 0 | 255 | 14 | - | - | Key Encrypt K_14 | 
 | 
| PL20 | INTEGER | 0 | 255 | 15 | - | - | Key Encrypt K_15 | 
 | 
| PL21 | INTEGER | 0 | 2 | 0 | - | - | Enable Encrypt Stream PUSH_OUT | 
 | 
| PL22 | HEX_UP | - | - | 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F | 32 | 32 | Salt Encrypt Stream PUSH_OUT | 
 | 
| PL23 | INTEGER | 0 | 1 | 0 | - | - | Enable Decrypt Stream PUSH_in | 
 | 
| PL24 | HEX_UP | - | - | 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F | 32 | 32 | Key Decrypt Stream PUSH_IN | 
 | 
| PL25 | INTEGER | 0 | 1 | 0 | - | - | Enable Block ID | 
 | 
| PL26 | INTEGER | 0 | 100000 | 10 | - | - | Cycle repeat Block ID | Second | 
| PL27 | STRING | - | - | TS9PC_S9SUB, | 1200 | 1200 | List IDs Block | 
 | 
| PL0 | PL1 | PL2 | Enable Hardware Control | Unit | 
| ‘W’ | ‘j’ | 0 | Disable use Hardware Control in UART Configure mode | 
 | 
| 
 | 
 | 1 | Enable use Hardware Control in UART Configure mode | 
 | 
| PL0 | PL1 | PL3 | Enable UART Configure | Unit | 
| ‘W’ | ‘j’ | 0 | Disable start UART Configure mode | 
 | 
| 
 | 
 | 1 | Enable start UART Configure mode | 
 | 
| PL0 | PL1 | PL4 | Enable Encode UART Configure | Unit | 
| ‘W’ | ‘j’ | 0 | Disable encrypt data repond Read/Write configure UART Configure | 
 | 
| 
 | 
 | 1 | Enable encrypt data repond Read/Write configure UART Configure. Use Bitwise Encrypt algorithm. | 
 | 
| 
 | 
 | 2 | Enable encrypt data repond Read/Write configure UART Configure. Use AES256 Encrypt algorithm. | 
 | 
| PL0 | PL1 | PL21 | Enable Encrypt Stream PUSH_OUT | Unit | 
| ‘W’ | ‘j’ | 0 | Disable Encrypt Stream PUSH_OUT | 
 | 
| 
 | 
 | 1 | Enable Encrypt Stream PUSH_OUT with AES_128 | 
 | 
| 
 | 
 | 2 | Enable Encrypt Stream PUSH_OUT with AES_256 | 
 | 
| PL0 | PL1 | PL23 | Enable Decrypt Stream PUSH_IN | Unit | 
| ‘W’ | ‘j’ | 0 | Disable Decrypt Stream PUSH_IN | 
 | 
| 
 | 
 | 1 | Enable Decrypt Stream PUSH_IN | 
 | 
| PL0 | PL1 | PL25 | Enable Block ID | Unit | 
| ‘W’ | ‘j’ | 0 | Disable Enable Block ID | 
 | 
| 
 | 
 | 1 | Enable Enable Block ID | 
 | 
ESPrtk Respond
| Payload Index 
 | Type value | Min Value | Max Value | Min Length | Max Length | Describe | Unit | ||
| PL2 | ‘j’ | STRING | - | - | 1 | 1 | ID Configure : UART_CONFIGURE | 
 | |
| 
 | 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
Note: This configure only work on WEB Configure interface !
| Message : | |
| HOST Send | $ESP_OK|200|W|j|1|1|0|0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|0|000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F|0|000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F|0|10|TS9PC_S9SUB,|*6301 | 
| ACK Respond | $ESP_OK|48|W|j|1|( ID : UART_CONFIGURE ) : Saved Success .|*3C54 | 
| NACK Respond | $ESP_ER|… or $ESS_ER|… or $AES_ER|… | 
Command Write Configure - UART_CONFIGURE
 
| <Header> + <Payload_length> | <Payload> | ||||||
| PL0 | PL1 | PL2 | PL3 | PL4 | PL5 | … | |
| $ESP_OK|xx| | ‘W’ | ‘j’ | Infor 1 | Infor 2 | Infor 3 | Infor 4 | ... | 
 
Note: This configure only work on WEB Configure interface !
Name CFG : UART_CONFIGURE
Number of field values : 19
| Payload Index | Type value | Min Value | Max Value | Default Value | Min Length | Max Length | Describe | Unit | 
| PL2 | INTEGER | 0 | 1 | 1 | - | - | Enable Hardware Control | 
 | 
| PL3 | INTEGER | 0 | 1 | 1 | - | - | Enable UART Configure | 
 | 
| PL4 | INTEGER | 0 | 2 | 2 | - | - | Enable Encode UART Configure | 
 | 
| PL5 | INTEGER | 0 | 255 | 0 | - | - | Key Encrypt K_0 | 
 | 
| PL6 | INTEGER | 0 | 255 | 1 | - | - | Key Encrypt K_1 | 
 | 
| PL7 | INTEGER | 0 | 255 | 2 | - | - | Key Encrypt K_2 | 
 | 
| PL8 | INTEGER | 0 | 255 | 3 | - | - | Key Encrypt K_3 | 
 | 
| PL9 | INTEGER | 0 | 255 | 4 | - | - | Key Encrypt K_4 | 
 | 
| PL10 | INTEGER | 0 | 255 | 5 | - | - | Key Encrypt K_5 | 
 | 
| PL11 | INTEGER | 0 | 255 | 6 | - | - | Key Encrypt K_6 | 
 | 
| PL12 | INTEGER | 0 | 255 | 7 | - | - | Key Encrypt K_7 | 
 | 
| PL13 | INTEGER | 0 | 255 | 8 | - | - | Key Encrypt K_8 | 
 | 
| PL14 | INTEGER | 0 | 255 | 9 | - | - | Key Encrypt K_9 | 
 | 
| PL15 | INTEGER | 0 | 255 | 10 | - | - | Key Encrypt K_10 | 
 | 
| PL16 | INTEGER | 0 | 255 | 11 | - | - | Key Encrypt K_11 | 
 | 
| PL17 | INTEGER | 0 | 255 | 12 | - | - | Key Encrypt K_12 | 
 | 
| PL18 | INTEGER | 0 | 255 | 13 | - | - | Key Encrypt K_13 | 
 | 
| PL19 | INTEGER | 0 | 255 | 14 | - | - | Key Encrypt K_14 | 
 | 
| PL20 | INTEGER | 0 | 255 | 15 | - | - | Key Encrypt K_15 | 
 | 
 
 
 
| PL0 | PL1 | PL2 | Enable Hardware Control | Unit | 
| ‘W’ | ‘j’ | 0 | Disable use Hardware Control in UART Configure mode | 
 | 
| 
 | 
 | 1 | Enable use Hardware Control in UART Configure mode | 
 | 
 
| PL0 | PL1 | PL3 | Enable UART Configure | Unit | 
| ‘W’ | ‘j’ | 0 | Disable start UART Configure mode | 
 | 
| 
 | 
 | 1 | Enable start UART Configure mode | 
 | 
 
| PL0 | PL1 | PL4 | Enable Encode UART Configure | Unit | 
| ‘W’ | ‘j’ | 0 | Disable encrypt data repond Read/Write configure UART Configure | 
 | 
| 
 | 
 | 1 | Enable encrypt data repond Read/Write configure UART Configure. Use Bitwise Encrypt algorithm. | 
 | 
| 
 | 
 | 2 | Enable encrypt data repond Read/Write configure UART Configure. Use AES256 Encrypt algorithm. | 
 | 
ESPrtk Respond
| Payload Index 
 | Type value | Min Value | Max Value | Min Length | Max Length | Describe | Unit | ||
| PL2 | ‘j’ | STRING | - | - | 1 | 1 | ID Configure : UART_CONFIGURE | 
 | |
| 
 | 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
Note: This configure only work on WEB Configure interface !
| Message : | |
| HOST Send | $ESP_OK|48|W|j|1|1|0|0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|*6008 | 
| ACK Respond | $ESP_OK|48|W|j|1|( ID : UART_CONFIGURE ) : Saved Success .|*3C54 | 
| NACK Respond | $ESP_ER|… or $ESS_ER|… or $AES_ER|… | 
Command Read configure - UART_CONFIGURE
Note: This configure only work on WEB Configure interface !
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|j||*6C36 | 
| ACK Respond | $ESP_OK|48|R|j|1|1|0|0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|*6508 | 
| NACK Respond | $ESP_ER|76|R|j|NACK : Only support this action on WEB Configure or Command Tester Tool|*6F38 | 
