Command Write Configure - RADIO_RTK
<Header> + <Payload_length> | <Payload> | ||||||
PL0 | PL1 | PL2 | PL3 | PL4 | PL5 | … | |
$ESP_OK|xx| | ‘W’ | ‘f’ | Infor 1 | Infor 2 | Infor 3 | Infor 4 | ... |
Name CFG : RADIO_RTK
Number of field values : 10
Payload Index | Type value | Min Value | Max Value | Default Value | Min Length | Max Length | Describe | Unit |
PL2 | PASS_D | - | - | abc_LoRa_WiFi_012345 | 1 | 32 | Radio KEY Encrypt |
|
PL3 | INTEGER | 0 | 1 | 0 | - | - | RF Type |
|
PL4 | INTEGER | 0 | 13 | 0 | - | - | WiFi Channel |
|
PL5 | INTEGER | 0 | 9 | 9 | - | - | WiFi Type Power |
|
PL6 | INTEGER | 0 | 5 | 0 | - | - | WiFi Type Speed |
|
PL7 | INTEGER | 400000000 | 1000000000 | 433000000 | - | - | LoRa Frequency(Hz) | Hz |
PL8 | INTEGER | 0 | 13 | 0 | - | - | LoRa Channel |
|
PL9 | INTEGER | 0 | 10 | 9 | - | - | LoRa Type Power |
|
PL10 | INTEGER | 0 | 8 | 8 | - | - | LoRa Type Speed |
|
PL11 | INTEGER | 0 | 1000000 | 10 | - | - | LoRa delay each 250 byte | Millis second |
PL12 |
|
|
|
|
|
|
|
|
PL13 |
|
|
|
|
|
|
|
|
PL14 |
|
|
|
|
|
|
|
|
PL15 |
|
|
|
|
|
|
|
|
PL16 |
|
|
|
|
|
|
|
|
PL0 | PL1 | PL3 | RF Type | Unit |
‘W’ | ‘f’ | 0 | WiFi-to-WiFi |
|
|
| 1 | LoRa-to-LoRa| |
|
PL0 | PL1 | PL4 | WiFi Channel | Unit |
PL0 | PL1 | PL8 | LoRa Channel |
|
‘W’ | ‘f’ | 0 | Channel 1 |
|
|
| 1 | Channel 2 |
|
|
| 2 | Channel 3 |
|
|
| 3 | Channel 4 |
|
|
| 4 | Channel 5 |
|
|
| 5 | Channel 6 |
|
|
| 6 | Channel 7 |
|
|
| 7 | Channel 8 |
|
|
| 8 | Channel 9 |
|
|
| 9 | Channel 10 |
|
|
| 10 | Channel 11 |
|
|
| 11 | Channel 12 |
|
|
| 12 | Channel 13 |
|
|
| 13 | Channel 14 |
|
PL0 | PL1 | PL5 | WiFi Type Power | Unit |
PL0 | PL1 | PL9 | LoRa Type Power |
|
‘W’ | ‘f’ | 0 | 2 dBm - 1.59 mW |
|
|
| 1 | 4 dBm - 2.51 mW |
|
|
| 2 | 6 dBm - 3.98 mW |
|
|
| 3 | 8 dBm - 6.31 mW |
|
|
| 4 | 10 dBm - 10 mW |
|
|
| 5 | 12 dBm - 15.9 mW |
|
|
| 6 | 14 dBm - 25.1 mW |
|
|
| 7 | 16 dBm - 39.8 mW |
|
|
| 8 | 18 dBm - 63.1 mW |
|
|
| 9 | 20 dBm - 100 mW |
|
|
| 10 | 27 dBm - 500 mW |
|
PL0 | PL1 | PL6 | WiFi Type Speed | Unit |
‘W’ | ‘f’ |
| 55 Kbps |
|
|
|
| 90 Kbps |
|
|
|
| 160 Kbps |
|
|
|
| 240 Kbps |
|
|
|
| 320 Kbps |
|
|
|
| 400 Kbps |
|
PL0 | PL1 | PL10 | LoRa Type Speed | Unit |
‘W’ | ‘f’ |
| 0.15 Kbps |
|
|
|
| 0.3 Kbps |
|
|
|
| 0.6 Kbps |
|
|
|
| 1.2 Kbps |
|
|
|
| 2.2 Kbps |
|
|
|
| 3.9 Kbps |
|
|
|
| 7 Kbps |
|
|
|
| 12.5 Kbps |
|
|
|
| 22 Kbps |
|
ESPrtk Respond
Payload Index
| Type value | Min Value | Max Value | Min Length | Max Length | Describe | Unit | ||
PL2 | ‘f’ | STRING | - | - | 1 | 1 | ID Configure : RADIO_RTK |
| |
| 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|f|abc_LoRa_WiFi_012345|0|0|9|0|433000000|0|9|8|10|*1906 |
ACK Respond | $ESP_OK|43|W|f|1|( ID : RADIO_RTK ) : Saved Success .|*7D4A |
NACK Respond | $ESP_ER|… or $ESS_ER|… or $AES_ER|… |
Command Read configure - RADIO_RTK
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|f||*603A |
ACK Respond | $ESP_OK|52|R|f|abc_LoRa_WiFi_012345|0|0|9|0|433000000|0|9|8|10|*1C06 |
NACK Respond | $ESP_ER|… or $ESS_ER|… or $AES_ER|… |