androidnfc

How many characters can be sent at a time with NFC Messages?


Assuming that we will use UTF-8 encoding, and NDEFRecord types Text or URI:

How many characters can be placed into a NDEF Record with type TEXT? Is there any character limitations?

What about URI type NDEF Records, any limits on the size of characters the URI can be?


Solution

  • The NDEF specification limits the NDEF payload to (2^32 - 1) bytes so this should not be a problem to make a large Record. Just the real limitation comes from the hardware on which you want to store it. For example MIFARE Standart has 1K or 4K version. So check the memory capabilities of your card.