
NXP Semiconductors
UM11038
OM27642 Smart Lock KIT
UM11038
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2018. All rights reserved.
User manual
COMPANY PUBLIC
Rev. 1.1 — 11 October 2018
407611
19 of 38
10.2 Data exchange
After the initial handshake data exchange may start. The following commands are
available:
•
‘C’: PN sends APDU command to QN (QN forwards data to the Bluetooth Low
Energy client)
•
‘A’: QN responds with response APDU
•
‘T’: PN sets RTC in QN
•
‘N’: PN sets a new Bluetooth Low Energy device name in QN.
•
‘D’: PN indicates QN that the transaction is finished and communication shall be
disconnected
All commands are followed by two bytes for length and then data. In case of
'T'
command
the answer is the same as at power up (
'O'<len><time>
), but for
'C'
command we return
'A'<len><data>
:
PN
QN
'C'<len><data>
→
←
'A'<len><data>
Example:
PN
QN
0x4308000102030405060708
→
←
0x4102009000