USER MANUAL
PTM 216B – BLUETOOTH
®
PUSHBUTTON TRANSMITTER MODULE
© 2022 EnOcean | www.enocean.com
F-710-017, V1.0
PTM 216B User Manual | v1.0 | February 2022 | Page 78/86
C.1.3
Obtaining the security key
All required parameters except the security key can be directly extracted from the received
message that shall be authenticated.
The security key –the common secret shared between sender and receiver – has to be ob-
tained via specific mechanisms. As described in chapter 5, there are three different ways to
obtain the security key of a given PTM 216B module:
Obtaining
the
key
via
the
NFC
configuration
interface
Obtaining
the
key
via
the
product
DMC
code
Obtaining the key via a dedicated commissioning telegram
Each option is described now in detail.
C.1.3.1
Obtaining the security key via NFC interface
Using the Elatec TWN4 reader (as described in chapter 6.3), the security key can be read
using the following command sequence:
SearchTag(32)
NTAG_PwdAuth(0x00 0x00 0xE2 0x15,0x00 0x00)
NTAG_Read(0x14)
This is equivalent to the following binary command sequence:
Request:
050020
Response: 0001803807048831A2014F8020060000E2150000
Request:
20060000E2150000
Response: 0001
Request:
200014
Response: 00013DDA31AD44767AE3CE56DCE2B3CE2ABB
The tag response to the last command -
NTAG_Read(0x14)
- contains the password:
NTAG_Read(0x14)
Result: true
Page: 3DDA31AD44767AE3CE56DCE2B3CE2ABB
The password of this device is therefore:
3DDA31AD44767AE3CE56DCE2B3CE2ABB