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 22/112
3.4.1.1
Input status encoding
The
INPUT_STATUS
field within the data telegram payload identifies the ECO 200 action (press
or release) and the status of the external signals INPUT1 and INPUT2 (connected to GND or
not connected to GND). PTM 535BZ uses the following sequence to identify and transmit
button contact status:
1.
Determine direction of the ECO 200 movement (press or release)
2.
Read status of INPUT1 and INPUT2 signals
3.
Calculate data payload and authentication signature
The ECO 200 action (press or release) is indicated by Bit 0 of the INPUT_STATUS field. As
described in
Chapter 2.4.1
, the default behaviour is that a press action is a move of the ECO
200 spring away from the PCB and a release action is a move of the ECO 200 spring towards
the PCB. This default behaviour can be inverted using the NFC interface if required (so that
a press action would be a move of the ECO 200 spring towards the PCB and a release action
would be a move of the ECO 200 spring away from the PCB).
If INPUT1 or INPUT2 are connected to GND while ECO 200 is actuated (press action or release
action),
then this is indicated by the according status bit set to ‘
1
’.
The structure of the
INPUT_STATUS field used in BLE data telegrams is shown
Figure 15
–
INPUT_STATUS structure
below summarizes the default INPUT_STATUS encoding for the eight possible com-
binations of ECO 200 action, INPUT1 status and INPUT2 status.
INPUT2 Status
INPUT1 Status
ECO 200
INPUT_STATUS
Not connected
Not connected
Press
0x01
Not connected
Not connected
Release
0x00
Not connected
Connected to GND
Press
0x03
Not connected
Connected to GND
Release
0x02
Connected to GND
Not connected
Press
0x05
Connected to GND
Not connected
Release
0x04
Connected to GND
Connected to GND
Press
0x07
Connected to GND
Connected to GND
Release
0x06
Table 2
–
Default INPUT_STATUS encoding