USER MANUAL PREVIEW
PTM 535BZ
–
BLUETOOTH AND ZIGBEE GREEN POWER PUSHBUTTON TRANSMITTER
© 2021 EnOcean | www.enocean.com
F-710-017, V1.0
PTM 535BZ User Manual | v1.0 | May 2021 | Page 92/112
A.4.2.6
Reading SECURITY_KEY1
PTM 535BZ uses different security keys as discussed in
Chapter 2.5
. SECURITY_KEY1 is
used by default; this key can be read and written via the NFC interface. To read SECU-
RITY_KEY1, follow these steps:
Command
Description
SearchTag(32)
Connect to tag
(Search for up to 32 byte ID)
ISO15693_ReadSingleBlock(0x0040,0xFF)
Read SECURITY_KEY1 (16 byte)
ISO15693_ReadSingleBlock(0x0041,0xFF)
ISO15693_ReadSingleBlock(0x0042,0xFF)
ISO15693_ReadSingleBlock(0x0043,0xFF)
Note that SECURITY_KEY2 cannot be read via NFC.
A.4.2.7
Writing SECURITY_KEY1
SECURITY_KEY1 is initialized to a random value during production; this value can be
changed by the user. Factory reset will restore the value set at production.
To write SECURITY_KEY1, 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,0x01 0x00 0x00 0x00)
Identify configuration register(s) to update
(SECURITY -> SECURITY_KEY1)
ISO15693_WriteSingleBlock(0x0068,0x00 0x01 0x02 0x03)
Provide new value for SECURITY_KEY1:
000102030405060708090A0B0C0D0E0F
ISO15693_WriteSingleBlock(0x0069,0x04 0x05 0x06 0x07)
ISO15693_WriteSingleBlock(0x006A,0x08 0x09 0x0A 0x0B)
ISO15693_WriteSingleBlock(0x006B,0x0C 0x0D 0x0E 0x0F)