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 91/112
A.4.2.5
Restricting USER2_CONFIGURATION_OPTIONS
USER1 can restrict the configuration options that are available to USER2. This allows USER1
(for instance an OEM) to pre-configure certain parameters (for instance the radio protocol)
and prevent USER2 (for instance an installer) from changing those. To do so, USER1 has to
update USER2_CONFIGURATION_OPTIONS with the desired restrictions.
Consider the example of USER1 wanting to prevent USER2 from changing the radio configu-
ration register RADIO_CONFIG so that USER2 cannot change the radio protocol from BLE to
ZGP or vice versa.
To do so, USER1 has to modify the USER2_CONFIGURATION_OPTIONS register described
in
Chapter 5.6.15
such that RADIO_CONFIG cannot be changed by USER2. The required
change (via the shadow register in the NEW CONFIGURATION area) is shown below for ref-
erence (marked in red).
USER2_CONFIGURATION_OPTIONS (ADDRESS 0x76, VALUE = 0x87:37:3F:
13
)
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
0b0
ZGP_PROTOCOL_
CONFIG
0b1
BLE_
MANUFACTURER_ID
0b1
BUTTON_CONFIG
0b1
0x20
RFU
0b0
ZGP_DECOMMISSIONING_
REQUEST
0b1
BLE_CH_REGx
0b1
RADIO_CONFIG
0b0
0x40
USER1_PIN
0b0
RFU
0b0
RFU
0b0
RFU
0b0
0x80
USER2_PIN
0b1
RFU
0b0
RFU
0b0
RFU
0b0
Value
0x87
0x37
0x3F
0x13
USER1 can then request a configuration update with this USER2_CONFIGURATION_OPTIONS
register value 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,0x10 0x00 0x00 0x00)
Identify configuration register(s) to update
(SECURITY -> USER2_CONFIGURATION_OPTIONS)
ISO15693_WriteSingleBlock(0x0076,0x87 0x37 0x3F 0x13)
Provide new register value (0x87373F13) for
USER2_CONFIGURATION_OPTIONS