<?xml version="1.0" encoding="UTF-8"?>

<xwikidoc>
<web>Main.Documentation</web>
<name>NFC</name>
<language></language>
<defaultLanguage>en</defaultLanguage>
<translation>0</translation>
<parent>Main.Documentation</parent>
<creator>xwiki:XWiki.donsez</creator>
<author>xwiki:XWiki.calmant</author>
<contentAuthor>xwiki:XWiki.calmant</contentAuthor>
<creationDate>1277452038000</creationDate>
<date>1281453976000</date>
<contentUpdateDate>1281453976000</contentUpdateDate>
<version>1.29</version>
<title>Aspire :: Near Field Communication (NFC) Components</title>
<template></template>
<content>1 Aspire :: Near Field Communication (NFC) Components
----
#toc("" "" "true")
----

This section describes the NFC components developed in the Aspire project.



1.1 Context

1.1.1 Near Field Communication (NFC)
Near Field Communication (NFC) is an evolution of short-range RFID. This high-frequency wireless communication technology enables devices such as mobile phones or tags to exchange data over a few centimeters distance. Since NFC is an extension of the ISO 14443 standard, NFC devices are compatible with already existing contactless infrastructures (e.g., RFID tags or [public transportation systems&gt;http://wiki.aspire.ow2.org/xwiki/bin/view/Main/Operation#HTransportation]). NFC technology targets mainly mobile phones which can therefore be used in three different ways. A NFC mobile phone can behave as a common RFID reader, it can be read or write to/from a contactless card or even be used in peer-to-peer mode: two NFC devices can communicate and exchange information.

1.1.1 NFC Forum 
The [NFC Forum&gt;http://www.nfc-forum.org] promotes the use of NFC short-range wireless interaction in consumer electronics, mobile devices and PCs. The NFC Forum provides also the [standardization&gt;http://www.nfc-forum.org/specs] of NFC technology to ensure interoperability between devices and services. 

1.1.1 APIs

1.1.1.1 JSR 257: Contactless Communication API
The [JSR 257 specification&gt;http://jcp.org/en/jsr/detail?id=257] defines J2ME Optional Packages for (NFC, Visual, ...) contactless communication and for accessing (read or write) information on/from passive tags (NFC mainly).

1.1.1.1 Android NFC API
Soon

1.1 Source repository
* [Source repository&gt;http://websvn.ow2.org/listing.php?repname=aspire&amp;path=%2Ftrunk%2Fnfc%2F]


1.1 Components

1.1.1  General-purpose components
* NDEF Utilities

1.1.1 Terminal side components

1.1.1.1 J2ME

* Touch and Collect MIDlet
* [Touch and Locate MIDlet&gt;Main.Documentation.NFC.J2ME.TouchLocate]

1.1.1.1 Android
Open-source NFC stacks have been recently annonced :
* NXP and Trusted Logic
** http://www.nxp.com/news/content/file_1700.html 
* Inside Contactless
** http://www.insidecontactless.com/eng/Vision/Press-releases/INSIDE-CONTACTLESS-RELEASES-OPEN-SOURCE-NFC-PROTOCOL-STACK
** http://www.open-nfc.org/
** http://www.open-nfc.org/android.html
** http://www.open-nfc.org/opennfc_library/reference/packages.html

1.1.1.1 iPhone
* http://www.nearfield.org/2009/11/iphone-rfid-and-nfc-peripherals

1.1.1.1 Java Platform SE
* Touch and Launch Desktop (ie Tangible desktop)

1.1.1 Server-side components
Server-side components are packaged as OSGi bundles and can be deployed on OSGi platforms such as the OSGi profile of the ALEServer.

* [Bluetooth Server&gt;Main.Documentation.Bundles.BluetoothServer]

1.1 Demonstrations
* [NFCMuseum&gt;http://wiki.aspire.ow2.org/xwiki/bin/view/Main/Demos#HNFCMuseum]
* [The Patrol Man&gt;http://wiki.aspire.ow2.org/xwiki/bin/view/Main/Demos#HThePatrolMan]
* [Touch and Collect&gt;http://wiki.aspire.ow2.org/xwiki/bin/view/Main/Demos#HNFCPicking]
* [Touch and Locate&gt;http://wiki.aspire.ow2.org/xwiki/bin/view/Main/Demos#HTouchandLocate]
* Touch and Launch

1.1 Misc

* The [OW2 GASP&gt;http://gasp.ow2.org] develops also multiplayers mobile games with NFC features.





</content>
<renderedcontent>&lt;h2 class="heading-1"&gt;&lt;span id="HAspire3A3ANearFieldCommunication28NFC29Components"&gt;Aspire :: Near Field Communication (NFC) Components&lt;/span&gt;&lt;/h2&gt; 
&lt;hr class="line"/&gt;
            &lt;ul&gt;
          &lt;li&gt;&lt;a href="#HContext"&gt;1 Context&lt;/a&gt; 
        &lt;ul&gt;
          &lt;li&gt;&lt;a href="#HNearFieldCommunication28NFC29"&gt;1.1 Near Field Communication (NFC)&lt;/a&gt; 
      &lt;li&gt;&lt;a href="#HNFCForum"&gt;1.2 NFC Forum &lt;/a&gt; 
      &lt;li&gt;&lt;a href="#HAPIs"&gt;1.3 APIs&lt;/a&gt; 
        &lt;ul&gt;
          &lt;li&gt;&lt;a href="#HJSR2573AContactlessCommunicationAPI"&gt;1.3.1 JSR 257: Contactless Communication API&lt;/a&gt; 
      &lt;li&gt;&lt;a href="#HAndroidNFCAPI"&gt;1.3.2 Android NFC API&lt;/a&gt; 
        &lt;/ul&gt;
       &lt;/ul&gt;
          &lt;li&gt;&lt;a href="#HSourcerepository"&gt;2 Source repository&lt;/a&gt; 
      &lt;li&gt;&lt;a href="#HComponents"&gt;3 Components&lt;/a&gt; 
        &lt;ul&gt;
          &lt;li&gt;&lt;a href="#HGeneralpurposecomponents"&gt;3.1 General-purpose components&lt;/a&gt; 
      &lt;li&gt;&lt;a href="#HTerminalsidecomponents"&gt;3.2 Terminal side components&lt;/a&gt; 
        &lt;ul&gt;
          &lt;li&gt;&lt;a href="#HJ2ME"&gt;3.2.1 J2ME&lt;/a&gt; 
      &lt;li&gt;&lt;a href="#HAndroid"&gt;3.2.2 Android&lt;/a&gt; 
      &lt;li&gt;&lt;a href="#HiPhone"&gt;3.2.3 iPhone&lt;/a&gt; 
      &lt;li&gt;&lt;a href="#HJavaPlatformSE"&gt;3.2.4 Java Platform SE&lt;/a&gt; 
        &lt;/ul&gt;
          &lt;li&gt;&lt;a href="#HServersidecomponents"&gt;3.3 Server-side components&lt;/a&gt; 
        &lt;/ul&gt;
          &lt;li&gt;&lt;a href="#HDemonstrations"&gt;4 Demonstrations&lt;/a&gt; 
      &lt;li&gt;&lt;a href="#HMisc"&gt;5 Misc&lt;/a&gt; 
      &lt;/ul&gt; &lt;hr class="line"/&gt;&lt;p class="paragraph"/&gt;This section describes the NFC components developed in the Aspire project.
&lt;h3 class="heading-1-1"&gt;&lt;span id="HContext"&gt;Context&lt;/span&gt;&lt;/h3&gt; 
&lt;h4 class="heading-1-1-1"&gt;&lt;span id="HNearFieldCommunication28NFC29"&gt;Near Field Communication (NFC)&lt;/span&gt;&lt;/h4&gt; 
Near Field Communication (NFC) is an evolution of short-range RFID. This high-frequency wireless communication technology enables devices such as mobile phones or tags to exchange data over a few centimeters distance. Since NFC is an extension of the ISO 14443 standard, NFC devices are compatible with already existing contactless infrastructures (e.g., RFID tags or &lt;span class="wikiexternallink"&gt;&lt;a href="http://wiki.aspire.ow2.org/xwiki/bin/view/Main/Operation#HTransportation"&gt;&amp;#112;ublic transportation systems&lt;/a&gt;&lt;/span&gt;). NFC technology targets mainly mobile phones which can therefore be used in three different ways. A NFC mobile phone can behave as a common RFID reader, it can be read or write to/from a contactless card or even be used in peer-to-peer mode: two NFC devices can communicate and exchange information.
&lt;h4 class="heading-1-1-1"&gt;&lt;span id="HNFCForum"&gt;NFC Forum &lt;/span&gt;&lt;/h4&gt; 
The &lt;span class="wikiexternallink"&gt;&lt;a href="http://www.nfc-forum.org"&gt;&amp;#78;FC Forum&lt;/a&gt;&lt;/span&gt; promotes the use of NFC short-range wireless interaction in consumer electronics, mobile devices and PCs. The NFC Forum provides also the &lt;span class="wikiexternallink"&gt;&lt;a href="http://www.nfc-forum.org/specs"&gt;&amp;#115;tandardization&lt;/a&gt;&lt;/span&gt; of NFC technology to ensure interoperability between devices and services. 
&lt;h4 class="heading-1-1-1"&gt;&lt;span id="HAPIs"&gt;APIs&lt;/span&gt;&lt;/h4&gt; 
&lt;h5 class="heading-1-1-1-1"&gt;&lt;span id="HJSR2573AContactlessCommunicationAPI"&gt;JSR 257: Contactless Communication API&lt;/span&gt;&lt;/h5&gt; 
The &lt;span class="wikiexternallink"&gt;&lt;a href="http://jcp.org/en/jsr/detail?id=257"&gt;&amp;#74;SR 257 specification&lt;/a&gt;&lt;/span&gt; defines J2ME Optional Packages for (NFC, Visual, ...) contactless communication and for accessing (read or write) information on/from passive tags (NFC mainly).
&lt;h5 class="heading-1-1-1-1"&gt;&lt;span id="HAndroidNFCAPI"&gt;Android NFC API&lt;/span&gt;&lt;/h5&gt; 
Soon
&lt;h3 class="heading-1-1"&gt;&lt;span id="HSourcerepository"&gt;Source repository&lt;/span&gt;&lt;/h3&gt; 
&lt;ul class="star"&gt;
&lt;li&gt;&lt;span class="wikiexternallink"&gt;&lt;a href="http://websvn.ow2.org/listing.php?repname=aspire&amp;path=%2Ftrunk%2Fnfc%2F"&gt;&amp;#83;ource repository&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;h3 class="heading-1-1"&gt;&lt;span id="HComponents"&gt;Components&lt;/span&gt;&lt;/h3&gt; 
&lt;h4 class="heading-1-1-1"&gt;&lt;span id="HGeneralpurposecomponents"&gt;General-purpose components&lt;/span&gt;&lt;/h4&gt; 
&lt;ul class="star"&gt;
&lt;li&gt;NDEF Utilities&lt;/li&gt;
&lt;/ul&gt;&lt;h4 class="heading-1-1-1"&gt;&lt;span id="HTerminalsidecomponents"&gt;Terminal side components&lt;/span&gt;&lt;/h4&gt; 
&lt;h5 class="heading-1-1-1-1"&gt;&lt;span id="HJ2ME"&gt;J2ME&lt;/span&gt;&lt;/h5&gt; 
&lt;ul class="star"&gt;
&lt;li&gt;Touch and Collect MIDlet&lt;/li&gt;
&lt;li&gt;&lt;span class="wikilink"&gt;&lt;a href="/xwiki/bin/view/Main.Documentation.NFC.J2ME/TouchLocate"&gt;Touch and Locate MIDlet&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;h5 class="heading-1-1-1-1"&gt;&lt;span id="HAndroid"&gt;Android&lt;/span&gt;&lt;/h5&gt; 
Open-source NFC stacks have been recently annonced :
&lt;ul class="star"&gt;
&lt;li&gt;NXP and Trusted Logic&lt;ul class="star"&gt;
&lt;li&gt;&lt;span class="nobr"&gt;&lt;a href="http://www.nxp.com/news/content/file_1700.html"&gt;&amp;#104;ttp://www.nxp.com/news/content/file_1700.html&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Inside Contactless&lt;ul class="star"&gt;
&lt;li&gt;&lt;span class="nobr"&gt;&lt;a href="http://www.insidecontactless.com/eng/Vision/Press-releases/INSIDE-CONTACTLESS-RELEASES-OPEN-SOURCE-NFC-PROTOCOL-STACK"&gt;&amp;#104;ttp://www.insidecontactless.com/eng/Vision/Press-releases/INSIDE-CONTACTLESS-RELEASES-OPEN-SOURCE-NFC-PROTOCOL-STACK&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="nobr"&gt;&lt;a href="http://www.open-nfc.org/"&gt;&amp;#104;ttp://www.open-nfc.org/&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="nobr"&gt;&lt;a href="http://www.open-nfc.org/android.html"&gt;&amp;#104;ttp://www.open-nfc.org/android.html&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="nobr"&gt;&lt;a href="http://www.open-nfc.org/opennfc_library/reference/packages.html"&gt;&amp;#104;ttp://www.open-nfc.org/opennfc_library/reference/packages.html&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;h5 class="heading-1-1-1-1"&gt;&lt;span id="HiPhone"&gt;iPhone&lt;/span&gt;&lt;/h5&gt; 
&lt;ul class="star"&gt;
&lt;li&gt;&lt;span class="nobr"&gt;&lt;a href="http://www.nearfield.org/2009/11/iphone-rfid-and-nfc-peripherals"&gt;&amp;#104;ttp://www.nearfield.org/2009/11/iphone-rfid-and-nfc-peripherals&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;h5 class="heading-1-1-1-1"&gt;&lt;span id="HJavaPlatformSE"&gt;Java Platform SE&lt;/span&gt;&lt;/h5&gt; 
&lt;ul class="star"&gt;
&lt;li&gt;Touch and Launch Desktop (ie Tangible desktop)&lt;/li&gt;
&lt;/ul&gt;&lt;h4 class="heading-1-1-1"&gt;&lt;span id="HServersidecomponents"&gt;Server-side components&lt;/span&gt;&lt;/h4&gt; 
Server-side components are packaged as OSGi bundles and can be deployed on OSGi platforms such as the OSGi profile of the ALEServer.
&lt;ul class="star"&gt;
&lt;li&gt;&lt;span class="wikilink"&gt;&lt;a href="/xwiki/bin/view/Main.Documentation.Bundles/BluetoothServer"&gt;Bluetooth Server&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;h3 class="heading-1-1"&gt;&lt;span id="HDemonstrations"&gt;Demonstrations&lt;/span&gt;&lt;/h3&gt; 
&lt;ul class="star"&gt;
&lt;li&gt;&lt;span class="wikiexternallink"&gt;&lt;a href="http://wiki.aspire.ow2.org/xwiki/bin/view/Main/Demos#HNFCMuseum"&gt;&amp;#78;FCMuseum&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="wikiexternallink"&gt;&lt;a href="http://wiki.aspire.ow2.org/xwiki/bin/view/Main/Demos#HThePatrolMan"&gt;&amp;#84;he Patrol Man&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="wikiexternallink"&gt;&lt;a href="http://wiki.aspire.ow2.org/xwiki/bin/view/Main/Demos#HNFCPicking"&gt;&amp;#84;ouch and Collect&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="wikiexternallink"&gt;&lt;a href="http://wiki.aspire.ow2.org/xwiki/bin/view/Main/Demos#HTouchandLocate"&gt;&amp;#84;ouch and Locate&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Touch and Launch&lt;/li&gt;
&lt;/ul&gt;&lt;h3 class="heading-1-1"&gt;&lt;span id="HMisc"&gt;Misc&lt;/span&gt;&lt;/h3&gt; 
&lt;ul class="star"&gt;
&lt;li&gt;The &lt;span class="wikiexternallink"&gt;&lt;a href="http://gasp.ow2.org"&gt;&amp;#79;W2 GASP&lt;/a&gt;&lt;/span&gt; develops also multiplayers mobile games with NFC features.&lt;/li&gt;
&lt;/ul&gt;
</renderedcontent>
</xwikidoc>