PN7150 card emulation mode - sending several NDEFs

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PN7150 card emulation mode - sending several NDEFs

782 Views
oleksandr
Contributor II

Hello experts.

In our device we use pn7150 chip and library from SW4325.zip. I have ported it to nRF52832 MCU and successfully use for long time. All this time I send only one NDEF but now I need to send either one big NDEF or a few small NDEFs. I have tried to do both options but none work. For me, the second option is more interesting - sending a few small NDEFs. For testing I use NXP TagWriter mobile application.

 

What I have. For testing I have 3 NDEFs:

 

81 01 00 00 00 16 54 02      ......T.

65 6E 48 65 6C 6C 6F 20      enHello

6D 79 20 66 72 69 65 6E      my frien

64 20 3D 20 31               d = 1

 

01 01 00 00 00 16 54 02      ......T.

65 6E 48 65 6C 6C 6F 20      enHello

6D 79 20 66 72 69 65 6E      my frien

64 20 3D 20 32               d = 2

 

41 01 00 00 00 16 54 02      A.....T.

65 6E 48 65 6C 6C 6F 20      enHello

6D 79 20 66 72 69 65 6E      my frien

64 20 3D 20 33               d = 3

 

After sending the first NDEF I have a callback from the library that NDEF has been sent. Inside of this callback I set the second NDEF. Then I have a callback again, and now I set the third NDEF and that is all. NDEF is not sent and no callbacks occur. So, I can’t send more than 2 NDEFs. I have tried another NXP mobile application - TagInfo - and have the same result. Also I have tried another applications and have even worst results - only one NDEF is sent then.

 

I assume that I prepared the wrong NDEF or I am not using the library correctly.

 

Thank you in advance for your help. I am ready to answer any additional questions on your part.


Best regards,

Alex.

 #tag emulation

pn7150‌ndef

0 Kudos
1 Reply

704 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Alex,

Do you want to implement a T4T response to a single poll command with multiple response? What is the change you made in  SW4325 project except the porting part? Please kindly clarify.

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos