XtGem Forum catalog

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

ESP32_D0WD

 

 

 

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

10% of Max Power

 

 

 

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

(Lowest speed) 25% of Standard Speed

 

 

 

1

50% of Standard Speed

 

 

 

2

75% of Standard Speed

 

 

 

3

100% of Standard Speed

 

 

 

4

125% of Standard Speed

 

 

 

5

150% of Standard Speed

 

 

 

6

175% of Standard Speed

 

 

 

7

(Highest speed) 200% of Standard Speed

 

 

PL0

PL1

PL9

Enable print message types on TX_UART0 port

Unit

‘W’

‘r’

BIT1

_SYSTEM_ (ESPrtk System)

 

 

 

BIT2

_ERROR_ (Error status)

 

 

 

BIT3

_INFO_ (Text , Log, Information...)

 

 

 

BIT4

_GOIN_ (Go to function status)

 

 

 

BIT5

_WFSCAN_ (Wifi Scan Result)

 

 

 

BIT6

_BROKER_ (Broker MQTT Status)|

 

 

 

BIT7

_RVNMEA_ (print NMEA from Rover)|

 

 

 

BIT8

_CONFIG_ (Configure information detail)

 

 

 

BIT9

$__GGA (Rover print GGA message)

 

 

 

BIT10

$_NMEA_ (Rover print NMEA message)

 

 

 

BIT11

$ESPIM1 (IMU MPU9250 Data type 1)

 

 

 

BIT12

$ESPIM2 (IMU MPU9250 Data type 2)

 

 


PL0

PL1

PL10

Enable warning to users when an error occurs

Unit

‘W’

‘r’

BIT1

FIRST SETTING

 

 

 

BIT2

UART

 

 

 

BIT3

INTERNET

 

 

 

BIT4

MQTT

 

 

 

BIT5

NTRIP

 

 

 

BIT6

RADIO_RF_PHY

 

 

 

BIT7

RADIO_RF_ROVER

 

 

 

BIT8

BLUETOOTH

 

 

 

BIT9

SD_CARD

 

 

 

BIT10

IMU_MPU

 

 

 

BIT11

DISPLAY_VIEWER

 

 

 

BIT12

UART_CONIGURE

 

 

 

BIT13

EVENT_LOG

 

 

 

BIT14

Other1

 

 

 

BIT15

Other2

 

 

 

BIT16

Other3

 

 

 

BIT17

Other4

 

 

 

BIT18

Other5

 

 

 

BIT19

Other6

 

 

 

BIT20

Other7

 

 

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|…