Lescnumcomp Mode - We PROTEUS-III User Manual

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

Advertisement

WIRELESS CONNECTIVITY & SENSORS
User manual Proteus-III
Request CMD_DATA_REQ : Send "EFGH" to
module B
Response CMD_DATA_CNF : Request received,
send data now
Indication CMD_DATA_IND : Received string
"EFGH" from FS_BTMAC
0x18 0x00
with RSSI of 0xC1 (-63dBm)
Response CMD_TXCOMPLETE_RSP : Data
transmitted successfully
7. Now module A closes the connection, so both modules will get a disconnect indication.
Info
Request CMD_DISCONNECT_REQ : Disconnect
Response CMD_DISCONNECT_CNF : Request
received, disconnect now
Indication CMD_DISCONNECT_IND : Connection
closed
Indication CMD_DISCONNECT_IND : Connection
closed
8. You may want to perform a CMD_FACTORYRESET_REQ to restore default settings.

5.6.1.4. LescNumComp mode

In case of the "LescNumComp" mode, a pass key is displayed on peripheral and central
side. Both, the central and peripheral device must confirm that both keys are equal. Here
the Proteus-III uses a pass key that is generated by the LESC method (low energy secure
connection) when a connection is initiated. When using this method, the peripheral and central
device output the new generated pass key (see CMD_DISPLAY_PASSKEY_IND ) when a connection
setup has been initiated. Both, the central and peripheral device request their hosts to confirm
that both keys coincide (see CMD_NUMERIC_COMP_REQ ). If both devices confirmed the key, the
channel will be opened for data transmission. Otherwise, the connection will be rejected.
Example: Secured connection with security method "LescNumComp"
1. Power-up the modules and make their UARTs accessible by the host(s) (115200 Baud,
8n1). After the power-up or after reset the following sequence is sent from the module to
the host.
Info
Response CMD_GETSTATE_CNF : Module A
started in ACTION_IDLE mode.
Order code 2611011024000
Version 1.8 , July 2022
0x55 0x00 0x00 0xDA
02 04 04 00
45 46 47
48
0E
02 44 01 00 00 47
02 C4 01 00 00 C7
Module A
02 07 00 00 05
02 47 01 00 00 44
02 87 01 00 16 92
Module A
02 41 02 00 01 01 41
www.we-online.com/wcs
02 84 0B 00
55 00
00 DA 18 00
C1
45
46 47 48
D7
Module B
02 87 01 00 13 97
Module B
47

Advertisement

Table of Contents
loading

This manual is also suitable for:

Proteus-iii-spi26110110240102611011024000

Table of Contents