
WIRELESS CONNECTIVITY & SENSORS
User manual Proteus-II
Bit no.
Description
2 : 0
Security mode configuration. Depending on its value, different modes are
chosen when setting up a secure connection. In firmware version 2.1.0 and
newer the peripheral decides which is the minimum security level to access its
data.
0x0
No security
Data is transmitted without authentication and
encryption.
0x2
Just works
level 1.2
Each time a connection is established, new
random keys are exchanged in advance to use
them for data encryption. This mode uses the
"just works" method.
0x3
Static pass
key level 1.3
For authentication, the
is
used. If the peripheral uses this method, the
central device must enter the correct passkey to
finalize the connection.
others
Reserved
3
SECFLAGS_BONDING_ENABLE
: If this Bit is set, bonding is enabled when using one
of the pairing methods. Bonding data of up to 32 devices will be stored in the
flash. If bonding storage is full, the bonding information that has not been used
for the longest period will be removed.
7 : 4
Reserved
Table 48: Security configuration flags
8.8.1. Example 1
Set the security flags to 0x0B, to use the static passkey pairing and with bonding enabled,
using
with settings index 12
Start
signal
Command
Length
Settings index
Parameter
CS
0x02
0x11
0x02 0x00
0x0C
0x0B
0x16
Response
: Successfully modified the setting.
Start signal
Command | 0x40
Length
Status
CS
0x02
0x51
0x01 0x00
0x00
0x52
8.8.2. Example 2
Request the security flags of the module using
with settings index 12
Order code 2608011x24010
96
Version 1.11 , July 2022