Register Read And Write Control; Command Format; Register Description - Ebyte E90-DTU User Manual

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

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd

8. Register read and write control

8.1 Command format

In configuration mode, supported commands are as follows(only 9600,8N1 are available):
Command
No.
format
1
Configure register
2
Read register
3
Format error

8.2 Register description

Addres
Read/
Name
s
Write
Read/
00H
ADDH
Write
Read/
01H
ADDL
Write
Read/
02H
NETID
Write
Chengdu Ebyte Electronic Technology Co.,Ltd
Copyright ©2012–2021,
command:C0+start address+length+parameter
Response:C1+start address+length+parameter
Example 1:set channel as 0x09
command start address
Transmit:C0
05
Return:C1
05
01
Example 2 : set module address ( 0x1234),network address (0x00),UART(9600 8N1),air data
rate(1.2K)
Transmit:C0 00 04 12 34 00 61
Return:C1 00 04 12 34 00 61
Command:C1+start address+length
Response:C1+start address+length+parameter
Example 1: read channel
command start address
Transmit:C1
05
Return:C1
05
01
Example 2: read module address, network address, UART and air data rate
Transmit:C1 00 04
Return:C1 00 04 12 34 00 61
Response:
FF FF FF
Description
ADDH(Default 0)
ADDL(Default 0)
NETID(Default 0)
Description
length
parameter
01
09
09
length
parameter
01
09
E90-DTU(400SL44) User Manual
Remark
High and low byte of the module
address. Note : When the module
address is FFFF, it can be used as
the broadcast and monitor address,
that is the module will not perform
address filtering.
Network address, used to distinguish
the network. When communicating
with each other, they should be set to
the same.
11

Advertisement

Table of Contents
loading

This manual is also suitable for:

400sl44

Table of Contents