USER MANUAL
PTM 215B – BLUETOOTH
®
PUSHBUTTON TRANSMITTER MODULE
© 2019 EnOcean | www.enocean.com
F-710-017, V1.0
PTM 215B User Manual | v1.9 | June 2019 | Page 41/85
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 215B Static Source Address. The upper 16 bit of the PTM 215B 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 215B
PTM 215B 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 215B will
clear the
UPDATE SOURCE ID
flag to
0b0
.
6.7.5
Security Key Write register
The
Security Key Write
register is 16 byte wide and contains 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 Key Write
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 KEY
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 Key
flag in the
Configuration
register to
0b1
4.
Actuate (press and release) the energy bar of PTM 215B
PTM 215B will determine that it should modify the security key based on the setting of the
Update Security Key
flag and copy the value of the
Security Key Write
register to the
Se-
curity Key
register in private memory. After successful execution, PTM 215B will clear the
UPDATE SECURITY KEY
flag to 0b0. The protected memory is designed to support 1000 modi-
fications of the security key.
Note that it is not possible to read the current security key via NFC if the
Security Key
Write
register has been accidentally 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.