Home / Support & Download / Samples (Source Code)

Samples (Source Code)

Programming Example: CDC/ACM with C++

As an application developer deciding to use the CDC/ACM operating mode and programming your application in C++, you can take the programming example as basis for your own projects. The programming example demonstrates how to establish a connection to a ubisys RFID reader, identifying transponders in the field, reading out their UIDs and accessing tag memory.

The console application is designed modularly allowing you to re-use most of the existing C++ classes in your own developments.

Programming example: CDC/ACM with C#/.NET

As an application developer decidingto use the CDC/ACM operating mode and programming your application in C# (or another.NET progrmaming language), you can take the programming example as basis for your own projects. The programming example shows how to locate RFID readers appearing as virtual serial ports connected to your computer and then setting up a connection to one of the identified devices.

The console application is designed modularly making it possible for you to re-use most of the enumerator (WindowsDeviceManagement ,Enumerator)and data exchange classes (CommandExchange)in your own developments.

Detailed information

Operating systems

  • Windows with .NET

USB operating mode

  • CDC/ACM

RFID Standards

  • ISO 15693

Download

Programming example: CCID with C#/.NET or XML-script language

Microsoft has not developed an official .NET-API for smart cards yet, though there is the possibility to use the native PC/SC interface through COM and P/Invoke.

Software developers can for example use open-source projects published on “The Code Project”. In addition to a PC/SC “Wrapper” in C# there also is a XML-based macro language with interpreter to execute command sequences via XML-script.

Detailed information

Operating systems

  • Windows with .NET

USB operating mode

  • CCID

Link

Note:This programming example does not originate with ubisys. You will be redirected to “The Code Project”.

rfidsmartfx™ — The ubisys Smart Card Framework

This example demonstrates how to access RFID transponders with a ubisys RFID USB Reader operating in CCID (hence as a Smart Card Reader).Memory cards using ISO 15693 support the transparent data channel as well as memory card emulation.

The rfidsmartfx™ library from ubisys helps accelerating application development in C++ under Windows, MacOS X and Linux (both 32- und 64-bit) and is available to all ubisys customers upon request.

Detailed information

Operating systems

  • Windows, MacOS X, Linux

USB operating mode

  • CCID

RFID Standards

  • ISO 14443A
  • ISO 15693

Download

  • Please contact our support team (support@ubisys.de), for samples and programming library.

rfidsmartfx™ — Support for NXP Mifare DESFire

This example demonstrates how to access Mifare DESFire cards with a ubisys RFID USB Reader operating in CCID (hence as a Smart Card Reader) and the ubisys rfidsmartfx™ Framework.

The host application exchanges data with the chip ón the transponder card directly through the transparent data channel provided by the ubisys RFID Reader. It demonstrates how to authenticate and formate a file system, how to install applications and files as well as read and write them. At the same time when accessing NXP Mifare DESFire cards which you can integrate in your own projects, the ubisys C++ library relieves you of dealing with 3DES-Encryption Algorithms and Challenge-/Response-Protocols.

Detailed information

Operating systems

  • Windows, MacOS X, Linux

USB operating mode

  • CCID

RFID Standards

  • ISO 14443A

Download

  • Requires a confidentiality agreement. Please contact our support team (support@ubisys.de), for samples and programming library.