Contactless communication

Near Field Communication (NFC) is a short-range wireless communication technology that allows devices to exchange data over a distance of a few centimeters. When an NFC device is brought in close proximity to or in physical contact with another NFC device or other compatible contactless target, such as an RFID device, communication is initiated automatically. The short transmission range makes NFC an inherently secure communication technology.

NFC is based on radio frequency identification (RFID) technology. NFC is an open-platform technology that incorporates multiple ECMA and ISO/IEC standards. The NFC Forum promotes the standardization, implementation, and use of NFC technology globally.

For general NFC resources for developers, see the Forum Nokia Wiki.

Contactless Communication API

The Contactless Communication API allows MIDlets to use the NFC capabilities of the mobile device to communicate with contactless targets. Specifically, MIDlets can read and write small amounts of data to and from the tags (integrated circuits) in the contactless targets.

Using the Contactless Communication API, you can integrate your MIDlet with the existing contactless service infrastructure. For example, you can create MIDlets that allow users to use their mobile devices to:

  • Download and store information and media from a smart poster

  • Exchange electronic business cards with another NFC device

  • Print an image stored on the device using a smart printer

The Contactless Communication API is supported on Symbian devices with NFC capabilities. For detailed information about platform support, see the implementation notes.

To find out which Symbian device models support NFC, see the Forum Nokia Device Specifications.

Contactless target types

Contactless targets are grouped into different types based on the kind of data their tags support. Different tags use different communication interfaces and data formats.

The Symbian implementation of the Contactless Communication API supports accessing data on the following types of contactless targets:

  • NDEF

    This type includes contactless targets that support the NFC Data Exchange Format (NDEF) for storing data. An NDEF target can be either an NFC device (such as a mobile phone) or an NFC tag (a device such as a smart card or a physical tag integrated into a smart poster).

    In the API specification, this type is indicated as TargetType.NDEF_TAG.

    The NFC Forum defines four types of NDEF tags that can be used in NFC devices. The Symbian platform supports the following:

    • NFC Forum Type 1

    • NFC Forum Type 2

    • NFC Forum Type 3

    For more information about the NFC Forum Types, see the respective operation specifications on the NFC Forum.

    In addition to the NFC Forum Types, the Symbian platform supports MIFARE Standard cards (also known as MIFARE Classic cards).

  • RFID

    This type includes contactless targets that store data on RFID tags that do not support NDEF.

    In the API specification, this type is indicated as TargetType.RFID_TAG.

Contactless Communication API extensions

The following table lists the Contactless Communication API extensions supported by the Symbian platform. Each extension specifies a dedicated communication interface for a specific tag technology.

Table: Contactless Communication API extensions

Extension

Tag type

Tags

com.innovision.rf

NFC Forum Type 1 (NDEF)

Innovision Jewel, Innovision Topaz

com.nokia.nfc.nxp.mfstd

MIFARE Standard (NDEF)

MIFARE Classic 1K, MIFARE Classic 4K

com.nokia.nfc.nxp.simpletag

NFC Forum Type 2 (NDEF)

MIFARE Ultralight

com.sony.felica

NFC Forum Type 3 (NDEF)

Sony FeliCa

More information

For more information about the Contactless Communication API, see: