USER MANUAL PREVIEW
PTM 535BZ
–
BLUETOOTH AND ZIGBEE GREEN POWER PUSHBUTTON TRANSMITTER
© 2021 EnOcean | www.enocean.com
F-710-017, V1.0
PTM 535BZ User Manual | v1.0 | May 2021 | Page 79/112
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.
This command is used to establish connection to the NFC tag. It has to be issued
before any read / write actions.
Example:
SearchTag(32)
◼
ISO15693_WriteSingleBlock(page_address, page_data)
This command is used to write a four-byte NFC data page
Data is provided in the order
data_byte0 data_byte1 data_byte2 data_byte3
Example:
ISO15693_WriteSingleBlock (0x20, 0x12 0x34 0x56 0x78)
◼
ISO15693_ReadSingleBlock (page_address, read_buffer_size)
This command is used to read a four-byte NFC data page
Data is returned in the order
data_byte0 data_byte1 data_byte2 data_byte3
Read buffer size must be large enough to hold all returned data (i.e. minimum 4)
Example:
ISO15693_ReadSingleBlock (0x20, FF)
A.1.2
Translation into binary data
If the user intends to use these commands within an own application (for instance in a fac-
tory configuration application), then they have to be translated into raw data that can be
issued to the connected NFC reader via its serial COM interface.
The raw data corresponding to each command can be determined by enabling the
“Show
Raw Data” feature in the command log of the Director software as shown in
low. This data can then be used in user applications to directly communicate with the NFC
reader via its serial COM interface.
Figure 54
–
Enabling raw data display