Rf_Scanfactor: Modify The Scan Factor; Example 1; Example 2 - We PROTEUS-III User Manual

Hide thumbs Also See for PROTEUS-III:
Table of Contents

Advertisement

WIRELESS CONNECTIVITY & SENSORS
User manual Proteus-III

8.14. RF_ScanFactor: Modify the scan factor

Settings
Designation
index
RF_ScanFactor
10
This parameter defines the factor between the scan window and the scan interval. See RF_
ScanTiming for more information.
Example: Let's assume that the scan window is 50ms, the RF_ScanFactor is 3, then the mod-
ule 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
RF_ScanFactor , the less time the module scans and thus the less power is consumed, but also
the more difficult it is to detect other Bluetooth

8.14.1. Example 1

Set the scan factor to 0x03 using CMD_SET_REQ with settings index 10.
Start signal
0x02
Response CMD_SET_CNF : Successfully modified the setting.
Start signal
0x02

8.14.2. Example 2

Request the scan factor of the module using CMD_GET_REQ with settings index 10
Start signal
0x02
Response CMD_GET_CNF : Successfully read out the value 2.
Start signal
0x02
Order code 2611011024000
Version 1.8 , July 2022
Permissible
values
1 - 10
Command
Length
0x11
0x02 0x00
Command | 0x40
0x51
Command
Length
0x10
0x01 0x00
Command | 0x40
0x50
0x02 0x00
Default value
2
®
LE devices on air.
Settings index
Parameter
0x0A
Length
Status
0x01 0x00
0x00
Settings index
0x0A
Length
Status
Parameter
0x00
Number
Permissions
of
Bytes
read/write
1
CS
0x03
0x18
CS
0x52
CS
0x19
CS
0x02
0x52
www.we-online.com/wcs
141

Advertisement

Table of Contents
loading

This manual is also suitable for:

Proteus-iii-spi26110110240102611011024000

Table of Contents