Chengdu Ebyte Electronic Technology Co., Ltd
Copyright ©2012–2019
,
Chengdu Ebyte Electronic Technology Co., Ltd
11
It is unavailable for salves.
Send to slaves command “AT+TRANMD=0” to switch it to format mode. Format is as follows
:
Slave ID
Valid data
1byte
Max:243bytes
0~3/0xff
Salve ID
:
0~3. It is printed by master from “STA:connect,1<mac>” after mster and When slave ID is 0xff, every device is
under advertising.
Every packet output via uart is format transmission.
If connection defined by slave ID doesn’t exist, module will abandon this packet directly.
4.4 MAC address bonding
To enable MAC address bonding, the device connects only to devices with MAC added.
4.5 Advertising
4.5.1 Normal advertising info.
It includes advertising and scan respone
,
advertising is actively sent report
,
scan respone is responsed report after receiving scan
request from the master.
4.5.1.1 Advertising
Fixed field
Len
Manufa field
Manufa data
020106
N
0xFF
configurable
,
max is 26 bytes
For example
:
020106< Len >FF< Manufa data >
Users can configure Manufa data only.
4.5.1.2 Scan response
Len
Fixed field
UUID
Len
Fixed field
Device name
0x03
0x03
FFF0
N
0x09
configurable
,
max is 22 bytes
For example
:
0303FFF0<len>09< Device name >
Note: users do not need to configure this data.
4.5.2 iBeacon advertising info.
1.
Commands are for UUID, Major, Minor.
2.
AT+ADV=2: set to work in iBeacon mode to advertise immediately.
3.
In iBeacon advertising, ble connection is not unavailable.
4.5.2.1 Advertising
iBeacon Prefix
UUID
Major
Minor
Tx-Power