8.13. RF_AdvertisingFlags: Configure the advertising packet
Settings
index
Designation
Permissible
values
Default value
Permissions
Number of
Bytes
29
0,1
0
read/write
1
The user setting
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
and the TX power
PeripheralOnly mode: Advertising packet contains only 8 bytes
device name generated by the
(A-123456 in case the
is 0x0018DA123456)
0x1
All modes: Advertising packet contains only 8 bytes device
name
others
Reserved.
7 : 1
Reserved.
Table 21: Advertising packet configuration flags
To use the beacon feature (see chapter
) 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
with settings index 29
Start signal
Command
Length
Settings index
Parameter
CS
0x02
0x11
0x02 0x00
0x1D
0x01
0x0D
Response
: Successfully modified the setting.
Start signal
Command | 0x40
Length
Status
CS
0x02
0x51
0x01 0x00
0x00
0x52
8.13.2. Example 2
Request the
using
with settings index 29:
Proteus-III reference manual version 1.3
© August 2020
www.we-online.com/wireless-connectivity
136