
WIRELESS CONNECTIVITY & SENSORS
User manual Proteus-II
8.10. RF_ScanFlags: Modify the scan behavior
Settings
index
Designation
Permissible
values
Default value
Permissions
Number
of
Bytes
13
See
description
0
read/write
1
This 8-Bit field configures the scan behavior of the module. To use multiple settings, add the
Bit numbers and choose the result as value for
Bit no.
Description
0
If this Bit is set, an active scan is performed when using
. In
this case, after receiving an advertising packet a scan request is sent to the
advertising module that returns a scan response containing additional
information. For the communication of Proteus-II modules, active scanning is
only needed when using Beacons. In this case, it is enabled automatically by the
firmware. Please note that active scanning increases the current consumption.
15 : 1
Reserved
Table 49: Scan configuration flags
8.10.1. Example 1
Set the scan flags to 0x01 to enable active scanning using
with settings index 13
Start signal
Command
Length
Settings index
Parameter
CS
0x02
0x11
0x02 0x00
0x0D
0x01
0x1D
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 scan flags of the module using
with settings index 13
Start signal
Command
Length
Settings index
CS
0x02
0x10
0x01 0x00
0x0D
0x1E
Response
: Successfully read out the value 0, which means that active scan is
disabled.
Order code 2608011x24010
99
Version 1.11 , July 2022