2024-11-14 01:04 AM
Hi,
I have successfully ported the ST25R95 library from STMicroelectronics to my own microcontroller, an nRF52832. I am now trying to read the payload of an NFC-A Passive ISO-DEP device with the UID: 5F471DC2783A8E.
In the polling_demo.c file, I see the function demoAPDU. I would like to use this function to read the payload, which contains Bluetooth Out of Band (OOB) data and a key. My goal is to use this for BLE NFC pairing. Can someone assist me with this?
Here is the payload:
2024-11-14 01:10 AM
Hi,
I would look at ST25 embedded NFC lib which has examples for NDEF reading inside its ndef_rw_ demo (main logic triggered by file ndef_demo.c). The package for ST25R95 is STSW-ST25R017.
BR, Ulysses
2024-11-14 01:15 AM
Hi,
as explained inside your previous post, you should use ndef_demo.c rather than demo_polling.c to read the NDEF from a tag (this is available from X-CUBE-NFC3 or from STSW-ST25R017 package).
Rgds
BT
2024-11-14 01:31 AM - edited 2024-11-14 01:55 AM
Hi,
I am now able to read the NDEF message, but I don’t get a Bluetooth address. Does anyone know how to fix this? Here is the output I’m getting:
NFC-A Passive ISO-DEP device found. UID: 5F471DC2783A8E
READ/WRITE NDEF detected.
Decoding NDEF message:
Record #1
Flat payload (length 13):
[0000] 15 C1 02 00 00 00 04 61 | . . . . . . . a |
[0008] 63 01 01 30 00 | c . . 0 . |
Record #2
Bluetooth:
Any guidance would be appreciated. Thanks!