8.12. RF_AdvertisingTimeout: Modify the advertising timeout
Settings
index
Designation
Permissible
values
Default value
Permissions
Number
of
Bytes
7
0 (infinite),
1 - 650
0
read/write
2
This parameter defines the time in seconds after which the advertising of the module stops.
If no peer connects before this timeout, advertising stops and the module goes to system-off
mode. If the
is set to 0, the module advertises infinitely.
To ensure that the module sends a sufficient amount of advertising packets
per
, please also check the
parameter,
which defines the frequency of advertising packets.
8.12.1. Example 1
Set the advertising timeout parameter to 0x00 0xB4 (180s) using
with settings
index 7.
Start signal
Command
Length
Settings index
Parameter
CS
0x02
0x11
0x03 0x00
0x07
0xB4 0x00
0xA3
Response
: Successfully modified the setting.
Start signal
Command | 0x40
Length
Status
CS
0x02
0x51
0x01 0x00
0x00
0x52
8.12.2. Example 2
Request the advertising timeout of the module using
with settings index 7
Start signal
Command
Length
Settings index
CS
0x02
0x10
0x01 0x00
0x07
0x14
Response
: Successfully read out the value 0x00 0x00 = 0s, which indicates
indefinite advertising.
Start signal
Command | 0x40
Length
Status
Parameter
CS
0x02
0x50
0x03 0x00
0x00
0x00 0x00
0x51
Proteus-III reference manual version 1.3
© August 2020
www.we-online.com/wireless-connectivity
135