WIRELESS CONNECTIVITY & SENSORS
User manual Proteus-III
8.7. RF_StaticPasskey: Modify the static passkey
Settings
index
Designation
Permissible
values
Default value
Permissions
Number
of Bytes
18
See
description
"123123"
read/write
6
This setting determines the static pass key of the peripheral device used for authentication.
If the static pass key security mode is enabled by the peripheral, this key must be entered in
the central device. In case of a Proteus-III central, the command to enter this pass key during
connection setup is the
The permissible characters are ranging from 0x30 to 0x39 (both included) which are ASCII
numbers (0-9). This is due to the fact that mobile phones prefer numbers only for the passkey.
8.7.1. Example 1
Set the static pass key of the module to 0x31 0x32 0x33 0x34 0x35 0x36 = "123456" using
with settings index 18
Start signal
Command
Length
Settings index
Parameter
CS
0x02
0x11
0x07 0x00
0x12
0x31 0x32 0x33
0x34 0x35 0x36
0x01
Response
: Successfully modified the setting.
Start signal
Command | 0x40
Length
Status
CS
0x02
0x51
0x01 0x00
0x00
0x52
8.7.2. Example 2
Request the static pass key of the module using
with settings index 18
Start signal
Command
Length
Settings index
CS
0x02
0x10
0x01 0x00
0x12
0x01
Response
:Successfully read out the key as 0x31 0x32 0x33 0x34 0x35 0x36 =
"123456"
Start signal
Command | 0x40
Length
Status
Parameter
CS
0x02
0x50
0x07 0x00
0x00
0x31 0x32 0x33
0x34 0x35 0x36
0x52
Order code 2611011024000
129
Version 1.8 , July 2022