8.14. RF_ScanFactor: Modify the scan factor
Settings
index
Designation
Permissible
values
Default value
Permissions
Number
of
Bytes
10
1 - 10
2
read/write
1
This parameter defines the factor between the scan window and the scan interval. See
for more information.
Example: Let’s assume that the scan window is 50ms, the
is 3, then the
module scans for 50ms on a fixed channel, enters a suspend mode (system-on mode) for
100ms (3×50ms - 50ms), switches the channel, again scans for 50ms and so on. The larger
the
, the less time the module scans and thus the less power is consumed,
but also the more difficult it is to detect other Bluetooth
®
LE devices on air.
8.14.1. Example 1
Set the scan factor to 0x03 using
with settings index 10.
Start signal
Command
Length
Settings index
Parameter
CS
0x02
0x11
0x02 0x00
0x0A
0x03
0x18
Response
: Successfully modified the setting.
Start signal
Command | 0x40
Length
Status
CS
0x02
0x51
0x01 0x00
0x00
0x52
8.14.2. Example 2
Request the scan factor of the module using
with settings index 10
Start signal
Command
Length
Settings index
CS
0x02
0x10
0x01 0x00
0x0A
0x19
Response
: Successfully read out the value 2.
Start signal
Command | 0x40
Length
Status
Parameter
CS
0x02
0x50
0x02 0x00
0x00
0x02
0x52
Proteus-III reference manual version 1.3
© August 2020
www.we-online.com/wireless-connectivity
138