awong1900 / RF430CL330H_Shield

NFC that Interacts with Microcontroller
https://www.indiegogo.com/projects/dnfc-tag-nfc-that-interacts-with-microcontroller#/
Other
5 stars 8 forks source link

Nexus 4 written tag fail when big message #1

Closed awong1900 closed 5 years ago

awong1900 commented 10 years ago

I found a question. RF430 have the NDEF data, the sampe code is 0x00, 0x14, /* NLEN; NDEF length (3 byte long message) */ . when the NDEF length more than 0x3B, the RF430 can't be writtet by nexus 4. But the galaxy note 2 can write the memory. I know the NFC chip is different between the phones. The nexus 4 use Broadcom chip, and the note 2 use NXP PN544 .

awong1900 commented 10 years ago

You have: 0x20, /* Mapping version 2.0 / \ 0x00, 0x3B, / MLe (59 bytes); Maximum R-APDU data size / \ 0x00, 0x34, / MLc (52 bytes); Maximum C-APDU data size */ \

we currently recommend: 0x20, /* Mapping version 2.0 / \ 0x00, 0xF9, / MLe (249 bytes); Maximum R-APDU data size / \ 0x00, 0xF6, / MLc (246 bytes); Maximum C-APDU data size */ \

Let me know if you continue to have problems. -----From TI Forum http://e2e.ti.com/support/low_power_rf/f/667/p/330034/1150032.aspx#1150032

awong1900 commented 10 years ago

Hey Ten,

I don't have the Nexus 4 to test with at the moment, but we've used it extensively with the RF430 and written very large text and image message which worked fine.

I've never used the exact app though. Usually I use NFC TagReader by NXP (which also can write to the tags).

We have noticed that with some smartphones using Broadcom chips (nexus 4 and 5 included), that the presence checking doesn't seem to work correct for certain NDEF messages. Basically, the phone keeps reading the message over and over (which makes it nearly impossible to write to unless you reset the RF430). Is this may what you are seeing?

Most our team is at NFC Plugfest this week and they'll be looking into any interoperability issues, including this.

I can post a NDEF message or two that cause this small bug if you'd like.

Thanks,

JD

awong1900 commented 10 years ago

Hi JD,

Thank you for your reply.

My customer posted this issue. He used Galaxy Nexus. Strangely, because i always work well with nexus 7.

And i spent a lot of time to test. This is the test result:

  1. Only phone which use Broadcom chip write fail.
  2. Only when NDEF Length more than MLe in RF430 memory data.

Have some different with you are seeing. It just Store fail, not to read over and over, in NXP TagWriter by NXP. I think your team would repeat my test in NFC Plugfes. Let me know of any feedback.

Ten