Rf_Staticpasskey: Modify The Static Passkey; 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.7. RF_StaticPasskey: Modify the static passkey

Settings
Designation
index
RF_StaticPasskey
18
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 CMD_PASSKEY_REQ .
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
CMD_SET_REQ with settings index 18
Start signal
Command
0x02
Response CMD_SET_CNF : Successfully modified the setting.
Start signal
0x02

8.7.2. Example 2

Request the static pass key of the module using CMD_GET_REQ with settings index 18
Start signal
0x02
Response CMD_GET_CNF :Successfully read out the key as 0x31 0x32 0x33 0x34 0x35 0x36 =
"123456"
Start signal
0x02
Order code 2611011024000
Version 1.8 , July 2022
Permissible
values
See
description
Length
0x11
0x07 0x00
Command | 0x40
0x51
Command
0x10
Command | 0x40
0x50
0x07 0x00
Default value
"123123"
Settings index
0x31 0x32 0x33
0x12
0x34 0x35 0x36
Length
Status
0x01 0x00
0x00
Length
Settings index
0x01 0x00
0x12
Length
Status
0x31 0x32 0x33
0x00
0x34 0x35 0x36
Number
Permissions
of Bytes
read/write
CS
Parameter
0x01
CS
0x52
CS
0x01
Parameter
CS
0x52
www.we-online.com/wcs
6
129

Advertisement

Table of Contents
loading

This manual is also suitable for:

Proteus-iii-spi26110110240102611011024000

Table of Contents