Master; Slave; Observer - Ebyte E104-BT52 User Manual

Low power smd ble to serial
Hide thumbs Also See for E104-BT52:
Table of Contents

Advertisement

transmission.
The observer is only used to print the advertising information of the ble devices around the module and cannot be
connected.

5.1.1 Master

1. AT+ROLE=1 select master mode
2. Command AT+SCAN=1, start master scanning function
3. Support multi-master and multi-slave connection. Up to 2 slaves can be connected.
4. Print status information when the host connection status changes. See status printing.
5.1.1.1 Master connection method
Condition filtering
The device can be configured to filter by binding MAC address and service UUID.
UUID filtering is based on the content filtering configured by AT+UUIDSVR, and the filtering conditions cannot
be turned off. If MAC address filtering is not enabled, the MAC will match and the service UUID will
automatically connect to the slave.
If users need MAC address filtering, add MAC addresses to the device through AT+BONDMAC. After the master
scans the slave, if it is the same as the binding list MAC address and service UUID, the master automatically
connects to the slave device.
Auto connection
After the conditions are met, the slave is automatically connected.

5.1.2 Slave

1. AT+ROLE=0 select slave mode
2. AT+ADV=1 to configure normal advertising mode
3. The advertising switch is configured to be on, and it will automatically enter the advertising state after power-on,
otherwise the advertising device will not be found.
4. After receiving the host connection request, establish a Bluetooth connection to stop Bluetooth advertising and
enter the data transmission mode.
5. For advertising data configuration, see 5.5 Advertising.

5.1.3 Observer

1. Command AT+ROLE=2 to select the observation mode (valid after restart)
2. After receiving the advertising, print out all the contents of the advertising package through the serial port.
3. The observer device cannot be connected to any device.
Check format below
LEN
1 byte
Note: LEN is the sum of MAC, RSSI, and advertising data length.
1. The scan window and scan gap are consistent with the scan parameters.
2. The AT command is valid during the period.
Copyright ©2012–2020,Chengdu Ebyte Electronic Technology Co.,Ltd
MAC
RSSI
6 byte
1 byte
Advdata
No more than 31 byte
6

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents