Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Contributor
jason_du
Posts: 4
Registered: ‎11-06-2011
My Device: Bold 9900

NFC Tag Type 2 can't be recognized

[ Edited ]

Hi,

 

I got some problems to communication with Blackberry Bold 9900 NFC. I used NXP PN533 simulate Type Tag 2, 9900 detected it but can't recognize it. I used the NFC-forum standard tag format, here is the memory setting table:

 

0x00, 0x00, 0x00, 0x00, // Internal Manufacturing use

0x00, 0x00, 0x00, 0x00, // Internal Manufacturing use

0x00, 0x00, 0xFF, 0xFF, // Block 2 (Static lock bytes: CC area and data area are read-only locked)

0xE1, 0x10, 0x06, 0x0F, // Block 3 (CC - Type 2 version 1.0, Data area 48 bytes, Read-only mode)

0x03, 0x27, 0xD9, 0x02, // T =0x03, L=0x27

0x20, 0x01, 0x53, 0x70, //Smart Poster ID: 0 Length = 0x20

0x30, 0x99, 0x01, 0x0b,

0x01, 0x54, 0x31, 0x05, //Text ID: 1 Length = 0x0b “Title”

0x65, 0x6e, 0x2d, 0x55,

0x53, 0x54, 0x69, 0x74,

0x6c, 0x65, 0x59, 0x01,

0x09, 0x01, 0x55, 0x32, //URL ID:2 Length = 0x09 “www.abcd.com

0x01, 0x61, 0x62, 0x63,

0x64, 0x2e, 0x63, 0x6f,

0x6d, 0x00, 0x00, 0x00,

0x00, 0x00, 0x00, 0x00,

 

Thanks for your kindly help.

BlackBerry Development Advisor
jomurray
Posts: 133
Registered: ‎09-06-2010
My Device: Z30

Re: NFC Tag Type 2 can't be recognized

Exactly what type of tag are you emulating? Not all tags are alike; for example, NXP supports a proprietary format for MiFare Classic to store NDEF content. We are unable to read such MiFare Classic tags due to licensing constraints.

---------------------------------------
Please refrain from posting new questions in solved threads.
Feel free to press the like button on the right side if you liked my attempts to help :-)
And please mark posts as solved if you think I found the solution or set you on its path. Thanks!
Found a bug? Report it here
Follow me on Twitter @jcmrim
New Contributor
jason_du
Posts: 4
Registered: ‎11-06-2011
My Device: Bold 9900

Re: NFC Tag Type 2 can't be recognized

Hi Jomurray,

 

Thanks for your response, Unfortunately we just used NXP Mifare Classic Tags to do that... Also we want to know which type is ok, if its possible with NXP MIFARE Ultralight or any other types?

 

Best Regards

BlackBerry Development Advisor
jomurray
Posts: 133
Registered: ‎09-06-2010
My Device: Z30

Re: NFC Tag Type 2 can't be recognized

MiFare 1k and 4k tags are not supported due to licensing constraints. The same licensing constraint applies to MiFare Plus tags and DESFire tags in MiFare mode (DESFire tags also support ISO7816-4 mode and these are supported). MiFare Ultra Light,and Ultra Light C are supported since they are not subject to licensing constraints.

---------------------------------------
Please refrain from posting new questions in solved threads.
Feel free to press the like button on the right side if you liked my attempts to help :-)
And please mark posts as solved if you think I found the solution or set you on its path. Thanks!
Found a bug? Report it here
Follow me on Twitter @jcmrim
New Contributor
jason_du
Posts: 4
Registered: ‎11-06-2011
My Device: Bold 9900

Re: NFC Tag Type 2 can't be recognized

 

So thanks for your information. We had confused with this issue for a long time. BTW, we have an additional question about  your NFC, how could we working with your LLCP, is that also base on NFC-DEP?

BlackBerry Development Advisor
jomurray
Posts: 133
Registered: ‎09-06-2010
My Device: Z30

Re: NFC Tag Type 2 can't be recognized

LLCP and SNEP (over LLCP) from the NFC Forum set of specs are planned. They are not available in the current relase (7.0) but are currently planned as part of he Peer-2-Peer feature which should be coming soon. I can't be more specific about dates. There is a good deck on this and other NFC material that was presented at the latest DevCon11 confernce (entitled: "NFC:  The Future of Apps and How to Build an NFC Enabled App").

 

You might also like to have a look at a couple of articles that I wrote with my colleague on developing NFC applications on the BlackBerry platform.

 

http://supportforums.blackberry.com/t5/Java-Development/NFC-Primer-for-Developers/ta-p/1334857

 

and

 

http://supportforums.blackberry.com/t5/Java-Development/Reading-and-Writing-NFC-Smart-Tags/ta-p/1379...

 

We plan more in the series!

---------------------------------------
Please refrain from posting new questions in solved threads.
Feel free to press the like button on the right side if you liked my attempts to help :-)
And please mark posts as solved if you think I found the solution or set you on its path. Thanks!
Found a bug? Report it here
Follow me on Twitter @jcmrim
New Contributor
jason_du
Posts: 4
Registered: ‎11-06-2011
My Device: Bold 9900

Re: NFC Tag Type 2 can't be recognized

Yes, I understand what you mean, but we got your latest release version 7.1 Bundle 168(v7.1.0.64), if LLCP avaiable on this? BTW, what's your NFC hardware model? Thanks for your kindly help. BR