Chengdu Ebyte Electronic Technology Co.,Ltd.
E104-BT12NSP User Manual
Copyright ©2012–2021
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
14
Respond
0x40
06 40 00 data
Example
Request
:
02 C0 00
Respond
:
06 40 00 DATA[3]
Description:
This instruction is only applicable to E104-BT12SP-L, E104-BT12SP-N to obtain network
addresses and configure networks
DATA analysis
Unorganized network:
DATA[0] =0x00
,
DATA[2],DATA[3]0
Network :
DATA[0] =0x01
,
DATA[2],DATA [3] is the module network address.
4.2.1.2 Baud Settings
Operational code
Parameter
Request
0x01
Baud rate serial number to be set (range 0x00~0x07)
Respond
0x01
Returns the current baud rate serial number.
Example
Order
Baud rate specification
03 C0 01 xx
Xx represents the baud rate label to be set
(
0x00~0x07
)
00
:
230400
01
:
128000
02
:
115200
03
:
76800
04
:
57600
05
:
19200
06
:
9600
07
:
4800
Note
:
This instruction be suitable for operation of e104-BT112-L and e104-BT12SP-N
Example: 03 C0 0E 02
,
Modification successfully returns 03400E02 if parameter is out of range
returns 034000010D
4.2.1.3 Baud read
Operational code
Parameter
Request
0x02
None
Respond
0x02
Returns the serial number of the set baud rate
Example
Order
Return
Explanation
02 C0 02
03 40 02 xx
xx represents the baud
rate
number
00
:
230400
01
:
128000
02
:
115200