User's Manual
Chengdu Ebyte Electronic Technology Co., Ltd E104-BT5032A User Manual
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd
14
5.1.1 Master
1. AT+ROLE=1 choose role as master; Restart to take effect;
2. AT+SCAN=1 master scanning started;
3. AT+AUTOCONN configure if it is automatically connected after power on;
4. Once in manual connection,AT+CONN configure to connect specific device;
5. One master and multiple slave connection is available. Maximum connected slave quantity is 4;
6. Print status information when the master connection status changes. See 6.3 for Status Print.
5.1.1.1 Master connecting method
5.1.1.1.1 Condition filtering
The device can be configured to filter by MAC address bonding and service UUID.
UUID filtering AT+UUIDSVR
is filtered according to the content configured by AT+UUIDSVR. The filtering condition cannot
be closed. If MAC address filtering is not enabled, the MAC matches, it is automatically connected to the slave once service UUID is
matched.
If the user needs MAC address filtering, MAC address filtering needs to be enabled through AT+BOND=1, and the MAC address
is added to the master through AT+BONDMAC. After the master scans to the slave, if it is the same as the binding list MAC address
and the service UUID, it automatically connects to the slave device.
If the master is configured as a manual connection, MAC address binding filtering will be ignored, but svruuid is consistent.
5.1.1.1.2 Automatic connection
If configured to connect automatically, the slave is automatically connected after the condition filter is met.
If configured to connect manually, turn on scanning. The master will scan the device with the service UUID matched and output
through the UART (the data format is as shown in Figure below, the master outputs the scan result data format). The user connects to
the specified slave device using AT+CONN.
RSSI(Signal quality) MAC
1byte 6byte
5.1.2 Slave
1. AT+ROLE=0 choose role as slave. Restart to take effect.
2. AT+ADV=1 configure normal advertising mode.
3. The broadcast switch is configured to be enabled. Once power on, it automatically enters the broadcast state. Otherwise,
the broadcast device cannot be found.
4. After receiving the master connection request, establish a Bluetooth connection to stop the Bluetooth broadcast and enter
the data transparent transmission mode.
5. Check 5.5 for advertising configuration.
5.1.3 Observer
1. AT+ROLE=2 choose role as observer(Reset to be valid).
2. After receiving the broadcast, print out the entire contents of the broadcast package through the serial port.
3. It cannot connect any device.