UART Configure Mode.

In this mode, HOST communicates with ESPrtk via UART_0 port to configure (change settings) on ESPrtk.

HOST can also control ESPrtk's hardware features such as controlling IO pins, Bluetooth, WIFI, TCP Task, etc., or controlling other peripheral devices connected to ESPrtk.

Hardware Connect.

Support Read / Write configure .

Use ESPrtk command to start UART configure

 

Use ESPrtk command control

Step 0

ESPrtk after supplying power.

Step 2

HOST send command : $ESP_OK|5|O|_||*441E

Done

ESPrtk will start go to WEB Configure mode.

The CONNECT_LED blink fast.

Success

The CONNECT_LED will light continuously .

ESPrtk respond on TX_UART0: $ESP_OK|5|O|_||*441E


Command Write Configure ESPrtk

Tip : To use these command , ESPrtk need running at UART Configure mode !

<Header> +

<Payload_length>

<Payload>

PL0

PL1

PL2

PL3

PL4

PL5

$ESP_OK|xx|

‘W’

ID Command

Infor 1

Infor 2

Infor 3

Infor 4

...


PL0

PL1

Describe Type Command

Example

‘W’

‘c’

Write YOUR_PROFILE ‘s configure data

 

‘W’

‘d’

Write ACTION_PLANNING ‘s configure data

 

‘W’

‘e’

Write INTNERNET ‘s configure data

 

‘W’

‘f’

Write RADIO_RTK ‘s configure data

 

‘W’

‘g’

Write MQTT_RTK ‘s configure data

 

‘W’

‘h’

Write NTRIP_CLIENT ‘s configure data

 

‘W’

‘i’

Write NTRIP_MASTER ‘s configure data

 

‘W’

‘j’

Write UART_CONFIGURE ‘s configure data

 

‘W’

‘k’

Write BLUETOOTH ‘s configure data

 

‘W’

‘l’

Write DISPLAY_VIEWER ‘s configure data

 

‘W’

‘m’

Write EVENT_LOG ‘s configure data

 

‘W’

‘n’

Write SIMPLE_DEBUG ‘s configure data

 

‘W’

‘o’

Write SD_CARD ‘s configure data

 

‘W’

‘p’

Write IMU_MPU9250 ‘s configure data

 

‘W’

‘q’

Write GPIO_PIN_MAP ‘s configure data

 

‘W’

‘r’

Write SYSTEM_Other_Mode ‘s configure data

 

‘W’

‘s’

Write INSERT_RAW_RX_BASE ‘s configure data

 

‘W’

‘t’

Write INSERT_RAW_TX_ROVER‘s configure data

 

 

Command Read Configure ESPrtk


Tip : To use these command , ESPrtk need running at UART Configure mode !

<Header> +

<Payload_length>

<Payload>

PL0

PL1

PL2

PL3

PL4

PL5

$ESP_OK|xx|

‘R’

ID Command

Infor 1

Infor 2

Infor 3

Infor 4

...


PL0

PL1

Describe Type ID Command

Example

‘R’

‘a’

CREATE NEW PROFILE

 

‘R’

‘b’

LOGIN_LOGOUT

 

‘R’

‘c’

Read YOUR_PROFILE ‘s configure data

$ESP_OK|5|R|c||*653F

‘R’

‘d’

Read ACTION_PLANNING ‘s configure data

$ESP_OK|5|R|d||*6238

‘R’

‘e’

Read INTNERNET ‘s configure data

$ESP_OK|5|R|e||*6339

‘R’

‘f’

Read RADIO_RTK ‘s configure data

$ESP_OK|5|R|f||*603A

‘R’

‘g’

Read MQTT_RTK ‘s configure data

$ESP_OK|5|R|g||*613B

‘R’

‘h’

Read NTRIP_CLIENT ‘s configure data

$ESP_OK|5|R|h||*6E34

‘R’

‘i’

Read NTRIP_MASTER ‘s configure data

$ESP_OK|5|R|i||*6F35

‘R’

‘j’

Read UART_CONFIGURE ‘s configure data

$ESP_OK|5|R|j||*6C36

‘R’

‘k’

Read BLUETOOTH ‘s configure data

$ESP_OK|5|R|k||*6D37

‘R’

‘l’

Read DISPLAY_VIEWER ‘s configure data

$ESP_OK|5|R|l||*6A30

‘R’

‘m’

Read EVENT_LOG ‘s configure data

$ESP_OK|5|R|m||*6B31

‘W’

‘n’

Request convert ID Error to text - SIMPLE_DEBUG

$ESP_OK|7|W|n|23|*6E07

‘R’

‘o’

Read SD_CARD ‘s configure data

$ESP_OK|5|R|o||*6933

‘R’

‘p’

Read IMU_MPU9250 ‘s configure data

$ESP_OK|5|R|p||*762C

‘R’

‘q’

Read GPIO_PIN_MAP ‘s configure data

$ESP_OK|5|R|q||*772D

‘R’

‘r’

Read SYSTEM_Other_Mode ‘s configure data

$ESP_OK|5|R|r||*742E

‘R’

‘s’

Read INSERT_RAW_RX_BASE ‘s configure data

$ESP_OK|5|R|s||*752F

‘R’

‘t’

Read INSERT_RAW_TX_ROVER‘s configure data

$ESP_OK|5|R|t||*7228

‘R’

‘y’

Request ERROR_SYSTEM

$ESP_OK|5|R|y||*7F25

‘R’

‘z’

Request VERSION_MAC ‘s configure data

$ESP_OK|5|R|z||*7C26