User's Manual

USER MANUAL PREVIEW
PTM 535BZ BLUETOOTH AND ZIGBEE GREEN POWER PUSHBUTTON TRANSMITTER
© 2022 EnOcean | www.enocean.com F-710-017, V1.0 PTM 535BZ User Manual | v1.2 | July 2021 | Page 104/121
A.4.4.2 Security key selection for BLE
It is user-selectable which security key (SECURITY_KEY1 or SECURITY_KEY2) should be
used to authenticate BLE radio telegrams as described in Chapter 3.4.2 and to generate re-
solvable private addresses as described in Chapter 3.3.5.2. By default, SECURITY_KEY1 is
used.
To select SECURITY_KEY2, follow these steps:
Command Description
SearchTag(32)
Connect to tag
(Search for up to 32 byte ID)
ISO15693_WriteSingleBlock(0x0050,0x19 0x00 0x00 0x00)
Identify request
(Configuration request by USER2)
ISO15693_WriteSingleBlock(0x0052,0x03 0x00 0x35 0xE5)
Authenticate request
(PIN Code of USER2)
ISO15693_WriteSingleBlock(0x0051,0x00 0x00 0x02 0x00)
Identify register(s) to update
(BLE -> BLE_SEC_CONFIG)
ISO15693_WriteSingleBlock(0x0058,0x00 0x04 0x00 0x00)
Provide new value:
BLE_SEC_CONFIG = 0x04
To select SECURITY_KEY1 again, follow these steps:
Command Description
SearchTag(32)
Connect to tag
(Search for up to 32 byte ID)
ISO15693_WriteSingleBlock(0x0050,0x19 0x00 0x00 0x00)
Identify request
(Configuration Update by USER2)
ISO15693_WriteSingleBlock(0x0052,0x03 0x00 0x35 0xE5)
Authenticate request
(PIN Code of USER2)
ISO15693_WriteSingleBlock(0x0051,0x00 0x00 0x02 0x00)
Identify register(s) to update
(BLE -> BLE_SEC_CONFIG)
ISO15693_WriteSingleBlock(0x0058,0x00 0x00 0x00 0x00)
Provide new value:
BLE_SEC_CONFIG = 0x00