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 96/121
USER2_PIN can be changed by USER1 as follows:
Command Description
SearchTag(32)
Connect to tag
(Search for up to 32 byte ID)
ISO15693_WriteSingleBlock(0x0050,0x11 0x00 0x00 0x00)
Identify request
(Configuration request by USER1)
ISO15693_WriteSingleBlock(0x0052,0x02 0x00 0x35 0xE5)
Authenticate request
(PIN Code of USER1)
ISO15693_WriteSingleBlock(0x0051,0x80 0x00 0x00 0x00)
Identify register(s) to update
(SECURITY -> USER2_PIN)
ISO15693_WriteSingleBlock(0x007A,0x12 0x34 0x56 0x78)
Provide new value (0x12345678)
for USER2_PIN
Being able to change the PIN code used by USER2 allows USER1 (e.g. an OEM) to pre-assign
a PIN code for use by USER2 (e.g. an installer or the end customer) to PTM 535BZ devices.
It also allows USER1 to reset USER2_PIN in case this is lost or forgotten.
A.4.2.3 Reading USER1_CONFIGURATION_OPTIONS
USER1 can determine the configuration options that are available by reading the
USER1_CONFIGURATION_OPTIONS register. This allows handling different product revisions
where some features are present in one revision only. The USER1_CONFIGURATION_OP-
TIONS register can be read as follows:
Command Description
SearchTag(32)
Connect to tag (Search for up to 32 byte ID)
ISO15693_ReadSingleBlock(0x0045,0xFF)
Read USER1_CONFIGURATION_OPTIONS
This command will return the four-byte USER1_CONFIGURATION_OPTIONS as described in
Chapter 5.6.15 and shown below for reference.
USER1_CONFIGURATION_OPTIONS (ADDRESS 0x45, VALUE = 0xD7373F33)
Position Byte 0 (SECURITY) Byte 1 (ZGP) Byte 2 (BLE) Byte 3 (SYSTEM)
0x01 SECURITY_KEY1 0b1 ZGP_TX_CONFIG 0b1 BLE_TX_CONFIG 0b1
LRN_TELEGRAM_
REQUEST
0b1
0x02 SECURITY_KEY2 0b1 ZGP_SEC_CONFIG 0b1 BLE_SEC_CONFIG 0b1
FACTORY_RESET_
REQUEST
0b1
0x04 SECURITY_KEY3 0b1 ZGP_BUTTON_MAP 0b1 BLE_BUTTON_MAP 0b1 RFU 0b0
0x08 RFU 0b0 RFU 0b0 BLE_SOURCE_ADDRESS 0b1 RFU 0b0
0x10
USER2_CONFIG_
OPTIONS
0b1
ZGP_PROTOCOL_
CONFIG
0b1
BLE_
MANUFACTURER_ID
0b1 BUTTON_CONFIG 0b1
0x20 RFU 0b0
ZGP_DECOMMISSIONING_
REQUEST
0b1 BLE_CH_REGx 0b1 RADIO_CONFIG 0b1
0x40 USER1_PIN 0b1 RFU 0b0 RFU 0b0 RFU 0b0
0x80 USER2_PIN 0b1 RFU 0b0 RFU 0b0 RFU 0b0
Value 0xD7 0x37 0x3F 0x33