YOUR ARE VIEWING ARTICLE

NTAG Encoding as NDEF

NTAG Encoding as NDEF

To encode NTAG cards using the NDEF format, there are two things we need to do.

  1. We need to write data to the NTAG chip, this can be done using the ContactlessUltralightExchange plugin.
  2. We need to format the data as NDEF (Nearfield data Exchange Format) so that it can be read correctly.

First you need to extract the plugin files to the installation directory, there will be a visual basic script file to save to the installation directory as well.

In CardExchange Producer, load the card definition wizard and check the option to enable External Plug-ins as below.

1

When the wizard loads you can enter a name for the plugin, you then need to browse to the plugin dll file you extracted to the installation directory. You also need to enable the option to call the plugin when printing and specify the timing of when the plugin is called.

Once done click finish to return to the card definition wizard and then click next to proceed to the mappings page.
Here select External function input on the left and then highlight the data to write mapping from the list as below.2

Select .net function from the drop-down at the top, then browse to the vb script you extracted to the installation directory and click on compile.

The vb script contains options for encoding NDEF URL records and NDEF TEXT records, whichever you want to encode select it under the function name.

You can then select the value mapping and link it to the desired database column as shown below.

3

TOPICS

CATEGORY

AUTHOR
Support Team

PUBLISHED
May 05, 2020

MODIFIED
April 27, 2022

US business only within scope

ISO/IEC 27001:2013 

United States

2010 Elkins Way, Suite 1122
Brentwood, CA 94513

Monday – Friday
9am – 5pm (EST)
+1 (925) 529 4999

Netherlands

Smallepad 32
3811 MG Amersfoort

Monday – Friday
9am – 5pm (CET)
+31 (0)20 2251 447

© 2023 CardExchange Solutions, Inc.