Handling of unknown data

From time to time a device may receive information types it does not understand and can therefore not process. On a fixed function device this will be known by design while on an application hosting device it will typically mean that no appropriate data handler was found. It is desirable that a user is appropriately informed about this situation and not left with the impression that NFC is not working.

Receive unknown data from device

  1. Prepare the Device In Testmode to send a single record NDEF message with the media type “application/octet-stream” and some arbitrary amount of payload data bytes when near field communication is established.
  2. Establish near field communication between the Device In Testmode and the Device Under Test and verify that the user is notified of unknown content being received.
  3. Prepare the Device In Testmode to send a single record NDEF message with the NDEF record type “Unknown” (Type Name Format value 0x05) and some arbitrary amount of payload data bytes when near field communication is established.
  4. Establish near field communication between the Device In Testmode and the Device Under Test and verify that the user is notified of unknown content being received.

Read unknown data from tag

  1. Prepare a tag to contain a single record NDEF message with the media type “application/octet-stream” and some arbitrary amount of payload data bytes.
  2. Use the Device Under Test to the tag and verify that the user is notified of unknown content being received.
  3. Prepare a tag to contain a single record NDEF message with the NDEF record type “Unknown” (Type Name Format value 0x05) and some arbitrary amount of payload data bytes.
  4. Use the Device Under Test to read the tag and verify that the user is notified of unknown content being received.