8.10. RF_AdvertisingData: Modify the content of the advertising
packet
Settings
index
Designation
Permissible
values
Default value
Permissions
Number
of Bytes
13
See
description
None
read/write
31
The standard content of the advertising packet of the Proteus-e is automatically defined.
This setting allows to put user content in the advertising packet. The value of this user
setting is the raw data which is placed without modification in the advertising packet, after
the standard content has been removed before.
Please check chapter
for details and restriction-
s before modifying this user setting.
Please ensure that the raw data is compliant to the Bluetooth
®
specification [1]
chapter "11 ADVERTISING AND SCAN RESPONSE DATA FORMAT". Other-
wise it can result in malfunctioning.
8.10.1. Example 1
Set the data of the advertising packet to:
• full device name is "Hello" (0x06
0x09
0x48 0x65 0x6C 0x6C 0x6F
)
• TX power is 4 (0x02
0x0A
0x04
)
using
with settings index 13
Start signal
Command
Length
Settings index
Parameter
CS
0x02
0x11
0x0B 0x00
0x0D
0x06
0x09
0x48 0x65 0x6C
0x6C 0x6F
0x02
0x0A
0x04
0x54
Response
: Successfully modified the setting.
Start signal
Command | 0x40
Length
Status
CS
0x02
0x51
0x01 0x00
0x00
0x52
8.10.2. Example 2
Request the static pass key of the module using
with settings index 13
Proteus-e reference manual version 0.3
© November 2021
www.we-online.com/wireless-connectivity
97