Chengdu Ebyte Electronic Technology Co., Ltd
E104-BT11 User Manual
Copyright ©2012–2020
,
Chengdu Ebyte Electronic Technology Co.,Ltd
23
5.4.2.1 Fixed-point transmission example
Module 0x0003 sends "30313233343536373839" hex data to module 0x0001
Tx end
0D C2 00 03 30 31 32 33 34 35 36 37 38 39
Rx end
0F 42 00 01 00 03 30 31 32 33 34 35 36 37 38 39
5.4.2.2 Broadcast example
The device 0x0003 broadcasts the data "30313233343536373839". Other modules in the network receive broadcasts. Take
module 0x0001 and module 0x0005 as examples.
Tx end
0D C2 ff ff 30 31 32 33 34 35 36 37 38 39
0x0001
Rx end
0F 42 00 03 FF FF 30 31 32 33 34 35 36 37 38 39
0x0005
Rx end
0F 42 00 03 FF FF 30 31 32 33 34 35 36 37 38 39
5.4.3 Configuration over air
Command
(
1 byte
)
Target
address
(2 byte)
Configure parameter
Transparent
transmission
target address
(
2 byte
)
Baud rate
(
1 byte
)
1 byte
1 byte
Reserved
parity
bit
Data bit
Stop
bit
Reserved Restart
Transparent
transmission
enables
7
6 5 4 3 2 1 0
7~2
1
0
0xC3
00 01
00 02
0C
0
0
4
1
0
1
1
For
example,
Request
07 C3 00 001 00 002 0C 11 03
Response 07 40 00 001 00 002 0C 11 03
Remark
1. Check digit parameters are consistent with 3.1.25 check digit setting configuration parameters;
2. The data bit parameters are consistent with the 3.1.21 setting uart data bit configuration parameters;
3. The stop bit parameters are consistent with 3.1.23 setting uart stop bit configuration parameters;
4. The baud rate parameter is consistent with the 3.1.11 baud rate setting configuration parameter
5. The restart function is to restart after configuration. 1 means restart, 0 means no restart.
6. Transparent transmission enable indicates that transparent transmission is enabled and prohibited. 1 is enabled, 0 is
disabled.
7. Any node can initiate air configuration.
8. Among them, the UART configuration restart takes effect and is saved after power-off;
9. Restart and transparent transmission enable will take effect immediately, save after power off.
Note:
After configured for transparent transmission, uart will no longer receive configuration parameters. If you need to set the
module through uart, you need to cancel the transparent transmission enable through the air configuration, or use the
restart pin to restart the parameters.
Содержание E104-BT11
Страница 1: ...E104 BT11 User Manual Ble mesh...