Rf_Beaconflags: Interpret The Advertising Data; Example 1 - We PROTEUS-III User Manual

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

Advertisement

WIRELESS CONNECTIVITY & SENSORS
User manual Proteus-III

8.11. RF_BeaconFlags: Interpret the advertising data

Settings
Designation
index
RF_BeaconFlags
14
This field configures the reception of Beacons.
Value
Description
Receive all Beacons from Proteus-III devices in range. Each received packet is
0x01
interpreted and is sent to the host via a CMD_BEACON_IND message.
All received advertising data / beacons is output in raw format via a
0x02
CMD_BEACON_RSP message.
Same as '0x01' plus additional filter. This filter discards redundant packets that
0x03
contain the same content.
A CMD_RSSI_IND message is output each time when an advertising packet with
WE SPP-like UUID is received. This feature can be used to realize a position
0x04
sensing application, since the CMD_RSSI_IND contains the current TX power
level and the current RSSI value besides the FS_BTMAC of the sending device.
Others
Reserved.
The internal database of the module may host the advertising data of 25 differ-
ent devices. If the data base is full, the oldest entry is removed.
To decrease the work load of the receiving module, use a sufficiently high UART
baud rate at the receiving device and slow advertising intervals at the sending
devices.
If the reception of beacons is configured, active scanning is performed which
increases the current consumption.

8.11.1. Example 1

Set the Beacon flags to 0x04 using CMD_SET_REQ with settings index 14. Thus when an adver-
tising packet with WE SPP-like UUID is received, a CMD_RSSI_IND message is printed.
Order code 2611011024000
Version 1.8 , July 2022
Permissible
values
See
description
Table 73: Beacon configuration flags
Permissions
Default value
read/write
0
www.we-online.com/wcs
Number
of
Bytes
1
136

Advertisement

Table of Contents
loading

This manual is also suitable for:

Proteus-iii-spi26110110240102611011024000

Table of Contents