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 95/112
A.4.3.2
ZGP Device ID selection
PTM 535BZ allows the user to select the ZGP Device ID used within ZGP data telegrams as
discussed in
Chapter 4.4.1
. By default, PTM 535BZ uses Device ID 0x07 (Generic Switch). To
use Device ID 0x02 (On / Off switch) instead, 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 0x10 0x00 0x20)
Identify register(s) to update
SYSTEM -> RADIO_CONFIG
ZGP -> ZGP_PROTOCOL_CONFIG
ISO15693_WriteSingleBlock(0x0054,0x00 0x01 0x00 0x00)
Provide new register value for RADIO_CFG
0x01: Transmit ZGP Telegrams
ISO15693_WriteSingleBlock(0x0060,0x00 0x00 0x02 0x00)
Provide new value for
ZGP_PROTOCOL_CONFIG
0x02: Command List enabled, Device ID 0x02
A.4.3.3
ZGP input status encoding
As described in
Chapter 4.4.1.3
, the user can change the input status encoding for Device ID
other than 0x07 from the default encoding (listed in
) to a user-defined encoding. For
this example, we assume that we want to change the commands send when ECO 200 is
actuated from 0x22 / 0x23 (Toggle / Release) to 0x20 / 0x21 (On / Off) and leave the
remaining commands as is. To do so, 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 0x14 0x00 0x20)
Identify register(s) to update
SYSTEM -> RADIO_CONFIG
ZGP -> ZGP_TX_CONFIG
ZGP -> ZGP_BUTTON_MAP
ISO15693_WriteSingleBlock(0x0054,0x00 0x01 0x00 0x00)
Provide new register value for RADIO_CFG
0x01: Transmit ZGP Telegrams
ISO15693_WriteSingleBlock(0x0060,0x00 0x00 0x02 0x00)
Provide new value for ZGP_PROTOCOL_CONFIG
(Command List enabled, Device ID 0x02)
ZGP_PROTOCOL_CONFIG = 0x02
ISO15693_WriteSingleBlock(0x0064,0x20 0x21 0x12 0x13)
Provide new values for ZGP_COMMAND[0:3]
ISO15693_WriteSingleBlock(0x0065,0x14 0x15 0x16 0x17)
Provide new values for ZGP_COMMAND[4:7]