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 100/121
A.4.2.8 Writing SECURITY_KEY2
SECURITY_KEY2 is initialized to a random value during production; this value can be
changed by the user. Factory reset will update SECURITY_KEY2 to a different random value
to prevent unauthorized users from determining a security key that was previously used.
SECURITY_KEY2 can only be written; it is not possible to read SECURITY_KEY2 via the NFC
interface. To write 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,0x02 0x00 0x00 0x00)
Identify configuration register(s) to update
(SECURITY -> SECURITY_KEY2)
ISO15693_WriteSingleBlock(0x006C,0x00 0x01 0x02 0x03)
Provide new value for SECURITY_KEY2:
000102030405060708090A0B0C0D0E0F
ISO15693_WriteSingleBlock(0x006D,0x04 0x05 0x06 0x07)
ISO15693_WriteSingleBlock(0x006E,0x08 0x09 0x0A 0x0B)
ISO15693_WriteSingleBlock(0x006F,0x0C 0x0D 0x0E 0x0F)