XtGem Forum catalog

Command Write Configure - YOUR_PROFILE

<Header> +

<Payload_length>

<Payload>

PL0

PL1

PL2

PL3

PL4

PL5

$ESP_OK|xx|

‘W’

‘c’

Infor 1

Infor 2

Infor 3

Infor 4

...


Note: This configure only work on WEB Configure interface !

Name CFG : YOUR_PROFILE

Number of field values : 9

 

Payload

Index

Type value

Min

Value

Max

Value

Default

Value

Min Length

Max Length

Describe

Unit

PL2

PRINT

 

 

ESPrtk : [SHORT_ID]

3

30

Name Hotspot

 

PL3

PASS_D

 

 

def123DEF

8

40

Password Hotspot

 

PL4

INTEGER

0

1

0

 

 

Enable Hotspot Security

 

PL5

PASS_B

 

 

admin

1

40

Name Login Profile

 

PL6

PASS_D

 

 

abc123ABC

8

40

Password Profile

 

PL7

PRINT

 

 

Hello member

0

15

Nickname

 

PL8

PRINT

 

 

ESPrtk new user

0

40

Introduce

 

PL9

INTEGER

0

1

1

-

-

Allow create new Profile

 

PL10

INTEGER

0

4

0

-

-

Type CSS theme WEB Configure’s interface

 

PL11

 

 

 

 

 

 

 

 

PL12

 

 

 

 

 

 

 

 

PL13

 

 

 

 

 

 

 

 

PL14

 

 

 

 

 

 

 

 

PL15

 

 

 

 

 

 

 

 

PL16

 

 

 

 

 

 

 

 



 

PL0

PL1

PL2

Enable Hotspot Security

‘W’

‘c’

‘0’

Disable Hotspot Security

 

 

‘1’

Enable Hotspot Security

 

PL0

PL1

PL9

Allow create new Profile

‘W’

‘c’

‘0’

Not allow create new Profile

 

 

‘1’

Allow create new Profile

 

 

PL0

PL1

PL10

Type CSS theme WEB Configure’s interface

‘W’

‘c’

‘0’

Default – BGW theme

 

 

‘1’

BWR theme

 

 

‘2’

BGG theme

 

 

‘3’

Other theme

 

 

‘4’

Other theme

 

 

ESPrtk Respond

Payload

Index

 

Type value

Min

Value

Max

Value

Min Length

Max Length

Describe

Unit

PL2

‘c’

STRING

-

-

1

1

ID Configure : YOUR_PROFILE

 

 

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

Note: This configure only work on WEB Configure interface !

Message :

HOST Send

$ESP_OK|80|W|c|ESPrtk : IHGG4|def123DEF|0|admin|abc123ABC|ESPrtk new user|Hello member|1|0|*134C

ACK Respond

$ESP_OK|46|W|c|1|( ID : YOUR_PROFILE ) : Saved Success .|*3B1B

NACK Respond

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

 

 

Command Read configure - YOUR_PROFILE

 

Note: This configure only work on WEB Configure interface !

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|c||*653F

ACK Respond

$ESP_OK|80|R|c|ESPrtk : IHGG4|def123DEF|0|admin|abc123ABC|ESPrtk new user|Hello member|1|0|*164C

NACK Respond

$ESP_ER|76|R|j|NACK : Only support this action on WEB Configure or Command Tester Tool|*6F38

 

Command Write Configure - YOUR_PROFILE

<Header> +

<Payload_length>

<Payload>

PL0

PL1

PL2

PL3

PL4

PL5

$ESP_OK|xx|

‘W’

‘c’

Infor 1

Infor 2

Infor 3

Infor 4

...


Note: This configure only work on WEB Configure interface !

Name CFG : YOUR_PROFILE

Number of field values : 8

 

Payload

Index

Type value

Min

Value

Max

Value

Default

Value

Min Length

Max Length

Describe

Unit

PL2

PRINT

 

 

ESPrtk : [SHORT_ID]

3

30

Name Hotspot

 

PL3

PASS_D

 

 

def123DEF

8

40

Password Hotspot

 

PL4

INTEGER

0

1

0

 

 

Enable Hotspot Security

 

PL5

PASS_B

 

 

admin

1

40

Name Login Profile

 

PL6

PASS_D

 

 

abc123ABC

8

40

Password Profile

 

PL7

PRINT

 

 

Hello member

0

15

Nickname

 

PL8

PRINT

 

 

ESPrtk new user

0

40

Introduce

 

PL9

INTEGER

0

1

1

 

 

Allow create new Profile

 

PL10

 

 

 

 

 

 

 

 

PL11

 

 

 

 

 

 

 

 

PL12

 

 

 

 

 

 

 

 

PL13

 

 

 

 

 

 

 

 

PL14

 

 

 

 

 

 

 

 

PL15

 

 

 

 

 

 

 

 

PL16

 

 

 

 

 

 

 

 





PL0

PL1

PL2

Enable Hotspot Security

‘W’

‘c’

‘0’

Disable Hotspot Security

 

 

‘1’

Enable Hotspot Security

 

PL0

PL1

PL9

Allow create new Profile

‘W’

‘c’

‘0’

Not allow create new Profile

 

 

‘1’

Allow create new Profile

 

ESPrtk Respond

Payload

Index

 

Type value

Min

Value

Max

Value

Min Length

Max Length

Describe

Unit

PL2

‘c’

STRING

-

-

1

1

ID Configure : YOUR_PROFILE

 

 

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

Note: This configure only work on WEB Configure interface !

Message :

HOST Send

$ESP_OK|78|W|c|ESPrtk : 81909|def123DEF|0|admin|abc123ABC|Hello member|ESPrtk new user|1|*5407

ACK Respond

$ESP_OK|46|W|c|1|( ID : YOUR_PROFILE ) : Saved Success .|*3B1B

NACK Respond

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

 


Command Read configure - YOUR_PROFILE

 

Note: This configure only work on WEB Configure interface !

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|c||*653F

ACK Respond

$ESP_OK|78|R|c|ESPrtk : 81909|def123DEF|0|admin|abc123ABC|Hello member|ESPrtk new user|1|*5107

NACK Respond

$ESP_ER|76|R|j|NACK : Only support this action on WEB Configure or Command Tester Tool|*6F38