EnOcean GmbH PTM535Z 사용자 설명서

다운로드
페이지 38
USER MANUAL V1.0   
© 2016 EnOcean  |  www.enocean.com  
F-710-017, V1.0     
 
 
PTM 535Z User Manual  | v1.0 | March 2016 |  Page 23/38 
 
 
PTM 535Z – 2.4 GHZ PUSHBUTTON TRANSMITTER MODULE 
3.4.1 
MAC payload structure for secure data telegrams 
 
Figure 6 below shows the MAC Payload structure of a secure data telegram. 
 
 
 
 
Figure 6: MAC Payload structure for secure data telegrams 
 
The following fields are used for secure data telegrams: 
 
 
Telegram Control (2 bytes) 
 
The Telegram Control field is set to 0x308C indicating that PTM 535Z uses 4 byte pay-
load signature based on a device-unique key and a 4 byte sequence counter   
 
 
Source ID (4 bytes) 
 
The Source ID field contains a 4 byte ID uniquely identifying each PTM 535Z device 
 
 
Sequence Counter (4 bytes) 
 
The Sequence Counter field contains an always incrementing counter. 
Security processing is based on the combination of the Command and Sequence Counter 
in order to prevent replay attacks (sending the same telegram again) 
 
 
Command (1 byte) 
The Command field is a one byte field which identifies the state of the different inputs of 
PTM 535Z. For the encoding please seeTable 2. 
 
 
Telegram Signature (4 byte) 
 
The Telegram Signature field is used to validate the telegram authenticity. The telegram 
signature is calculated based on the telegram payload using AES128 (CBC mode). 
EnOcean can provide upon request additional information on how to implement telegram 
validation for PTM 535Z data telegrams.