{"id":3331,"date":"2023-07-05T11:17:27","date_gmt":"2023-07-05T11:17:27","guid":{"rendered":"https:\/\/iot-ngin.eu\/?p=3331"},"modified":"2024-10-30T13:44:03","modified_gmt":"2024-10-30T13:44:03","slug":"nearby-connections-direct-links-in-off-the-shelf-android-devices","status":"publish","type":"post","link":"https:\/\/iot-ngin.eu\/index.php\/2023\/07\/05\/nearby-connections-direct-links-in-off-the-shelf-android-devices\/","title":{"rendered":"Nearby Connections: Direct Links in Off-the-Shelf Android Devices"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>In IoT-NGIN, we use Nearby Connections as an off-the-shelf framework to showcase the project\u2019s contribution toward device-to-device communications. Contributions include 5G coverage extension and direct link characterization.<\/p>\n\n\n\n<p>Nearby Connection is a feature developed by Google for the Android operating system that allows devices to communicate and interact with each other over short distances without requiring an internet connection. It enables devices to discover and connect with each other using Wi-Fi, Bluetooth, or Wi-Fi Direct.<\/p>\n\n\n\n<p>Nearby Connections provides a peer-to-peer network where devices can discover each other, establish a connection, and exchange data. This feature is particularly useful in scenarios where an internet connection is not available or when direct device-to-device communication is desired for reasons like speed, security, or privacy.<\/p>\n\n\n\n<p>Here&#8217;s a breakdown of how Nearby Connections typically works:<\/p>\n\n\n\n<p>1. *Discovery*: Devices actively scan for nearby devices using Wi-Fi, Bluetooth, or Wi-Fi Direct. They broadcast and listen for signals to identify potential connections. This discovery process can be initiated programmatically by apps or triggered by user actions.<\/p>\n\n\n\n<p>2. *Connection*: Once devices discover each other, they can establish a connection. Nearby Connections supports various connection strategies, including Bluetooth, Wi-Fi, and Wi-Fi Direct. The specific strategy used depends on the devices involved and their capabilities.<\/p>\n\n\n\n<p>3. *Data Exchange*: After establishing a connection, devices can exchange data with each other. Nearby Connections offers reliable and efficient data transfer mechanisms, allowing apps to send and receive data in the form of bytes or streams. It also supports high-level APIs for sending structured data, files, and media.<\/p>\n\n\n\n<p>Once the devices are connected, apps can leverage this connection to enable collaborative or interactive experiences. For example, apps can use Nearby Connections to create multiplayer games, share files, collaborate on documents, or enable shared experiences between devices. Nearby Connections provides a robust framework with various features to enhance the connection and data transfer process. It includes features like streaming, advertising and discovery APIs, authentication, encryption, and even supports offline background operations. It&#8217;s important to note that Nearby Connections is primarily an Android-specific feature and may require the integration of the Nearby Connections API within apps to enable its functionality. Overall, Nearby Connections simplifies the process of establishing direct connections between Android devices, enabling them to communicate, collaborate, and exchange data without relying on an internet connection.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In IoT-NGIN, we use Nearby Connections as an off-the-shelf framework to showcase the project\u2019s contribution toward device-to-device communications. Contributions include 5G coverage extension and direct link characterization. Nearby Connection is a feature developed by Google for the Android operating system &hellip;<\/p>\n","protected":false},"author":2,"featured_media":4074,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"footnotes":""},"categories":[17],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Nearby Connections: Direct Links in Off-the-Shelf Android Devices - IOT NGIN<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/iot-ngin.eu\/index.php\/2023\/07\/05\/nearby-connections-direct-links-in-off-the-shelf-android-devices\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Nearby Connections: Direct Links in Off-the-Shelf Android Devices - IOT NGIN\" \/>\n<meta property=\"og:description\" content=\"In IoT-NGIN, we use Nearby Connections as an off-the-shelf framework to showcase the project\u2019s contribution toward device-to-device communications. Contributions include 5G coverage extension and direct link characterization. Nearby Connection is a feature developed by Google for the Android operating system &hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/iot-ngin.eu\/index.php\/2023\/07\/05\/nearby-connections-direct-links-in-off-the-shelf-android-devices\/\" \/>\n<meta property=\"og:site_name\" content=\"IOT NGIN\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-05T11:17:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-30T13:44:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/iot-ngin.eu\/wp-content\/uploads\/2023\/07\/s1-3.png\" \/>\n\t<meta property=\"og:image:width\" content=\"482\" \/>\n\t<meta property=\"og:image:height\" content=\"428\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Giannis Tsichlas\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/iot-ngin.eu\/#website\",\"url\":\"https:\/\/iot-ngin.eu\/\",\"name\":\"IOT NGIN\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/iot-ngin.eu\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/iot-ngin.eu\/index.php\/2023\/07\/05\/nearby-connections-direct-links-in-off-the-shelf-android-devices\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/iot-ngin.eu\/wp-content\/uploads\/2023\/07\/s1-3.png\",\"contentUrl\":\"https:\/\/iot-ngin.eu\/wp-content\/uploads\/2023\/07\/s1-3.png\",\"width\":482,\"height\":428},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/iot-ngin.eu\/index.php\/2023\/07\/05\/nearby-connections-direct-links-in-off-the-shelf-android-devices\/#webpage\",\"url\":\"https:\/\/iot-ngin.eu\/index.php\/2023\/07\/05\/nearby-connections-direct-links-in-off-the-shelf-android-devices\/\",\"name\":\"Nearby Connections: Direct Links in Off-the-Shelf Android Devices - IOT NGIN\",\"isPartOf\":{\"@id\":\"https:\/\/iot-ngin.eu\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/iot-ngin.eu\/index.php\/2023\/07\/05\/nearby-connections-direct-links-in-off-the-shelf-android-devices\/#primaryimage\"},\"datePublished\":\"2023-07-05T11:17:27+00:00\",\"dateModified\":\"2024-10-30T13:44:03+00:00\",\"author\":{\"@id\":\"https:\/\/iot-ngin.eu\/#\/schema\/person\/dac2bc3c10805a89083986685c5801d1\"},\"breadcrumb\":{\"@id\":\"https:\/\/iot-ngin.eu\/index.php\/2023\/07\/05\/nearby-connections-direct-links-in-off-the-shelf-android-devices\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/iot-ngin.eu\/index.php\/2023\/07\/05\/nearby-connections-direct-links-in-off-the-shelf-android-devices\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/iot-ngin.eu\/index.php\/2023\/07\/05\/nearby-connections-direct-links-in-off-the-shelf-android-devices\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/iot-ngin.eu\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Nearby Connections: Direct Links in Off-the-Shelf Android Devices\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/iot-ngin.eu\/#\/schema\/person\/dac2bc3c10805a89083986685c5801d1\",\"name\":\"Giannis Tsichlas\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/iot-ngin.eu\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/740c19c414d2291ee24fcbe553ee2609?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/740c19c414d2291ee24fcbe553ee2609?s=96&d=mm&r=g\",\"caption\":\"Giannis Tsichlas\"},\"url\":\"https:\/\/iot-ngin.eu\/index.php\/author\/tsichlas\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Nearby Connections: Direct Links in Off-the-Shelf Android Devices - IOT NGIN","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/iot-ngin.eu\/index.php\/2023\/07\/05\/nearby-connections-direct-links-in-off-the-shelf-android-devices\/","og_locale":"en_US","og_type":"article","og_title":"Nearby Connections: Direct Links in Off-the-Shelf Android Devices - IOT NGIN","og_description":"In IoT-NGIN, we use Nearby Connections as an off-the-shelf framework to showcase the project\u2019s contribution toward device-to-device communications. Contributions include 5G coverage extension and direct link characterization. Nearby Connection is a feature developed by Google for the Android operating system &hellip;","og_url":"https:\/\/iot-ngin.eu\/index.php\/2023\/07\/05\/nearby-connections-direct-links-in-off-the-shelf-android-devices\/","og_site_name":"IOT NGIN","article_published_time":"2023-07-05T11:17:27+00:00","article_modified_time":"2024-10-30T13:44:03+00:00","og_image":[{"width":482,"height":428,"url":"https:\/\/iot-ngin.eu\/wp-content\/uploads\/2023\/07\/s1-3.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"Giannis Tsichlas","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/iot-ngin.eu\/#website","url":"https:\/\/iot-ngin.eu\/","name":"IOT NGIN","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/iot-ngin.eu\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/iot-ngin.eu\/index.php\/2023\/07\/05\/nearby-connections-direct-links-in-off-the-shelf-android-devices\/#primaryimage","inLanguage":"en-US","url":"https:\/\/iot-ngin.eu\/wp-content\/uploads\/2023\/07\/s1-3.png","contentUrl":"https:\/\/iot-ngin.eu\/wp-content\/uploads\/2023\/07\/s1-3.png","width":482,"height":428},{"@type":"WebPage","@id":"https:\/\/iot-ngin.eu\/index.php\/2023\/07\/05\/nearby-connections-direct-links-in-off-the-shelf-android-devices\/#webpage","url":"https:\/\/iot-ngin.eu\/index.php\/2023\/07\/05\/nearby-connections-direct-links-in-off-the-shelf-android-devices\/","name":"Nearby Connections: Direct Links in Off-the-Shelf Android Devices - IOT NGIN","isPartOf":{"@id":"https:\/\/iot-ngin.eu\/#website"},"primaryImageOfPage":{"@id":"https:\/\/iot-ngin.eu\/index.php\/2023\/07\/05\/nearby-connections-direct-links-in-off-the-shelf-android-devices\/#primaryimage"},"datePublished":"2023-07-05T11:17:27+00:00","dateModified":"2024-10-30T13:44:03+00:00","author":{"@id":"https:\/\/iot-ngin.eu\/#\/schema\/person\/dac2bc3c10805a89083986685c5801d1"},"breadcrumb":{"@id":"https:\/\/iot-ngin.eu\/index.php\/2023\/07\/05\/nearby-connections-direct-links-in-off-the-shelf-android-devices\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/iot-ngin.eu\/index.php\/2023\/07\/05\/nearby-connections-direct-links-in-off-the-shelf-android-devices\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/iot-ngin.eu\/index.php\/2023\/07\/05\/nearby-connections-direct-links-in-off-the-shelf-android-devices\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/iot-ngin.eu\/"},{"@type":"ListItem","position":2,"name":"Nearby Connections: Direct Links in Off-the-Shelf Android Devices"}]},{"@type":"Person","@id":"https:\/\/iot-ngin.eu\/#\/schema\/person\/dac2bc3c10805a89083986685c5801d1","name":"Giannis Tsichlas","image":{"@type":"ImageObject","@id":"https:\/\/iot-ngin.eu\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/740c19c414d2291ee24fcbe553ee2609?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/740c19c414d2291ee24fcbe553ee2609?s=96&d=mm&r=g","caption":"Giannis Tsichlas"},"url":"https:\/\/iot-ngin.eu\/index.php\/author\/tsichlas\/"}]}},"cc_featured_image_caption":{"caption_text":"","source_text":"","source_url":""},"_links":{"self":[{"href":"https:\/\/iot-ngin.eu\/index.php\/wp-json\/wp\/v2\/posts\/3331"}],"collection":[{"href":"https:\/\/iot-ngin.eu\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iot-ngin.eu\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iot-ngin.eu\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/iot-ngin.eu\/index.php\/wp-json\/wp\/v2\/comments?post=3331"}],"version-history":[{"count":3,"href":"https:\/\/iot-ngin.eu\/index.php\/wp-json\/wp\/v2\/posts\/3331\/revisions"}],"predecessor-version":[{"id":4068,"href":"https:\/\/iot-ngin.eu\/index.php\/wp-json\/wp\/v2\/posts\/3331\/revisions\/4068"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/iot-ngin.eu\/index.php\/wp-json\/wp\/v2\/media\/4074"}],"wp:attachment":[{"href":"https:\/\/iot-ngin.eu\/index.php\/wp-json\/wp\/v2\/media?parent=3331"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iot-ngin.eu\/index.php\/wp-json\/wp\/v2\/categories?post=3331"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iot-ngin.eu\/index.php\/wp-json\/wp\/v2\/tags?post=3331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}