Hex Command; Command Description - Ebyte E180-Z5812SP User Manual

2.4 ghz zigbee multifunctional soc wireless module
Hide thumbs Also See for E180-Z5812SP:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd.
n cycle
Maximum
Read/Write
number of
reconnectio
ns
IO status
Read/Write
PWM
Read/Write
ADC value

6.4 HEX command

6.4.1 Command description

Read format of local serial port:
Network parameter reading: FE LEN CMD FF
Peripheral parameter reading: FE LEN CMD CHANNEL FF
FE: Fixed head
LEN: DATA length
CMD: Command ID
CHANNEL: PWM, ADC, GPIO, Channel selection when reading
FF: Command terminator
Read return format: FB CMD DATA
FB: Fixed head
CMD: Command ID
DATA: Paremeter
Local serial port configuration format: FD LEN CMD DATA FF
FD: Fixed head
LEN: DATA length
CMD: Command ID
DATA: Parameter
FF: Command terminator
Configuration return: FA CMD
FA: Fixed head
CMD: Commadn ID
Return when reading /configuration: F7 FF, it means command does not exist or failed to read /configure/format incorrect
Wireless remote reading /configuration format: add remote configuration ID before the command format of local serial
port mode. The default value is A8 8A (its value can be modified), for example:
Configuration format is A8 8A FD LEN CMD DATA
Parameter reading format is A8 8A FE LEN CMD (CHANNEL) FF
Network operation format: F5 LEN CMD DATA FF
F5: Fixed head
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
13
1~254 times
High/Low
1us~340 ms
Read
0~3300 mv
After the maximum number of reconnections is
exceeded, if the reconnection is not successful, the
previous network information will be cleared and the
new network will be scanned again. The scanning cycle
is equal to the reconnection cycle
Access/control module GPIO level status
Access/control module PWM duty cycle and period
Read the ADC value of the device, you can use channel
0 to read the device power supply voltage value
E180-Z5812SP User Manual

Advertisement

Table of Contents
loading

Table of Contents