XtGem Forum catalog

 

Command Write Configure - EVENT_LOG

<Header> +

<Payload_length>

<Payload>

PL0

PL1

PL2

PL3

PL4

PL5

$ESP_OK|xx|

‘W’

‘m’

Infor 1

Infor 2

Infor 3

Infor 4

...


Name CFG : EVENT_LOG

Number of field values : 5

 

Payload

Index

Type value

Min

Value

Max

Value

Default

Value

Min Length

Max Length

Describe

Unit

PL2

INTEGER

0

9

3

-

-

Type Size Event_Log File

 

PL3

INTEGER

0

1

0

-

-

Enable Record Action

 

PL4

INTEGER

0

1

0

-

-

Enable Record Error

 

PL5

INTEGER

0

1

0

-

-

Enable Record Action Planing

 

PL6

INTEGER

0

1

0

-

-

Enable Record WiFi Scan

 






 

PL0

PL1

PL2

Type Size Event_Log File

Unit

‘W’

‘m’

0

5 Kbytes

 

 

 

1

10 Kbytes

 

 

 

2

15 Kbytes

 

 

 

3

20 Kbytes

 

 

 

4

25 Kbytes

 

 

 

5

30 Kbytes

 

 

 

6

35 Kbytes

 

 

 

7

40 Kbytes

 

 

PL0

PL1

PL3

Enable Record Action

Unit

PL0

PL1

PL4

Enable Record Error

 

PL0

PL1

PL5

Enable Record Action Planing

 

PL0

PL1

PL6

Enable Record WiFi Scan

 

‘W’

‘m’

0

Enalbe

 

 

 

1

Disable

 


ESPrtk Respond

Payload

Index

 

Type value

Min

Value

Max

Value

Min Length

Max Length

Describe

Unit

PL2

‘m’

STRING

-

-

1

1

ID Configure : EVENT_LOG

 

 

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|14|W|m|3|0|0|0|0|*6D76

ACK Respond

$ESP_OK|43|W|m|1|( ID : EVENT_LOG ) : Saved Success .|*624A

NACK Respond

$ESP_ER|… or $ESS_ER|… or $AES_ER|…

 

Command Read configure - EVENT_LOG

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|m||*6B31

ACK Respond

$ESP_OK|14|R|m|3|0|0|0|0|*6876

NACK Respond

$ESP_ER|… or $ESS_ER|… or $AES_ER|…