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 103/121
A.4.4 BLE configuration
The BLE configuration group allows changing protocol configuration, the input status encod-
ing and the security key used for the transmission of BLE data telegrams.
A.4.4.1 BLE protocol configuration
By default, PTM 535BZ transmits BLE data telegrams using Static Source Addresses, 1 Mbit
data rate and 20 ms advertising interval on the primary advertising channels (37, 38 and
39) with the input status encoded according to Table 2. Different parameters can be se-
lected by the user via the BLE_TX_CONFIG register described in Chapter 5.6.3.
For this example, we assume the user wants to reduce the advertising interval to 10 ms
and use custom input status encoding where the ECO press will be encoded like a B0 press
on a PTM 215B module (INPUT_STATUS = 0x09) and no telegram will be sent when the
ECO is released (INPUT_STATUS = 0xFF meaning that no telegram will be sent). Such input
status encoding could be helpful when using a push button based on PTM 535BZ in toggle
mode where each press of the button will toggle the status of the receiver.
This can be achieved by following 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 0x00 0x05 0x00)
Identify register(s) to update
BLE -> BLE_TX_CONFIG
BLE -> BLE_BUTTON_MAP
ISO15693_WriteSingleBlock(0x0058,0x50 0x00 0x00 0x00)
Provide new value (0x50) for
BLE_TX_CONFIG
ISO15693_WriteSingleBlock(0x005C,0x09 0xFF 0x03 0x02)
Provide new values for
BLE_INPUT_STATUS [0:3]
ISO15693_WriteSingleBlock(0x005D,0x05 0x04 0x07 0x06)
Provide new values for
BLE_INPUT_STATUS[4:7]