Reference Manual

Table Of Contents
8.13 RF_AdvertisingFlags: Configure the advertising packet
Settings
index
Designation
Permissible
values
Default value Permissions
Number of
Bytes
29
RF_AdvertisingFlags
0,1
0 read/write
1
The user setting
RF_AdvertisingFlags
specifies the content of the advertising packet.
Bit no.
Description
0
Define the content of the advertising packet
0x0
Command mode: Advertising packet contains 5 bytes device
name
RF_DeviceName
and the TX power
PeripheralOnly mode: Advertising packet contains only 8 bytes
device name generated by the
FS_BTMAC
(A-123456 in case the
FS_BTMAC
is 0x0018DA123456)
0x1
All modes: Advertising packet contains only 8 bytes device
name
RF_DeviceName
others Reserved.
7 : 1
Reserved.
Table 19: Advertising packet configuration flags
To use the beacon feature (see chapter
5.5
) the TX power must be included in
the advertising packet.
8.13.1 Example 1
Set the advertising flags to 1 such that command mode and PeripheralOnly mode use the
same advertising packet content using the
CMD_SET_REQ
with settings index 29
Start signal Command Length Settings index Parameter CS
0x02 0x11 0x02 0x00 0x1D 0x01 0x0D
Response
CMD_SET_CNF
: Successfully modified the setting.
Start signal Command | 0x40 Length Status CS
0x02 0x51 0x01 0x00 0x00 0x52
8.13.2 Example 2
Request the
RF_AdvertisingFlags
using
CMD_GET_REQ
with settings index 29:
Proteus-III reference manual version 0.11 © November 2019
www.we-online.com/wireless-connectivity 132