Page 2
® The Bluetooth word mark and logos are registered trademarks owned by the Bluetooth SIG, Inc. and any use of such marks by EnOcean GmbH is under license. Other trademarks and trade names are those of their respective owners. Important! This information describes the type of component and shall not be considered as assured characteristics.
ECO 200. Basic functionality PTM 535BZ works in conjunction with an electro-dynamic energy converter (e.g. ECO 200) which is actuated (pressed and released) by external action such as a button press. The term “ECO 200”...
NFC Forum tags (as specified by ISO/IEC 15693). Product interface Figure 3 below shows the product interface of PTM 535BZ seen from the top side (shown on the left) and the bottom side (shown on the right). Figure 3 – PTM 535BZ product interface The following chapters describe the key components of this product interface.
Page 10
ECO 200 harvester according to the mechanical design needs of the application. The AC1 and AC2 contact pads of PTM 535BZ can be mechanically connected to the AC1 and AC2 outputs of an ECO 200 kinetic harvester using a suitable fixation housing for ECO 200 and...
Page 11
Do not connect these signals to a supply voltage! 2.4.3 LRN button PTM 535BZ provides an LRN button which can be used to trigger the transmission of a com- missioning (LRN) telegram and to execute the channel selection process in Zigbee Green Power.
Chapter 4.4.4 for ZGP data telegrams. In addition to that, PTM 535BZ provides for BLE data telegrams the option to obfuscate the sender identity by using Resolvable Private Addresses that are generated using an Identity Resolution Key as described in Chapter 3.3.5.2.
PTM 535BZ – BLUETOOTH AND ZIGBEE GREEN POWER PUSHBUTTON TRANSMITTER Bluetooth Low Energy (BLE) radio By default, PTM 535BZ is configured to transmit BLE telegrams. The format of these tele- grams is the similar to the format used by PTM 215B. Refer to for a detailed description of the BLE telegram format.
3.1.1 Bit rate By default, PTM 535BZ uses a bit rate of 1 Mbit/s as defined in [2]. PTM 535BZ also sup- ports a custom bit rate of 2 Mbit/s which can be selected via the NFC interface as described Chapter 5.6.3.
Page 15
2400 MHz 2482 MHz 2.4 GHz ISM Band Figure 5 – PTM 535BZ BLE radio channel assignment within the 2.4 GHz ISM band 3.1.3 Data whitening Data whitening prevents data with longs sequences of 0's and 1's from introducing a DC bias into the transmitted signal or from having a non-uniform power distribution over the occupied channel bandwidth.
Advertising Events as defined in [2]. Each data or commissioning telegram is transmitted as a sequence of redundant advertising events which all contain the same telegram payload. For reliability reasons, PTM 535BZ will send each telegram using several (minimum two) BLE advertising events. This approach increases transmission reliability by providing redundancy in time (by transmitting the same telegram at different times) and redundancy in frequency (by transmitting the same telegram on different radio channels).
PTM 535BZ – BLUETOOTH AND ZIGBEE GREEN POWER PUSHBUTTON TRANSMITTER Telegram format PTM 535BZ transmits Bluetooth Low Energy (BLE) radio telegrams in the 2.4 GHz band. This chapter provides a summary of the BLE frame structure; for detailed information please refer to [2].
Page 18
The six-byte source address identifies the originator (sender) of BLE telegrams. PTM 535BZ supports using either static source addresses or resolvable private addresses. By default, PTM 535BZ uses static source addresses. PTM 535BZ can be configured to use re- solvable private addresses as described in Chapter 5.6.4.
Page 19
For some security-critical applications it might be desirable to prevent unauthorized tracking of PTM 535BZ devices based on the source address used for their radio transmissions. At the same time, PTM 535BZ devices must be unambiguously identifiable by the receiver. To ad- dress these requirements, PTM 535BZ can be configured via NFC to use resolvable private addresses (RPA) as defined by the BLE specification [2].
Page 20
For an example of resolving a resolvable private address, please refer to Appendix E. Figure 13 – Resolving of resolvable private addresses By default, PTM 535BZ uses SECURITY_KEY1 as IRK. It is possible to configure PTM 535BZ via NFC to use SECURITY_KEY2 as IRK instead of SECURITY_KEY1 as described in Chapter 5.6.4.
USER MANUAL PREVIEW PTM 535BZ – BLUETOOTH AND ZIGBEE GREEN POWER PUSHBUTTON TRANSMITTER Telegram payload As described before, PTM 535BZ can transmit two types of BLE telegrams which use different telegram payloads: Data telegrams ◼ The payload of data telegrams contains the input status together with the current...
Page 22
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.
Page 23
PUT_STATUS field of the BLE data telegram. Setting an entry to 0xFF means that PTM 535BZ will not transmit a data telegram if this particular input event occurs. This could for instance be useful if PTM 535BZ should send a data telegram only on button push, but no data telegram on button release.
Page 24
In order to avoid message replay (capture and retransmission of a valid message), it is re- quired that the receiver tracks the value of the sequence counter used by PTM 535BZ and only accepts messages with higher sequence counter values (i.e. not accepts equal or lower sequence counter values for subsequent telegrams).
Page 25
PTM 535BZ – BLUETOOTH AND ZIGBEE GREEN POWER PUSHBUTTON TRANSMITTER 3.4.2.1 Authentication implementation PTM 535BZ implements data telegram authentication as described in IETF RFC3610 [4]. The 13 Byte Nonce (number used once – unique) initialization value is constructed as con- catenation of 6 byte Source Address, 4 byte Sequence Counter and 3 bytes of value 0x00 (for padding).
Page 26
The payload of commissioning telegrams is 30 bytes long and consists of the following fields: Length (1 byte) ◼ The Length field specifies the combined length of the following fields. For PTM 535BZ commissioning telegrams, this field is always set to 0x1D to indicate that 29 byte of manufacturer-specific data follow.
PTM 535BZ – BLUETOOTH AND ZIGBEE GREEN POWER PUSHBUTTON TRANSMITTER Zigbee Green Power (ZGP) radio PTM 535BZ can be configured via the NFC interface to transmit telegrams using the Zigbee Green Power (ZGP) standard instead of using the BLE standard.
PTM 535BZ – BLUETOOTH AND ZIGBEE GREEN POWER PUSHBUTTON TRANSMITTER Radio channels PTM 535BZ transmits ZGP telegrams on one of the sixteen IEEE 802.15.4 radio channel within the 2.4 GHz radio frequency band (2402MHz … 2480MHz). The IEEE 802.15.4 radio channel...
PTM 535BZ – BLUETOOTH AND ZIGBEE GREEN POWER PUSHBUTTON TRANSMITTER Radio transmission sequence PTM 535BZ transmits ZGP data telegrams as a set of redundant transmissions where the same data telegram is transmitted 3 times. The timing interval between the start of two consecutive redundant data telegrams is approximately 2.5 ms and varies by some random...
USER MANUAL PREVIEW PTM 535BZ – BLUETOOTH AND ZIGBEE GREEN POWER PUSHBUTTON TRANSMITTER Telegram format PTM 535BZ transmits ZGP radio telegrams in the 2.4 GHz band according to the Zigbee Green Power specification which uses IEEE 802.15.4 as lower layer standard. Please refer to these specifications for detailed, up to date information.
Page 31
The IEEE 802.15.4 MAC Header contains the following fields: IEEE 802.15.4 Frame Control Field (1 byte) ◼ The Frame Control Field is 0x0801 for all ZGP telegram types supported by PTM 535BZ Sequence Number (1 byte) ◼ The Sequence Number is an incremental number used to identify the order of telegrams Address Field (4 byte) ◼...
4.4.1 Data telegram structure By default, PTM 535BZ transmits data telegrams. The payload of data telegrams is either 13 byte (Device ID = 0x07, default) or 12 byte (all other supported Device ID) long. Figure 26 below shows the telegram structure for ZGP data telegrams.
Page 33
GP Color Dimmer Switch 1 byte Table 6 – Supported ZGP Device ID The default Device ID used by PTM 535BZ is 0x07 (Generic 8-contact Switch) as described Chapter 4.4.1.2. It is possible to select another supported Device ID via the NFC interface. In that case, it is...
Page 34
USER MANUAL PREVIEW PTM 535BZ – BLUETOOTH AND ZIGBEE GREEN POWER PUSHBUTTON TRANSMITTER 4.4.1.2 Device ID 0x07: Generic 8-contact Switch Device ID 0x07 (Generic 8-contact Switch) is the default configuration used by PTM 535BZ when transmitting ZGP data telegrams. Figure 27 below illustrates the ZGP command struc- ture used by generic switch data telegrams.
Page 35
PTM 535BZ – BLUETOOTH AND ZIGBEE GREEN POWER PUSHBUTTON TRANSMITTER 4.4.1.3 Device ID other than 0x07 It is possible to configure PTM 535BZ via NFC to use one of the alternative Device ID listed Table 6 instead of the default Device ID 0x07.
Page 36
Device ID (1 byte) ◼ The Device Type is set to the Device ID used by PTM 535BZ. By default, Device ID 0x07 (Generic Eight Button Switch) is used and therefore this field is set to 0x07. If an alternative Device ID from the list of supported Device ID in Table 6 is selected by the user then this field will be set accordingly.
Page 38
It is by default set to 0x01 (unknown switch type, one switch contact) as the majority of PTM 535BZ applications are single push buttons or position switches. The number of contacts can be changed to other values via the NFC interface as...
ZGP networks therefore operate on one of these four primary channels. Devices within a ZGP network can receive radio telegrams from PTM 535BZ only if PTM 535BZ uses the same radio channel as the ZGP network. PTM 535BZ therefore has to be configured to use the right radio channel.
Page 40
4.5.1 Channel selection via NFC The radio channel used by PTM 535BZ can be selected via the NFC interface. To do so, the user first needs to determine the radio channel used by the ZGP network that shall receive the radio telegrams of PTM 535BZ. This is typically done by means of a commissioning ap- plication (such as an application on a smartphone) that can communicate with the devices in the ZGP network (for instance via a gateway).
Page 41
11, 15, 20 and 25. If channel 25 has been reached then the sequence will be restarted at channel 11. PTM 535BZ is by default configured to use all channels for manual channel selection. In this mode, commissioning telegrams will be sequentially transmitted on channels 11, 12, 13 …...
PTM 535BZ – BLUETOOTH AND ZIGBEE GREEN POWER PUSHBUTTON TRANSMITTER NFC configuration PTM 535BZ provides an NFC interface according to the ISO15693 standard for identifying and configuring device parameters. The NFC interface provides a textual description of key device parameters in NFC Data Exchange Format (NDEF), a register-based description of the current device configuration and a configuration update service with two permission levels.
Page 43
5.1.1 Users The NFC interface architecture of PTM 535BZ supports two different users with different levels of access rights. The user with the higher level access rights is called USER1; the user with the lower level access rights is called USER2.
Page 44
Chapter 5.6.15. The PTM 535BZ NFC architecture allows for a total of 32 configuration options and functional requests. In the current implementation, 20 of those are used (18 configuration options, 2 functional requests) while 12 are reserved for future use (RFU).
Page 45
5.7.1. 5.1.4.3 Factory reset request The configuration of PTM 535BZ can either be changed via the NFC interface or – for the case of the radio channel used for the transmission of ZGP telegrams – also via the LRN button.
NFC memory map The NFC memory is organized in pages (smallest addressable unit) where each page contains 4 byte of data. Several pages with similar functionality form an NFC memory area. PTM 535BZ uses the following areas: Device Identification NDEF string (Read access only) ◼...
The PRODUCT NDEF area contains a device identification string using the NDEF (NFC Data Exchange Format) standard that is readable by most NFC-capable reader devices (including smartphones). An example device identification string from the NDEF area of PTM 535BZ could be: 30SE21510000123+30PS3231-A535+2PAB04+12Z01234567891234+3C29+01000000 This NDEF string encodes the parameters shown in Table 11 below.
Page 48
LENGTH ◼ This field identifies the length of the NFC header. For PTM 535BZ, this field is set to 0x0A since the header structure is 10 bytes long VERSION ◼ This field identifies the major revision and is set to 0x01 currently ◼...
PTM 535BZ – BLUETOOTH AND ZIGBEE GREEN POWER PUSHBUTTON TRANSMITTER ACTIVE CONFIGURATION The ACTIVE CONFIGURATION area contains the currently active configuration settings and PTM 535BZ operates according to the register values in this area. Updating the register values is done via the Configuration Update process as described in Chapter 5.6.16.
Page 50
The default configuration is that a movement of the ECO 200 harvester spring away from the PTM 535BZ PCB is considered as a press event while a movement of the ECO 200 har- vester spring towards the PTM 535BZ PCB is considered as a release event as described in chapter 2.4.1.
Page 51
The PROTOCOL field of the RADIO_CONFIG register is used to select the protocol. By de- fault, PTM 535BZ will use the BLE radio standard for the transmission of telegrams. ZGP can be selected instead of BLE by setting the PROTOCOL bit is to 0b1.
Page 52
The CHANNEL_SELECTION field is used to select the BLE radio channels (as described in Chapter 3.1.2) for the transmission of BLE telegrams. By default, PTM 535BZ will use the three advertising channels (CH37, CH38 and CH39) for the transmission of both data and commissioning telegrams.
Page 54
The BLE_SECURITY_MODE field is intended for future implementation selecting the security mode used by PTM 535BZ when transmitting BLE telegrams. Currently, the supported secu- rity mode is using a 32 bit sequence counter to generate a 32 bit CMAC (signature) as de-...
Page 55
0xE215. The four least significant byte of this address are assigned during manufacturing and are listed in the BLE_SOURCE_ADDRESS register. The resulting 6 byte Static Source Address used by PTM 535BZ for the transmission of BLE telegrams can then be calculated as (0xE215 << 32) + BLE_SOURCE_ADDRESS.
Page 56
BLE_INPUT_STATUS field of the BLE_TX_CONFIG register to 0b1. If this feature is enabled, then PTM 535BZ will select the value of the INPUT_STATUS field within the BLE data telegram from one of the eight registers BLE_INPUT_STATUS_0 …...
Page 57
PTM 535BZ – BLUETOOTH AND ZIGBEE GREEN POWER PUSHBUTTON TRANSMITTER 5.6.9 ZGP_TX_CONFIG The ZGP_TX_CONFIG register determines the radio channel used by PTM 535BZ for the trans- mission of ZGP telegrams. The ZGP_TX_CHANNEL field defines the currently used radio channel (channel 11 … 26) as...
Page 58
The ZGP_SEC_MODE field defines how the security key is encrypted in the commissioning telegram. By default, PTM 535BZ uses the ZA09 key to encrypt the security key. Optionally, PTM 535BZ can use an Install Code (IC) to encrypt the security key. Refer to the Zigbee Green Power specification for a description of this feature.
Page 59
ZGP_PROTOCOL_CONFIG The ZGP_PROTOCOL_CONFIG register defines the ZGP-specific parameters of PTM 535BZ. The ZGP_DEVICE_ID field selects the DEVICE ID used by PTM 535BZ when transmitting ZGP telegrams. By default, Device ID 0x07 (Generic 8-contact switch) is used as described in Chapter 4.4.1.2.
Page 60
INPUT1 and INPUT2 signals and the ECO 200 action. Setting the value of a ZGP_COMMAND_x (x = 0…7) register to 0xFF will cause PTM 535BZ no to transmit a data telegram. This can for instance be useful is PTM 535BZ should only transmit a data telegram upon button press but not on release.
Page 63
5.6.16 SEQUENCE_COUNTER PTM 535BZ maintains a 4 byte BLE Sequence Counter for the authentication of BLE data telegrams as described in Chapter 3.4.1 and a 4 byte ZGP Sequence Counter for the authen- tication of ZGP data telegrams as described in Chapter 4.4.1.
PTM 535BZ – BLUETOOTH AND ZIGBEE GREEN POWER PUSHBUTTON TRANSMITTER NEW CONFIGURATION The NEW CONFIGURATION area is used to update the configuration parameters used by PTM 535BZ which are stored in the ACTIVE CONFIGURATION area. The structure of NEW CONFIGURATION area is shown in Table 26 below. Content...
Page 66
CONFIGURATION_SELECTION register. If one, several or all registers cannot be changed by the user, then PTM 535BZ will abort the update process and set the REQUEST_STATUS register to “PERMISSION ERROR”.
PC or a suitable smartphone with NFC functionality. The selected reader has to support NFC read and write operations according to the ISO15693 standard. For PC-based applications, EnOcean recommends the TWN4 Multitech 2 HF NFC Reader (or- der code T4BT-FB2BEL2-SIMPL) from Elatec RFID Systems (sales-rfid@elatec.com). This...
PTM 535BZ – BLUETOOTH AND ZIGBEE GREEN POWER PUSHBUTTON TRANSMITTER Mechanical interface PTM 535BZ uses the same mechanical outline as the existing PTM 535 / PTM 535Z / PTM 535J and PTM 535Z products. Existing mechanical designs combining one of the existing variants with an ECO 200 harvester can therefore also be used with PTM 535BZ.
8.1.1 Declaration of conformity Hereby, EnOcean GmbH, declares that this radio equipment is in compliance with the essen- tial requirements and other relevant provisions of Directive 2014/53/EU. A copy of the Dec- laration of Conformity can be obtained from the product webpage at www.enocean.com...
PTM 535BZ – BLUETOOTH AND ZIGBEE GREEN POWER PUSHBUTTON TRANSMITTER A. NFC configuration PTM 535BZ can be configured using the integrated NFC interface as described Chapter This appendix provides a set of examples for common configuration tasks using the recom-...
USER MANUAL PREVIEW PTM 535BZ – BLUETOOTH AND ZIGBEE GREEN POWER PUSHBUTTON TRANSMITTER A.1.1 Useful commands The following commands are used when configuring PTM 535BZ using the Elatec NFC reader: ◼ SearchTag(maximum ID length) This command is used to search and identify (tag type, tag ID) an NFC tag.
5. Actuate the connected ECO 200 harvester five times in each direction to provide the required energy for the configuration sequence A.2.2 Request status PTM 535BZ uses the REQUEST_STATUS register to inform the user about the status of a configuration request in described in Chapter 5.6.17. This register should be consulted to check if a configuration request was successful and to determine the root cause of a config- uration request failure.
Authenticate request ISO15693_WriteSingleBlock(0x0052,0x02 0x00 0x35 0xE5) (PIN Code of USER1) PTM 535BZ will evaluate and execute this request upon the next actuation of the ECO 200 harvester as described in Chapter 5.1. PTM 535BZ will then return one of the following re-...
Authenticate request ISO15693_WriteSingleBlock(0x0052,0x03 0x00 0x35 0xE5) (PIN Code of USER2) PTM 535BZ will evaluate and execute this request upon the next actuation of the ECO 200 harvester as described in Chapter 5.1. PTM 535BZ will then return one of the following re-...
USER MANUAL PREVIEW PTM 535BZ – BLUETOOTH AND ZIGBEE GREEN POWER PUSHBUTTON TRANSMITTER PTM 535BZ will evaluate and execute this request upon the next actuation of the ECO 200 harvester as described in Chapter 5.1. PTM 535BZ will return one of the following responses:...
PTM 535BZ – BLUETOOTH AND ZIGBEE GREEN POWER PUSHBUTTON TRANSMITTER A.3.3 Factory reset request The NFC configuration parameters of PTM 535BZ can be reset to its factory defaults by factory reset which can be requested via the NFC interface. A.3.3.1 Factory reset request by USER1...
PTM 535BZ – BLUETOOTH AND ZIGBEE GREEN POWER PUSHBUTTON TRANSMITTER A.4.1.2 Configuration status for USER1 PTM 535BZ will evaluate and execute the configuration request provided by USER1 and pro- vide one of the following responses in the REQUEST_STATUS register: Response Code...
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.
LRN button to prevent unintended change of the radio channel. In this example, we assume that we want to configure PTM 535BZ to transmit ZGP telegrams using ZGP radio channel 15 with radio channel selection via LRN button disabled:...
USER MANUAL PREVIEW PTM 535BZ – BLUETOOTH AND ZIGBEE GREEN POWER PUSHBUTTON TRANSMITTER 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...
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.
The System configuration area allows selecting the radio protocol (BLE or ZGP) used for the telegram transmission. A.4.5.1 Selecting the radio protocol PTM 535BZ uses BLE radio protocol by default. PTM 535BZ can be configured by USER2 to use ZGP as radio protocol as follows: Command...
PCB is by default considered to be a “release”. PTM 535BZ can be configured by USER2 to reverse this encoding (so that a move of the ECO 200 spring towards the connected PCB is considered to be a “press” while a move of the ECO 200 spring away from the connected PCB is considered to be a “release”) as follows:...
To maximize the likelihood of reception of these telegrams, it is necessary that the receiver is either permanently in receive mode on one of the radio channels used by PTM 535BZ or – if this is not possible – periodically in receive mode for a sufficiently long duration.
If PTM 535BZ uses 20 ms advertising intervals, then the scan window has to be at ◼ least 20 ms (advertising interval) plus 0.5 ms (telegram duration) plus a timing margin to account for the random time offset at the transmitter.
If PTM 535BZ uses 20 ms advertising intervals, then the scan interval has to be less ◼ than the time between the end of the first advertising event and the begin of the third advertising event (2 * 20 ms = 40 ms) minus 0.5 ms (telegram duration) mi-...
PTM 535BZ – BLUETOOTH AND ZIGBEE GREEN POWER PUSHBUTTON TRANSMITTER C. Parsing of PTM 535BZ BLE radio telegrams This appendix is intended as an example of how start to parse received PTM 535BZ radio telegrams. Please refer to Chapter 3 for a description of the BLE frame structure.
PTM 535BZ – BLUETOOTH AND ZIGBEE GREEN POWER PUSHBUTTON TRANSMITTER Commissioning telegram example We consider the following raw commissioning telegram data captured from a PTM 535BZ device: D6 BE 89 8E 42 24 06 00 00 10 15 E2 1D FF DA 03 41 00 00 00 1D 76 A7 A0 DE 93 E7 F5 53 13 2D 58 94 CF F9 9B 06 00 00 10 15 E2 97 B2 B6 C.2.1...
RFC3610 in particular. Algorithm input parameters The purpose of the security processing in PTM 535BZ is to calculate a unique signature that can be used to verify authenticity (telegram has not been modified) and originality (telegram comes from the assumed sender) of a telegram.
Sequence Counter and Input Status fields of the BLE data telegram (9 byte in total). Length of input data (Size of the payload to be authenticated) ◼ The length of the payload to be authenticated is 9 byte for PTM 535BZ data telegrams. Security key ◼...
The security key – the common secret shared between sender and receiver – has to be ob- tained via specific mechanisms. There are three different ways to obtain the security key used by a PTM 535BZ module when it is transmitting BLE telegrams: Via NFC (by reading SECURITY_KEY1 or by writing SECURITY_KEY2) ◼...
D.1.5 Constant internal parameters The RFC3610 implementation in PTM 535BZ derives two internal parameters – M’ and L’ – based on the input data and uses them to construct A0_Flag and B_0_Flag which – together with the iteration counter i – are required for subsequent processing.
Example For this example, we consider the BLE data telegram payload 0CFFDA034000000001B0561C03 received from a PTM 535BZ with source address E21510000006 which is authenticated with security key 1D76A7A0DE93E7F553132D5894CFF99B. The last four bytes of this payload (B0561C03) are the sender-provided signature which has to be authenticated (compared against the signature the receiver calculates based on its own security key).
PTM 535BZ – BLUETOOTH AND ZIGBEE GREEN POWER PUSHBUTTON TRANSMITTER E. Address resolution for resolvable private addresses (RPA) PTM 535BZ provides the option to obfuscate its identity by means of using resolvable private addresses (RPA that are generated using an Identity Resolution Key as described in Chapter 3.3.5.2.
Need help?
Do you have a question about the PTM 535BZ and is the answer not in the manual?
Questions and answers