E18-+Communication+Protocol+Specification V1.3
E18-+Communication+Protocol+Specification V1.3
(AT HEX controlled via switch P1.6, when P1.6=0, it is HEX mode)
Description COM:
Command Description
FE read
FD configure
END:FF is valid
Notes:
10 12 14 16 18 1A 1C 1D
00
19 1B 1D 1F 10 12 14 16 18 1A 1C
1D F2 EF 89 6C 50 09 00 4B 12 00
00 00 20 39 EA 0A 00 4B 12 00 01
0B 04 09 05
Return:FB 08 35
Return:FA 01 Return:FA 01
Return:FA 03 Return:FA 03
Return:FA 04 1F 10 12 14 16 18 1A 1C 1D FF
Return:FA 04
Return:FA 09 Return:FA 09
Return:FA 0A Return:FA 0A
Return:FA 0B Return:FA 0B
Return:FA 0C Return:FA 0C
coordinator)
Return:FA 20 addr
Return:FA 21 addr
Configure remote/local PWM state Command:FD 0F 22 addr period Send:FD 0F 22 FFFF FFFF 1FFF 3FFF
Return:FA 12 Return:FA 12
Return:FA 13 Return:FA 13
Return:FA FE 17 19 1B 1D 1F 10 12 14 16 18 1A 1C
1D F2 EF 89 6C 50 09 00 4B 12 00 00
00 20 39 EA 0A 00 4B 12 00 01 0B 04
09 05 FF
Return:FA FE
4. HEX command parameter description
01 router
02 terminal(default)
01 network exists
00 -3 03 2.5
01 -1.5 04 4.5
02 0 05
00 2400 08 76800
01 4800 09 115200
02 9600 0A 128000
03 14400 0B 230400
04 19200 0C 256000
05 38400 0D 460800
06 43000 0E 921600
07 57600 0F 1000000
14. Storage time of father nodes time:range from 0~120(default 30), unit S
15. Gpio parameter
GPIO P0_0 P0_1 P0_2 P0_3 P0_4 P0_5 P0_6 P2_0 P2_1 P2_2
HEX 00 01 02 03 04 05 06 07 08 09
0 output state
1 high level
2 switch
1 ADC closed
adc_value 0~0XFFFF
Addr value
FFFE FFFD FFFC check/configure information for all devices receiving broadcast
all_info:02 01 02 F4 11 13 15 17 19 1B 1D 1F 10 12 14 16 18 1A 1C 1D F2 EF 89 6C 50 09 00 4B 12 00 00 00 20
39 EA 0A 00 4B 12 00 01 0B 04 09 05
Network key: 11 13 15 17 19 1B 1D 1F 10 12 14 16 18 1A 1C 1D
(Notes:Father node reserve time is not listed here, please use corresponding command for configuration and
examination.)
5. HEX command data communication format
FC LEN DATA
1)Broadcast data
Command:01+type+data
Parameter description:type
01:broadcast mode1 —broadcast the message to all devices in network
02:broadcast mode2 —broadcast the message to receiving devices(except ones in sleep mode)
03:broadcast mode3 —broadcast the message to all functional devices (router and coordinator)
2)Multicast data
Command:02+ group+data
Parameter description:group
3) Unicast data
effect ) R router
E end device
? read
0 no network
effect) ? Read
Command description Command format Return Parameter description
?Read
effect)
? Read
Read/Configure UART AT+UART=baud Configure +OK baud: (see more in baud rate table)
? Read
Read/Configure sleep AT+SLEEP=sleep_time Configure +OK sleep_time: (valid for end node)
? Read
storage time for the node time Read (valid for router and coordinator)
effect) ? Read
Read GPIO input and AT+RGPIO_PUT=addr, RGPIO=addr ,inout FFFF local read
dutyx(x=1~5):
0~65535
enabled.
adcx:
channel
val:
Notes: When remotely control modules, controlled end will print the controlled message