2021-04-24 12:38 AM
Hi,
I've implemented the RFAL-HL ( Higher Layer ) based on X-Cube-NFC5 in our project.
Currently, the example only provides us with a way to detect tags only. I would like to know, what's the procedure by which we can send an NDEF data packet to a P2P device with RFAL-HL.
Regards,
Ayush
Solved! Go to Solution.
2021-04-26 12:09 AM
Hi,
X-CUBE-NFC5 v2.0.0 includes 2 demos: STM32L476RG-Nucleo_PollingTagDetect and STM32L476RG_NUCLEO_PollingTagDetectNdef (see UM2253).
STM32L476RG_NUCLEO_PollingTagDetectNdef demonstrates the sending of an NDEF message to a P2P device. Note that the sending of an NDEF message to a P2P device requires the use of LLCP and SNEP protocols which are not provided in X-CUBE-NFC5. The demo uses hardcoded LLCP and SNEP frames that provide basic support for sending NDEF to the P2P device..
Rgds
BT
2021-04-26 12:09 AM
Hi,
X-CUBE-NFC5 v2.0.0 includes 2 demos: STM32L476RG-Nucleo_PollingTagDetect and STM32L476RG_NUCLEO_PollingTagDetectNdef (see UM2253).
STM32L476RG_NUCLEO_PollingTagDetectNdef demonstrates the sending of an NDEF message to a P2P device. Note that the sending of an NDEF message to a P2P device requires the use of LLCP and SNEP protocols which are not provided in X-CUBE-NFC5. The demo uses hardcoded LLCP and SNEP frames that provide basic support for sending NDEF to the P2P device..
Rgds
BT
2021-04-26 01:14 AM
Hi Ayush,
I'd like to issue a word of warning here: Not all NFC-enabled Android phones are supporting NFC P2P anymore. With Android 10 Google has marked the APIs as deprecated (https://developer.android.com/guide/topics/connectivity/nfc/nfc#p2p). Android Beam is disappearing. Currently it is a mix:
Regards, Ulysses