We PROTEUS-III User Manual page 53

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

Advertisement

WIRELESS CONNECTIVITY & SENSORS
User manual Proteus-III
Example: Secured connection with LE Legacy security method "Just Works" using
bonding
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.
Response CMD_GETSTATE_CNF : Module B
started in ACTION_IDLE mode.
2. Request the FS_BTMAC of both modules.
Info
Request CMD_GET_REQ with settings index 4
Response CMD_GET_CNF : FS_BTMAC of
module A is
0x55 0x00 0x00 0xDA 0x18 0x00
Request CMD_GET_REQ with settings index 4
Response CMD_GET_CNF : FS_BTMAC of
module B is
0x11 0x00 0x00 0xDA 0x18 0x00
3. Configure the parameter RF_SecFlags to use "Just Works with bonding" pairing method
®
for Bluetooth
security.
Info
Perform CMD_SET_REQ with settings index 12
and value 0x0A (Just works with
SECFLAGS_BONDING_ENABLE flag set) on
module A
Response CMD_SET_CNF (Module will restart
to adopt the new value)
Response CMD_GETSTATE_CNF
Perform CMD_SET_REQ with settings index 12
and value 0x0A (Just works with
SECFLAGS_BONDING_ENABLE flag set) on
module B
Response CMD_SET_CNF (Module will restart
to adopt the new value)
Response CMD_GETSTATE_CNF
4. Connect module A to module B via Bluetooth
Order code 2611011024000
Version 1.8 , July 2022
Module A
02 41 02 00 01 01 41
Module A
02 10 01 00 04 17
02 50 07 00 00
55 00
00 DA 18 00
C2
Module A
02 11 02 00 0C 0A
17
02 51 01 00 00 52
02 41 02 00 01 01 41
®
.
www.we-online.com/wcs
Module B
02 41 02 00 01 01 41
Module B
02 10 01 00 04 17
02 50 07 00 00
11 00
00 DA 18 00
86
Module B
02 11 02 00 0C 0A
17
02 51 01 00 00 52
02 41 02 00 01 01 41
51

Advertisement

Table of Contents
loading

This manual is also suitable for:

Proteus-iii-spi26110110240102611011024000

Table of Contents