Hex Command; Command Rules - Ebyte E180-DTU User Manual

Hide thumbs Also See for E180-DTU:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd

6.4 HEX command

6.4.1 Command rules

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: Length of DATA
CMD: Actual name 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:Parameter
Local serial port configuration format: FD LEN CMD DATA FF
FD:Fixed head
LEN: Length of DATA
CMD: Actual name ID
DATA:Parameter
FF: Command Terminator
Return of configuration: FA CMD
FA:Fixed head
CMD: Command ID
Return during reading / configuration: F7 FF, indicating that the information does not exist / read / configuration /
format failed.
Wireless remote read / configuration format: Add wireless configuration ID before the command format of local
serial port mode
The default is A8 8A (its value can be modified), for example:
Configuration format: A8 8A FD LEN CMD DATA FF
Parameter reading format: A8 8A FE LEN CMD (CHANNEL) FF
Network operation format:F5 LEN CMD DATA FF
F5: Fixed head
LEN: Length of DATA
CMD: Actual name ID
DATA: Parameter
FF: Command Terminator
Return of configuration: FC CMD STATUS
FC: Fixed head
CMD: Actual name ID
STATUS: 00 Successful, 01 failed
Copyright ©2012–2017, 成都亿佰特电子科技有限公司
E180-DTU(ZG120-232) Usermanual
12

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zg 120-232

Table of Contents