cancel
Showing results for 
Search instead for 
Did you mean: 

Forcing P2P Initiator or Target behaviour ? ST25R3911b

Titus Schauer
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Ulysses HERNIOSUS
ST Employee

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

View solution in original post

3 REPLIES 3
Ulysses HERNIOSUS
ST Employee

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

Titus Schauer
Associate II

Thank you for your quick response,

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

Ulysses HERNIOSUS
ST Employee

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