Chengdu Ebyte Electronic Technology Co.,Ltd.
Copyright ©2012–2019
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
3-15
Example
:
0201061AFF4C0002155241444955004E4554574F524B53434F00010002D2
For the content of the set broadcast data, please refer to 6.7 Querying and Setting the General Broadcast Data (save after
power off).
Scan response
:
Len
16digit UUID
UUID
Len Broadcast name
Device name
0x03
0x03
Configurable
N
0x09
Configurable, Max 22 bytes
Example
:
0303F0FF1009453130342D4254303034
iBeacon Broadcast packet format
:
1. The command configures UUID, Major, Minor, and TXPWR respectively
2. The command AT + ADV = 2 is configured to work in iBeacon broadcast mode, and broadcast immediately
3.Bluetooth connection is not supported in iBeacon broadcast mode
Advertising
:
iBeacon Prefix
UUID
Major
Minor
TXPWR
9B
16B
2B
2B
1B
Example
:
0201061AFF4C000215FDA50693A4E24FB1AFCFC6EB076478252775848F00
Because the format of iBeacon broadcast data is fixed, only Majo, Minor, and TXPWR can be modified. For details on
setting iBeacon data, refer to 6.9 Querying and Setting IBeacon Major Broadcast Data.
5.12 Configuration over air
Configuration over air refers to the use of the mobile phone APP program BLE test tool to implement wireless
configuration of the module without using the serial debugging assistant. The E104-BT51 module supports configuration
over air. Our open configuration over air channel is FFF3 under the main service FFF0. The features under this channel
support read, write, and notification. E104-BT51 open some IO port reading, PWM setting and other operations, that is,
users can use configuration over air mode to read the IO status to collect information and cooperate with the PWM
setting to perform some control operations.
Methods for configuration over air:
1. After the slave connection is established, the host (mobile phone app) sends AT commands through the Bluetooth
service feature "CONFIG CHANNEL" to configure module parameters over the air. (The configuration channel of
E104-BT51 is FFF3 under the main service FFF0).
2. "Configuration over air" requires password authentication. The command "AT + AUTH = xxx" sends
authentication information, and the Bluetooth service feature "CONFIG CHANNEL" sends authentication command AT
+ AUTH. After successful authentication, it can enter the configuration status.
3. Authentication succeeds and remains valid until the connection is disconnected.
4. The MOD pin has no effect on the process of configuration over air .
5. Configuration over air is used for all AT commands.