Skip to main content
Visitor II
March 23, 2023
Solved

Forcing P2P Initiator or Target behaviour ? ST25R3911b

  • March 23, 2023
  • 3 replies
  • 1121 views

Hi,

Im using the Embedded Lib.

I want one device to be a Target and the other the Initiator in every connection. Im trying to help me with the Ap2p example but couldnt fint anithing that tells me what the devices role is.

    This topic has been closed for replies.
    Best answer by Ulysses HERNIOSUS

    Hi Titus,

    just change the line of

    discParam.techs2Find = (RFAL_NFC_POLL_TECH_AP2P | RFAL_NFC_LISTEN_TECH_AP2P);

    to have only one of the technologies to find on each device.

    BR, Ulysses

    3 replies

    Technical Moderator
    March 23, 2023

    Hi Titus,

    just change the line of

    discParam.techs2Find = (RFAL_NFC_POLL_TECH_AP2P | RFAL_NFC_LISTEN_TECH_AP2P);

    to have only one of the technologies to find on each device.

    BR, Ulysses

    Visitor II
    March 23, 2023

    Thank you for your quick response,

    Poll is Initiator and Listen is Target am �? right ?

    Technical Moderator
    March 23, 2023

    Correct.

    Same thing, just different specs. ISO18092 talks on initiators and targets. NFCForum uses Poller and Listener. Most of the time we are using NFC Forum terminology. But then the ISO is older and IMO more to the point in this detail...

    Regards, Ulysses