Bluetooth Sniffing; Beacon Data Switchable - Ebyte E104-BT02 User Manual

Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.
APP communication, meet more customization requirements, and is more practical.

5.10 Bluetooth sniffing

The module supports the Bluetooth sniffing function in the host state. In the host configuration mode, the command
<STARTSNIF> turns on the Bluetooth sniffing. The module automatically sniffs the surrounding Bluetooth broadcast data packet and
outputs the acquired Bluetooth information through the serial port. The output format is MAC (6 bytes) +RSSI (1 byte) a total of 7
bytes of hexadecimal data. (Special note: This function is valid in both master and slave modes, and it has nothing to do with whether
Bluetooth is connected or not. That is to say, the sniffing function is enabled in the Bluetooth connection state.)
Description:
1) The sniffing function is valid only in the Bluetooth host role and the configuration mode.
2) The broadcast packet sniffing speed can be configured by the command <SCANGAP>/<SCANWN>. The shorter the gap, the
larger the window and the faster the sniffing response.

5.11 Beacon data switchable

The slave module can be configured with "<ADVDATA>" and "<IBACON>" respectively, and the normal broadcast data and
Ibeacon broadcast data. After the broadcast is enabled, the module uses the configured broadcast gap as a fixed interval and broadcasts
3 ordinary broadcast data packets each time, switch broadcast 3 Ibeacon broadcast packets, and loop. This function realizes
synchronous transmission of ordinary broadcast and Ibeacon broadcast, which can achieve seamless connection effect.
In addition, the command <ADVSUST> can be configured as a broadcast non-switching function, that is, the ibeacon and the
normal beacon switch broadcast mechanism are turned off, and the broadcast mode is set to a fixed broadcast mode.
The default factory configuration enables Beacon data switching mode.
Description:
1)、Ibeacon data format is as follows:
0-8
Ibeacon Prefix
9bytes
Ibeacon Prefix:Specific byte
UUID:Used to distinguish the ID numbers of the same Beacon device. The same group device uses the same ID number.
Major:Used to mark related Beacons as a group
Minor:ID number of each device
Tx Power:The measured signal strength value of 1 meter can be used for ranging.
2)、Normal broadcast packet format:
3)、Fixed broadcast packet format:
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
9-24
25、26
UUID
Major Number
16bytes
2bytes
0-3
03 03 FFF0
Manufacture DATA
Ibeacon Data
27、28
Minor Number
2bytes
4-N
Manufacture DATA
N
E104-BT02 User Manual
29
Tx Power
1bytes
7

Advertisement

Table of Contents
loading

Table of Contents