Rf_Secflagsperonly: Modify The Security Settings (Peripheral Only Mode); 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.9. RF_SecFlagsPerOnly: Modify the security settings (Peripheral only
mode)
Settings
Designation
index
RF_SecFlagsPerOnly
44
This user setting determines the security setting of the peripheral only mode. Please refer to
the setting RF_SecFlags for more details.
Since the security modes "Lesc pass key" and "Lesc numeric comparison" out-
put the LESC key on the UART, it is essential to use the command mode.
In other words, the peripheral only mode does not support the lesc security
modes.

8.9.1. Example 1

Set the security flags to 0x02 to use the just works pairing, using CMD_SET_REQ with settings
index 44
Start signal
0x02
Response CMD_SET_CNF : Successfully modified the setting.
Start signal
0x02

8.9.2. Example 2

Request the security flags of the module using CMD_GET_REQ with settings index 44
Start signal
0x02
Response CMD_GET_CNF : Successfully read out the value 2, which means that the just works
pairing mode is enabled.
Start signal
0x02
Order code 2611011024000
Version 1.8 , July 2022
Permissible
values
See
description
Command
Length
0x11
0x02 0x00
Command | 0x40
0x51
Command
Length
0x10
0x01 0x00
Command | 0x40
0x50
0x02 0x00
Default value
11
Settings index
Parameter
0x2C
Length
Status
0x01 0x00
0x00
Settings index
0x2C
Length
Status
Parameter
0x00
Number
Permissions
Bytes
read/write
CS
0x02
0x3F
CS
0x52
CS
0x3F
CS
0x02
0x52
www.we-online.com/wcs
of
1
133

Advertisement

Table of Contents
loading

This manual is also suitable for:

Proteus-iii-spi26110110240102611011024000

Table of Contents