Rf_Advertisingtimeout: Modify The Advertising Timeout; 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.12. RF_AdvertisingTimeout: Modify the advertising timeout

Settings
Designation
index
RF_AdvertisingTimeout
7
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 RF_AdvertisingTimeout is set to 0, the module advertises infinitely.
To ensure that the module sends a sufficient amount of advertising packets
per RF_AdvertisingTimeout , please also check the RF_ScanTiming parameter,
which defines the frequency of advertising packets.

8.12.1. Example 1

Set the advertising timeout parameter to 0x00 0xB4 (180s) using CMD_SET_REQ with settings
index 7.
Start signal
0x02
Response CMD_SET_CNF : Successfully modified the setting.
Start signal
0x02

8.12.2. Example 2

Request the advertising timeout of the module using CMD_GET_REQ with settings index 7
Start signal
0x02
Response CMD_GET_CNF : Successfully read out the value 0x00 0x00 = 0s, which indicates
indefinite advertising.
Start signal
0x02
Order code 2611011024000
Version 1.8 , July 2022
Permissible
values
0 (infinite),
1 - 650
Command
Length
0x11
0x03 0x00
Command | 0x40
0x51
Command
0x10
0x01 0x00
Command | 0x40
0x50
0x03 0x00
Default value
0
Settings index
Parameter
0x07
0xB4 0x00
Length
Status
0x01 0x00
0x00
Length
Settings index
0x07
Length
Status
Parameter
0x00
0x00 0x00
Number
Permissions
Bytes
read/write
CS
0xA3
CS
0x52
CS
0x14
CS
0x51
138
www.we-online.com/wcs
of
2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Proteus-iii-spi26110110240102611011024000

Table of Contents