Command Write Configure - INTERNET

<Header> +

<Payload_length>

<Payload>

PL0

PL1

PL2

PL3

PL4

PL5

$ESP_OK|xx|

‘W’

‘e’

Infor 1

Infor 2

Infor 3

Infor 4

...

 

 

Name CFG : INTERNET

Number of field values : 8

 

Payload

Index

Type value

Min

Value

Max

Value

Default

Value

Min Length

Max Length

Describe

Unit

PL2

INTEGER

0

3

0

-

-

Type Internet

 

PL3

INTEGER

1

3

1

-

-

Number WiFi in List

 

PL4

PRINT

-

-

TEWM_B31B6B

1

30

SSID1

 

PL5

PASS_A

-

-

884744F797

0

30

Pass1

 

PL6

PRINT

-

-

Tran Trong Toan

1

30

SSID2

 

PL7

PASS_A

-

-

12121975

0

30

Pass2

 

PL8

PRINT

-

-

My Router

1

30

SSID3

 

PL9

PASS_A

-

-

 

0

30

Pass3

 

PL10

 

 

 

 

 

 

 

 

PL11

 

 

 

 

 

 

 

 

PL12

 

 

 

 

 

 

 

 

PL13

 

 

 

 

 

 

 

 

PL14

 

 

 

 

 

 

 

 

PL15

 

 

 

 

 

 

 

 

PL16

 

 

 

 

 

 

 

 

 

PL0

PL1

PL2

Type Internet

Unit

‘W’

‘e’

0

WIFI

 

 

 

1

Ethernet

 

 

 

2

Auto - WIFI

 

 

 

3

Auto - Ethernet

 

 

ESPrtk Respond

Payload

Index

 

Type value

Min

Value

Max

Value

Min Length

Max Length

Describe

Unit

PL2

‘e’

STRING

-

-

1

1

ID Configure : INTERNET

 

 

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|67|W|e|0|1|TEWM_B31B6B|884744F797|Tran Trong Toan|12121975|My Router||*190B

ACK Respond

$ESP_OK|42|W|e|1|( ID : INTERNET ) : Saved Success .|*271A

NACK Respond

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

 

Command Read configure - INTNERNET

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|e||*6339

ACK Respond

$ESP_OK|67|R|e|0|1|TEWM_B31B6B|884744F797|Tran Trong Toan|12121975|My Router||*1C0E

NACK Respond

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