Register Read And Write Control; Instruction Format - Ebyte E95-DTU User Manual

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

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.

6.Register read and write control

6.1 Instruction format

In configuration mode (mode 2: the M1 indicator is on, the M0 indicator is off), the list of supported commands is
as follows (when setting, only 9600 and 8N1 formats are supported)::
Numb
Instruction
er
format
1
set register
2
read register
set
3
temporary
register
Copyright ©2012–2022,成都亿佰特电子科技有限公司
Detailed description
Command: C0+start address+length+parameter
Response: C1+start address+length+parameter
Example 1: Configure the channel as 0x09
Command Start Address Length Parameter
Send: C0 05 01 09
Return: C1 05 01 09
Example 2: Configure the radio address (0x1234), network address (0x00), serial port
(9600 8N1), and airspeed (1.2K) at the same time
Send: C0 00 04 12 34 00 61
Return: C1 00 04 12 34 00 61
Instruction: C1+start address+length
Response: C1+start address+length+parameter
Example 1: Reading a channel
Command Start Address Length Parameter
Send: C1 05 01
Return: C1 05 01 09
Example 2: Read radio address, network address, serial port, airspeed at the same time
Send: C1 00 04
Return: C1 00 04 12 34 00 61
Command: C2 + start address + length + parameter
Response: C1 + start address + length + parameter
Example 1: Configure the channel as 0x09
Command Start Address Length Parameter
Send: C2 05 01 09
Return: C1 05 01 09
Example 2: Configure the radio address (0x1234), network address (0x00), serial port
(9600 8N1), and airspeed (1.2K) at the same time
E95-DTU(900SLxx-485) User Manual
12

Advertisement

Table of Contents
loading

Table of Contents