Chengdu Ebyte Electronic Technology Co., Ltd.
Copyright©2012–2021
ChengduEbyteElectronicTechnologyCo,;Ltd
14
7.2 Configuration mode (mode 2)
Type
When M0 = ON and M1 = ON, the module works in mode 2.
Transmitting
Wireless transmission is off.
Receiving
Wireless receiving is off.
Configuration
Users can visit register to configure the working status.
8. Register read and write control
8.1 Command format
In configuration mode
(
mode 2
:
M1=OFF
,
M0=ON
),
supported commands are as follows
(
only
9600
,
8N1 are
available
)
:
NO
Command
format
Description
1
Configure register
command
:
C0+start parameter
Reply
:
C1+start parameter
Example 1
:
set channel as 0x09
command start address
length
parameter
Transmit
:
C0
05
01
09
Return
:
C1
05
01
09
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
2
Read register
Command
:
C1+start length
Reply
:
C1+start parameter
Example 1: read channel
command start address
length
parameter
Transmit
:
C1
05
01
Return
:
C1
05
01
09
Example 2: read module address, network address, UART and air data rate
Transmit
:
C1 00 04
Return
:
C1 00 04 12 34 00 61
3
Configure
temporary register
Command
:
C2 +start parameter
Reply
:
C1 +start parameter
Example 1
:
Set channel as 0x09
Содержание 400SL37
Страница 1: ...E90 DTU 400SL37 ...