Command Write Configure - MQTT_RTK
<Header> + <Payload_length> | <Payload> | ||||||
PL0 | PL1 | PL2 | PL3 | PL4 | PL5 | … | |
$ESP_OK|xx| | ‘W’ | ‘g’ | Infor 1 | Infor 2 | Infor 3 | Infor 4 | ... |
Name CFG : MQTT_RTK
Number of field values : 10
Payload Index | Type value | Min Value | Max Value | Default Value | Min Length | Max Length | Describe | Unit |
PL2 | STRING | - | - | broker.hivemq.com | 1 | 50 | IP |
|
PL3 | INTEGER | 0 | 65535 | 1883 | - | - | Port |
|
PL4 | PASS_A | - | - | rkdpcppo | 1 | 30 | User Name |
|
PL5 | PASS_B | - | - | nvZv101KE_SX | 1 | 30 | User Password |
|
PL6 | STRING | - | - | ESPRTK_[ID] | 1 | 30 | MQTT Client ID |
|
PL7 | STRING | - | - | RTCM | 1 | 50 | RTCM Topic |
|
PL8 | STRING | - | - | NMEA | 1 | 50 | NMEA topic |
|
PL9 | STRING | - | - | FAST_NMEA | 1 | 50 | Fast NMEA topic |
|
PL10 | INTEGER | 0 | 1 | 1 | - | - | Enable encrypt data send |
|
PL11 | PASS_D | - | - | abc_MQTT_RTK_012345 | 1 | 32 | MQTT KEY Encrypt |
|
PL12 |
|
|
|
|
|
|
|
|
PL13 |
|
|
|
|
|
|
|
|
PL14 |
|
|
|
|
|
|
|
|
PL15 |
|
|
|
|
|
|
|
|
PL16 |
|
|
|
|
|
|
|
|
ESPrtk Respond
Payload Index
| Type value | Min Value | Max Value | Min Length | Max Length | Describe | Unit | ||
PL2 | ‘g’ | STRING | - | - | 1 | 1 | ID Configure : MQTT_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|110|W|g|broker.hivemq.com|1883|rkdpcppo|nvZv101KE_SX|ESPRTK_TS9PC_S9SUB|RTCM|NMEA|FAST_NMEA|1|abc_MQTT_RTK_012345|*2D09 |
ACK Respond | $ESP_OK|42|W|g|1|( ID : MQTT_RTK ) : Saved Success .|*3002 |
NACK Respond | $ESP_ER|… or $ESS_ER|… or $AES_ER|… |
Command Write Configure - MQTT_RTK
<Header> + <Payload_length> | <Payload> | ||||||
PL0 | PL1 | PL2 | PL3 | PL4 | PL5 | … | |
$ESP_OK|xx| | ‘W’ | ‘g’ | Infor 1 | Infor 2 | Infor 3 | Infor 4 | ... |
Name CFG : MQTT_RTK
Number of field values : 8
Payload Index | Type value | Min Value | Max Value | Default Value | Min Length | Max Length | Describe | Unit |
PL2 | PASS_D | - | - | abc_MQTT_RTK_012345 | 1 | 32 | MQTT KEY Encrypt |
|
PL3 | STRING | - | - | RTCM | 1 | 30 | RTCM Topic |
|
PL4 | STRING | - | - | NMEA | 1 | 30 | NMEA topic |
|
PL5 | STRING | - | - | m11.cloudmqtt.com | 1 | 50 | IP |
|
PL6 | INTEGER | 0 | 65535 | 18052 | - | - | Port |
|
PL7 | PASS_A | - | - | rkdpcppo | 1 | 30 | User Name |
|
PL8 | PASS_B | - | - | nvZv101KE_SX | 1 | 30 | User Password |
|
PL9 | STRING | - | - | [ID] | 1 | 30 | Client ID |
|
PL10 |
|
|
|
|
|
|
|
|
PL11 |
|
|
|
|
|
|
|
|
PL12 |
|
|
|
|
|
|
|
|
PL13 |
|
|
|
|
|
|
|
|
PL14 |
|
|
|
|
|
|
|
|
PL15 |
|
|
|
|
|
|
|
|
PL16 |
|
|
|
|
|
|
|
|
ESPrtk Respond
Payload Index
| Type value | Min Value | Max Value | Min Length | Max Length | Describe | Unit | ||
PL2 | ‘g’ | STRING | - | - | 1 | 1 | ID Configure : MQTT_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|92|W|g|abc_MQTT_RTK_012345|RTCM|NMEA|m11.cloudmqtt.com|18052|rkdpcppo|nvZv101KE_SX|81909_GHB9A|*155D |
ACK Respond | $ESP_OK|42|W|g|1|( ID : MQTT_RTK ) : Saved Success .|*3002 |
NACK Respond | $ESP_ER|… or $ESS_ER|… or $AES_ER|… |
Command Read configure - MQTT_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|g||*613B |
ACK Respond | $ESP_OK|92|R|g|abc_MQTT_RTK_012345|RTCM|NMEA|m11.cloudmqtt.com|18052|rkdpcppo|nvZv101KE_SX|81909_GHB9A|*105D |
NACK Respond | $ESP_ER|… or $ESS_ER|… or $AES_ER|… |