{"id":396,"date":"2018-10-03T14:12:00","date_gmt":"2018-10-03T12:12:00","guid":{"rendered":"https:\/\/www.scionova.com\/?p=396"},"modified":"2018-10-03T17:41:10","modified_gmt":"2018-10-03T15:41:10","slug":"communication-protocols-in-iot-part-2","status":"publish","type":"post","link":"https:\/\/www.scionova.com\/en\/communication-protocols-in-iot-part-2\/","title":{"rendered":"Communication Protocols in IoT &#8211; Part 2"},"content":{"rendered":"<h4><em>This is the second part of the series &#8220;Communication Protocols in IoT&#8221;, the first part can be found <a href=\"https:\/\/scionova.evdy.se\/2018\/09\/26\/communication-protocols-in-iot-part-1\/\">here<\/a>\u00a0<\/em><\/h4>\n<p><strong>NFC<br \/>\n<\/strong>NFC or &#8220;Near Field Communication&#8221; is a wireless technology that is used for communication over extremely small distances (WPAN category, for NFC we are talking in terms of centimeters). While &#8220;NFC&#8221; sounds like one unified technology, it could when taking a closer look more be viewed as a collection of protocols and sub-standards that lets you design your product to your needs.\u00a0<span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><strong>Technicalities and standards<\/strong><br \/>\nNFC is one of many defined RFID (Radio Frequency identification) standards and operates in the 13.56 MHz ISM-band. The base standard for NFC physical layer and RF is ISO-18092 (Near Field Communication) while parts of an older ISO-14443 (Contactless integrated circuit cards) are also fully inherited or reused.<br \/>\nOn top of the bottom layers, it immediately gets more interesting and diversified when different manufacturers and organizations have defined different protocols all the way up to the application layer.\u00a0<span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-403\" src=\"https:\/\/scionova.evdy.se\/wp-content\/uploads\/2018\/10\/NFC_Protocol_Stack-300x188.png\" alt=\"\" width=\"958\" height=\"600\" srcset=\"https:\/\/www.scionova.com\/wp-content\/uploads\/2018\/10\/NFC_Protocol_Stack-300x188.png 300w, https:\/\/www.scionova.com\/wp-content\/uploads\/2018\/10\/NFC_Protocol_Stack-768x481.png 768w, https:\/\/www.scionova.com\/wp-content\/uploads\/2018\/10\/NFC_Protocol_Stack-1024x641.png 1024w\" sizes=\"(max-width: 958px) 100vw, 958px\" \/>[Image source: https:\/\/upload.wikimedia.org\/wikipedia\/commons\/3\/33\/NFC_Protocol_Stack.png]<\/p>\n<p>&nbsp;<\/p>\n<p>While not every protocol is interesting to cover in detail in a brief overview, it is worth mentioning that that tag types (1-4 and MiFARE) and the NDEF (NFC Data Exchange Format) are very central when working with NFC in order to read, write and interpret data.<span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<h3><strong>Protocol Basics<\/strong><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-447\" src=\"https:\/\/scionova.evdy.se\/wp-content\/uploads\/2018\/10\/Sk\u00e4rmavbild-2018-10-03-kl.-17.27.06-300x126.png\" alt=\"\" width=\"608\" height=\"256\" \/><\/h3>\n<p>The NFC technology can work in both active and passive mode where the passive mode is the most well-known one (think of reading data from an NFC tag\/card). In this mode, NFC uses induction between the two communicating devices which gives the very nice property of one device (initiator) powering the other device. This means that a tag\/card (target) does not need its own power source but is instead powered by the other device and transmits data by modulating the already generated electromagnetic field.<span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p>NFC can also operate in active or &#8220;peer-to-peer&#8221; mode where both devices have a power source and alternates between generating an RF field (sending) and being passive (receiving).<span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p>In terms of data transfer speed, NFC is not designed nor used to shuffle large amounts of data. A few different standards and modulation exist which allows NFC to transfer data with a bit rate of 106, 212 or 424 Kbit\/s respectively.\u00a0<span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><strong>Use Cases<br \/>\n<\/strong>Despite being a wireless technology with an extremely short range and limited transfer speed, there are quite a few use cases where NFC is a suitable and widely adopted technology:<\/p>\n<ul>\n<li><strong>Contactless payment<br \/>\n<\/strong>A large use case today which currently is seeing large penetration in quite a few markets. This appears in many forms, everything from public transport access cards and NFC enabled credit cards to cellphone-based payment apps.\u00a0\u00a0\u00a0<span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li><strong>Identification<br \/>\n<\/strong>With a very low cost for NFC tags\/stickers, it&#8217;s a very efficient way of storing identification data. Everything from single shirts in a store, car parts in a factory to large containers can carry their unique information with them through the supply chain in a small and cheap tag. The fact that the only thing you need to access\/read the data is a semi-modern smartphone also gives this use-case quite a boost.<span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li><strong>Access control<br \/>\n<\/strong>The traditional badge or access card, while of course not every implementation of RFID based access control is based on the actual NFC standard. It&#8217;s easy to see why it\u2019s a popular and fine-grained solution. Compare it to having physical keys or a key panel where a lost key\/code could be very costly and\/or unsecure (even with a unique code per user). An NFC card allows for instant revocation of access as well as a possibility to log who is accessing a secure\/limited area at a certain time at a low cost.<span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li><strong>Bootstrapping\/setup<br \/>\n<\/strong>A quite popular use case today where NFC is used to bootstrap and simplify the setup of other wireless technologies such as Bluetooth and\/or WiFi. Instead of manually struggling with pairing processes, scanning, and manual key entry, simply bring the devices to close together and setup is complete.<span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li><strong>Medical<br \/>\n<\/strong>A growing use case today, NFC can (and is) used in everything from labeling lab samples to reading your blood glucose levels with your cell phone.<span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Do you have questions about NFC technology or its use cases? Drop us an email at <a href=\"mailto:info@scionova.com\">info@scionova.com<\/a> or post in any of our social media channels.<span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\/\/ Erik Dahlgren<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is the second part of the series &#8220;Communication Protocols in IoT&#8221;, the first part can be found here\u00a0 NFC NFC or &#8220;Near Field Communication&#8221; is a wireless technology that is used for communication over extremely small distances (WPAN category, for NFC we are talking in terms of centimeters). While &#8220;NFC&#8221; sounds like one unified [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":""},"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/www.scionova.com\/en\/wp-json\/wp\/v2\/posts\/396"}],"collection":[{"href":"https:\/\/www.scionova.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scionova.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scionova.com\/en\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scionova.com\/en\/wp-json\/wp\/v2\/comments?post=396"}],"version-history":[{"count":0,"href":"https:\/\/www.scionova.com\/en\/wp-json\/wp\/v2\/posts\/396\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.scionova.com\/en\/wp-json\/wp\/v2\/media?parent=396"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scionova.com\/en\/wp-json\/wp\/v2\/categories?post=396"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scionova.com\/en\/wp-json\/wp\/v2\/tags?post=396"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}