![EnOcean PTM 216B User Manual Download Page 41](http://html.mh-extra.com/html/enocean/ptm-216b/ptm-216b_user-manual_2413772041.webp)
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 41/86
6.7.4
SOURCE_ADDRESS_WRITE register
The
SOURCE_ADDRESS_WRITE
register is 4 byte wide and can be used to modify the lower 32
bit of the PTM 216B Static Source Address. The upper 16 bit of the PTM 216B Static Source
Address are always fixed to
0xE215
to identify the device type. In order to do change the
lower 32 bit of the Static Source Address, follow these steps:
1.
Write
new
source
address
into
the
SOURCE_ADDRESS_WRITE
register
2.
Set the
UPDATE SOURCE ID
flag in the
CONFIGURATION
register to
0b1
3.
Actuate
(press
and
release)
the
energy
bar
of
PTM
216B
PTM 216B will determine that it should modify the Static Source Address based on the set-
ting of the
UPDATE_SOURCE_ID
flag and copy the value of the
SOURCE_ADDRESS_WRITE
register
to the lower 32 bit of the
Source Address
register. After successful execution, PTM 216B will
clear the
UPDATE_SOURCE_ID
flag to
0b0
.
6.7.5
SECURITY_KEY1 register
The
SECURITY_KEY1
register is 16 byte wide and allows to change the device-unique random
security key. The factory programmed key can be replaced with a user defined key by fol-
lowing these steps:
1.
Write
new
security
key
into
the
SECURITY_KEY1
register
Note that for security reasons, setting the Security Key to the following values is not
possible:
0x00000000000000000000000000000000
0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
If the
Security Key Write
register is set to one of these values then no update of
the
Security
Key
will
occur.
2.
Set the
UPDATE_SECURITY_KEY1
flag in the
CONFIGURATION
register to
0b1
3.
If the key should be write-only (not readable after the key update) then set the
PRI-
VATE_SECURITY_KEY1
flag
in
the
CONFIGURATION
register
to
0b1
4.
Actuate
(press
and
release)
the
energy
bar
of
PTM
216B
PTM 216B will determine that it should modify
SECURITY_KEY1
based on the setting of the
UPDATE_SECURITY_KEY1
flag and copy the value of the
SECURITY_KEY1
register to the
SECURI-
TY_KEY1
register in private memory. After successful execution, PTM 216B will clear the
UP-
DATE_SECURITY_KEY1
flag to
0b0
.
Note that it is not possible to read the currently used security key via NFC if the
UP-
DATE_SECURITY_KEY1
register has been overwritten or cleared via NFC write. In this case it is
necessary to write a new security key (as described above) or to reset the device to its de-
fault security key by means of a factory reset.