NT3H2111 NDEF message can't be read by NXP Tag Reader

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

NT3H2111 NDEF message can't be read by NXP Tag Reader

Jump to solution
2,180 Views
Frzn_Solid
Contributor I

I'm using the NT3H2111 Ntag plus I2C 1k device. I've been able to write the capability container to the proper values in order to do read/writes using NFC:

CC:  0xAA, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE1, 0x10, 0x6D, 0x00

I've also successfully written the following 32 bytes to create what I hope is a Hello World NDEF message:

0x03, 0x12, 0xD1, 0x01, 0x0E, 0x54, 0x65, 0x6E, 0x48, 0x65, 0x6C, 0x6C, 0x6F, 0x20, 0x57, 0x6F, 0x72, 0x6C, 0x64, 0x21, 0xFE, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00

I've padded the end with 0s in order to properly write the two blocks of memory. I can successfully write this but when I try reading with the NCP Tag Reader, it says that there is no NDEF message. Am I formatting it incorrectly?

 

0 Kudos
Reply
1 Solution
2,152 Views
Fabian_R
NXP TechSupport
NXP TechSupport

Hello sir,

It is possible that there is a small issue with the NDEF.

For a Hello world, the NDEF should be formatted as shown in the image.

Please notice that in the seventh byte, there is a 0x02 due to the NFC forum, specifically in RTD Text specifications.

Unfortunately, I can't share this document, sir.

 

Fabian_R_0-1719605163353.pngFabian_R_0-1719605163353.png

 

Best Regards,
Fabian

View solution in original post

0 Kudos
Reply
2 Replies
2,153 Views
Fabian_R
NXP TechSupport
NXP TechSupport

Hello sir,

It is possible that there is a small issue with the NDEF.

For a Hello world, the NDEF should be formatted as shown in the image.

Please notice that in the seventh byte, there is a 0x02 due to the NFC forum, specifically in RTD Text specifications.

Unfortunately, I can't share this document, sir.

 

Fabian_R_0-1719605163353.pngFabian_R_0-1719605163353.png

 

Best Regards,
Fabian
0 Kudos
Reply
2,148 Views
Frzn_Solid
Contributor I

Hello Fabian,

 

Thank you, you're correct. I added the 0x02 and the message works now.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1894615%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ENT3H2111%20NDEF%20message%20can't%20be%20read%20by%20NXP%20Tag%20Reader%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1894615%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI'm%20using%20the%20NT3H2111%20Ntag%20plus%20I2C%201k%20device.%20I've%20been%20able%20to%20write%20the%20capability%20container%20to%20the%20proper%20values%20in%20order%20to%20do%20read%2Fwrites%20using%20NFC%3A%3C%2FP%3E%3CP%3ECC%3A%26nbsp%3B%200xAA%2C%200x00%2C%200x00%2C%200x00%2C%200x00%2C%200x00%2C%200x00%2C%200x00%2C%200x00%2C%200x00%2C%200x00%2C%200x00%2C%200xE1%2C%200x10%2C%200x6D%2C%200x00%3C%2FP%3E%3CP%3EI've%20also%20successfully%20written%20the%20following%2032%20bytes%20to%20create%20what%20I%20hope%20is%20a%20Hello%20World%20NDEF%20message%3A%3C%2FP%3E%3CP%3E0x03%2C%200x12%2C%200xD1%2C%26nbsp%3B0x01%2C%200x0E%2C%200x54%2C%200x65%2C%200x6E%2C%200x48%2C%200x65%2C%200x6C%2C%200x6C%2C%200x6F%2C%200x20%2C%200x57%2C%200x6F%2C%200x72%2C%200x6C%2C%200x64%2C%200x21%2C%200xFE%2C%200x00%2C%200x00%2C%200x00%2C%200x00%2C%200x00%2C%200x00%2C%200x00%2C%200x00%2C%200x00%2C%200x00%2C%200x00%3C%2FP%3E%3CP%3EI've%20padded%20the%20end%20with%200s%20in%20order%20to%20properly%20write%20the%20two%20blocks%20of%20memory.%20I%20can%20successfully%20write%20this%20but%20when%20I%20try%20reading%20with%20the%20NCP%20Tag%20Reader%2C%20it%20says%20that%20there%20is%20no%20NDEF%20message.%20Am%20I%20formatting%20it%20incorrectly%3F%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1896097%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20NT3H2111%20NDEF%20message%20can't%20be%20read%20by%20NXP%20Tag%20Reader%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1896097%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20Fabian%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThank%20you%2C%20you're%20correct.%20I%20added%20the%200x02%20and%20the%20message%20works%20now.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1896096%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20NT3H2111%20NDEF%20message%20can't%20be%20read%20by%20NXP%20Tag%20Reader%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1896096%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20sir%2C%3C%2FP%3E%0A%3CP%3EIt%20is%20possible%20that%20there%20is%20a%20small%20issue%20with%20the%20NDEF.%3C%2FP%3E%0A%3CP%3EFor%20a%20Hello%20world%2C%20the%20NDEF%20should%20be%20formatted%20as%20shown%20in%20the%20image.%3C%2FP%3E%0A%3CP%3EPlease%20notice%20that%20in%20the%20seventh%20byte%2C%20there%20is%20a%200x02%20due%20to%20the%20NFC%20forum%2C%20specifically%20in%20RTD%20Text%20specifications.%3C%2FP%3E%0A%3CP%3EUnfortunately%2C%20I%20can't%20share%20this%20document%2C%20sir.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Fabian_R_0-1719605163353.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Fabian_R_0-1719605163353.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F286272i767551D3580F905F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Fabian_R_0-1719605163353.png%22%20alt%3D%22Fabian_R_0-1719605163353.png%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EFabian_R_0-1719605163353.png%3C%2Fspan%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E