{"id":12,"date":"2012-07-20T20:56:00","date_gmt":"2012-07-20T20:56:00","guid":{"rendered":"http:\/\/178.62.14.192\/?p=12"},"modified":"2012-07-20T20:56:00","modified_gmt":"2012-07-20T20:56:00","slug":"bluetooth-on-the-pi","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=12","title":{"rendered":"Bluetooth on the Pi"},"content":{"rendered":"<p><a style=\"clear: left; float: left; margin-bottom: 1em; margin-right: 1em;\" href=\"https:\/\/i0.wp.com\/3.bp.blogspot.com\/-2EGJKRM1M_8\/UAm8d2PMVOI\/AAAAAAAAAVI\/nyTaXniU9vI\/s1600\/bluetooth-sphere-logo.gif\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignleft\" src=\"https:\/\/i0.wp.com\/3.bp.blogspot.com\/-2EGJKRM1M_8\/UAm8d2PMVOI\/AAAAAAAAAVI\/nyTaXniU9vI\/s200\/bluetooth-sphere-logo.gif?resize=178%2C200\" alt=\"\" width=\"178\" height=\"200\" border=\"0\" \/><\/a><\/p>\n<p>Here we enter the murky world known colloquially, by me, as &#8220;Oh, Bluetooth, why do you mock me?&#8221;<br \/>\nThis has been the biggest pain in the butt to get working, but hey, no-one ever said that the RPi was going to be easy.<\/p>\n<p>Nice logo, isn&#8217;t it. Took me all of 30 seconds to search for it on Google images.<\/p>\n<div style=\"clear: both;\"><\/div>\n<h2>Installing the Bluetooth stack<\/h2>\n<p>Let&#8217;s remember, folks,\u00a0<a href=\"http:\/\/www.bluez.org\/\">Bluez is the official bluetooth stack for Linux<\/a>! So it should work on everything, yes? Yeah, right. Here we go with the steps&#8230;<\/p>\n<ol>\n<li>Start the Pi, login as root.<\/li>\n<li>apt-get install bluetooth bluez-utils blueman<\/li>\n<li>From left to right, that&#8217;s:\n<ol>\n<li>The stack. (A very large thing indeed)<\/li>\n<li>Command line utils. (A very useful thing indeed)<\/li>\n<li>X-windows interface. (A very slow thing indeed).<\/li>\n<\/ol>\n<\/li>\n<li>Go and make yourself a coffee. This takes ages, especially over wi-fi. In fact, you could probably go and cook dinner.<\/li>\n<\/ol>\n<h2>Scanning and connecting<\/h2>\n<div class=\"separator\" style=\"clear: both; text-align: center;\"><a style=\"clear: left; float: left; margin-bottom: 1em; margin-right: 1em;\" href=\"https:\/\/i0.wp.com\/2.bp.blogspot.com\/-vElVOGGwUpw\/UAgCArKD2MI\/AAAAAAAAATQ\/C29zU7H2ui8\/s1600\/rii_wireless_mini_bluetooth_keyboard_with_touchpad_2.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/2.bp.blogspot.com\/-vElVOGGwUpw\/UAgCArKD2MI\/AAAAAAAAATQ\/C29zU7H2ui8\/s200\/rii_wireless_mini_bluetooth_keyboard_with_touchpad_2.jpg?resize=200%2C150\" alt=\"\" width=\"200\" height=\"150\" border=\"0\" \/><\/a><\/div>\n<p>Onto the good bit. Getting your bluetooth device connected. In my case, I have a Rii bluetooth keyboard\/touchpad.<\/p>\n<p>My one came with a nano USB bluetooth dongle. In other words, it&#8217;s very small. Which is good.<\/p>\n<div style=\"clear: both;\"><\/div>\n<ol>\n<li>Okay, so you have the stack installed.<\/li>\n<li>Turn your Rii on and put it in discoverable mode.<\/li>\n<li>On your Pi, type &#8220;hcitool scan&#8221; to see if you can find your device.<\/li>\n<li>You should get a list of devices back in your area. The Rii comes up as &#8220;Macro Keyboard&#8221;. A stunning name, to be sure.<\/li>\n<li>Make a careful note of the string of numbers, colons and letters.<\/li>\n<li>Do the following to create a connection script:\n<ol>\n<li>cd ~<\/li>\n<li>mkdir bin<\/li>\n<li>cd bin<\/li>\n<li>Create a file called auto_connect_bluetooth.sh and open it in your editor. Add the following lines. Put the string of numbers, colons and letters that you noted down before instead of XX:XX etc.<br \/>\n<span style=\"background-color: white;\">#!\/bin\/sh<\/span><span style=\"background-color: white;\">\/usr\/bin\/bluez-test-device trusted XX:XX:XX:XX:XX:XX yes<\/span><span style=\"background-color: white;\">\/usr\/bin\/bluez-test-input connect<\/span>\u00a0XX:XX:XX:XX:XX:XX<\/li>\n<li>Save the file and exit from the editor.<\/li>\n<\/ol>\n<\/li>\n<li><span style=\"background-color: white;\">chmod +x auto_connect_bluetooth.sh<\/span><\/li>\n<li><span style=\"background-color: white;\">(This makes the file executable so you can do the next bit).<\/span><\/li>\n<li>Open \/etc\/rc.local in the editor. Add the following command before the exit command at the end of the file.\n<ol>\n<li>sudo -u root \/root\/bin\/auto_connect_bluetooth.sh<\/li>\n<\/ol>\n<\/li>\n<li>This should run your connection script before the login prompt comes up.<\/li>\n<li>Before you do a reboot, make sure your bluetooth device is still in discoverable mode.<\/li>\n<li>Reboot and see if your device connects!<\/li>\n<li>Well&#8230; it doesn&#8217;t.<\/li>\n<li>You need to go into X windows (startx) and use the blueman-manager applet to pair up the device, trust it and connect to the input service.<\/li>\n<li>Once you&#8217;ve done that, and reboot, and it should connect this time.<\/li>\n<\/ol>\n<div>If you find those last few steps unfollowable, comment on this post and I&#8217;ll try and flesh it out a bit.<\/div>\n<div><\/div>\n<div class=\"blogger-post-footer\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogger.googleusercontent.com\/tracker\/3715640409195873782-2982176523846423225?l=raspberrypipod.blogspot.com\" alt=\"\" width=\"1\" height=\"1\" \/><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Here we enter the murky world known colloquially, by me, as &#8220;Oh, Bluetooth, why do you mock me?&#8221; This has been the biggest pain in the butt to get working, but hey, no-one ever said that the RPi was going&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=12\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[42,51],"tags":[],"class_list":["post-12","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi","category-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Bluetooth on the Pi - Raspberry Pi Pod<\/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:\/\/www.recantha.co.uk\/blog\/?p=12\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bluetooth on the Pi - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"Here we enter the murky world known colloquially, by me, as &#8220;Oh, Bluetooth, why do you mock me?&#8221; This has been the biggest pain in the butt to get working, but hey, no-one ever said that the RPi was going&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=12\" \/>\n<meta property=\"og:site_name\" content=\"Raspberry Pi Pod\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/recantha\/\" \/>\n<meta property=\"article:published_time\" content=\"2012-07-20T20:56:00+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/3.bp.blogspot.com\/-2EGJKRM1M_8\/UAm8d2PMVOI\/AAAAAAAAAVI\/nyTaXniU9vI\/s200\/bluetooth-sphere-logo.gif\" \/>\n<meta name=\"author\" content=\"Michael Horne\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@recantha\" \/>\n<meta name=\"twitter:site\" content=\"@recantha\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Horne\" \/>\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\":\"Article\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=12#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=12\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Bluetooth on the Pi\",\"datePublished\":\"2012-07-20T20:56:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=12\"},\"wordCount\":490,\"commentCount\":15,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=12#primaryimage\"},\"thumbnailUrl\":\"http:\/\/3.bp.blogspot.com\/-2EGJKRM1M_8\/UAm8d2PMVOI\/AAAAAAAAAVI\/nyTaXniU9vI\/s200\/bluetooth-sphere-logo.gif\",\"articleSection\":[\"Raspberry Pi Foundation\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=12#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=12\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=12\",\"name\":\"Bluetooth on the Pi - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=12#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=12#primaryimage\"},\"thumbnailUrl\":\"http:\/\/3.bp.blogspot.com\/-2EGJKRM1M_8\/UAm8d2PMVOI\/AAAAAAAAAVI\/nyTaXniU9vI\/s200\/bluetooth-sphere-logo.gif\",\"datePublished\":\"2012-07-20T20:56:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=12#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=12\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=12#primaryimage\",\"url\":\"http:\/\/3.bp.blogspot.com\/-2EGJKRM1M_8\/UAm8d2PMVOI\/AAAAAAAAAVI\/nyTaXniU9vI\/s200\/bluetooth-sphere-logo.gif\",\"contentUrl\":\"http:\/\/3.bp.blogspot.com\/-2EGJKRM1M_8\/UAm8d2PMVOI\/AAAAAAAAAVI\/nyTaXniU9vI\/s200\/bluetooth-sphere-logo.gif\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=12#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bluetooth on the Pi\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/\",\"name\":\"Raspberry Pi Pod\",\"description\":\"Experiences with the Raspberry Pi micro computer and microcontroller\",\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.recantha.co.uk\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\",\"name\":\"Raspberry Pi Pod\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"width\":800,\"height\":337,\"caption\":\"Raspberry Pi Pod\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/recantha\/\",\"https:\/\/x.com\/recantha\",\"https:\/\/www.linkedin.com\/in\/recantha\/\",\"https:\/\/www.youtube.com\/channel\/UCK4F9blabxzmk8Inzhs8tpg\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\",\"name\":\"Michael Horne\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"caption\":\"Michael Horne\"},\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Bluetooth on the Pi - Raspberry Pi Pod","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:\/\/www.recantha.co.uk\/blog\/?p=12","og_locale":"en_US","og_type":"article","og_title":"Bluetooth on the Pi - Raspberry Pi Pod","og_description":"Here we enter the murky world known colloquially, by me, as &#8220;Oh, Bluetooth, why do you mock me?&#8221; This has been the biggest pain in the butt to get working, but hey, no-one ever said that the RPi was going&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=12","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2012-07-20T20:56:00+00:00","og_image":[{"url":"http:\/\/3.bp.blogspot.com\/-2EGJKRM1M_8\/UAm8d2PMVOI\/AAAAAAAAAVI\/nyTaXniU9vI\/s200\/bluetooth-sphere-logo.gif","type":"","width":"","height":""}],"author":"Michael Horne","twitter_card":"summary_large_image","twitter_creator":"@recantha","twitter_site":"@recantha","twitter_misc":{"Written by":"Michael Horne","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=12#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=12"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Bluetooth on the Pi","datePublished":"2012-07-20T20:56:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=12"},"wordCount":490,"commentCount":15,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=12#primaryimage"},"thumbnailUrl":"http:\/\/3.bp.blogspot.com\/-2EGJKRM1M_8\/UAm8d2PMVOI\/AAAAAAAAAVI\/nyTaXniU9vI\/s200\/bluetooth-sphere-logo.gif","articleSection":["Raspberry Pi Foundation","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=12#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=12","url":"https:\/\/www.recantha.co.uk\/blog\/?p=12","name":"Bluetooth on the Pi - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=12#primaryimage"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=12#primaryimage"},"thumbnailUrl":"http:\/\/3.bp.blogspot.com\/-2EGJKRM1M_8\/UAm8d2PMVOI\/AAAAAAAAAVI\/nyTaXniU9vI\/s200\/bluetooth-sphere-logo.gif","datePublished":"2012-07-20T20:56:00+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=12#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=12"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=12#primaryimage","url":"http:\/\/3.bp.blogspot.com\/-2EGJKRM1M_8\/UAm8d2PMVOI\/AAAAAAAAAVI\/nyTaXniU9vI\/s200\/bluetooth-sphere-logo.gif","contentUrl":"http:\/\/3.bp.blogspot.com\/-2EGJKRM1M_8\/UAm8d2PMVOI\/AAAAAAAAAVI\/nyTaXniU9vI\/s200\/bluetooth-sphere-logo.gif"},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=12#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Bluetooth on the Pi"}]},{"@type":"WebSite","@id":"https:\/\/www.recantha.co.uk\/blog\/#website","url":"https:\/\/www.recantha.co.uk\/blog\/","name":"Raspberry Pi Pod","description":"Experiences with the Raspberry Pi micro computer and microcontroller","publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.recantha.co.uk\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.recantha.co.uk\/blog\/#organization","name":"Raspberry Pi Pod","url":"https:\/\/www.recantha.co.uk\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","width":800,"height":337,"caption":"Raspberry Pi Pod"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/recantha\/","https:\/\/x.com\/recantha","https:\/\/www.linkedin.com\/in\/recantha\/","https:\/\/www.youtube.com\/channel\/UCK4F9blabxzmk8Inzhs8tpg"]},{"@type":"Person","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263","name":"Michael Horne","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","caption":"Michael Horne"},"url":"https:\/\/www.recantha.co.uk\/blog\/?author=1"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2RsaV-c","jetpack-related-posts":[{"id":23,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=23","url_meta":{"origin":12,"position":0},"title":"Bluetooth connections and pty\/tty &#8211; HELP!!!","author":"Michael Horne","date":"15 August 2012","format":false,"excerpt":">Hopefully someone's reading this who can help me. I've posted it to the raspberrypi.org forum as well as I'm stumped!I've got a very specific kind of problem to do with a Bluetooth keyboard.Now, I've had the keyboard working fine before, and I believe I have it working now... except...Okay, here's\u2026","rel":"","context":"In &quot;Raspberry Pi Foundation&quot;","block_context":{"text":"Raspberry Pi Foundation","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=42"},"img":{"alt_text":"","src":"https:\/\/blogger.googleusercontent.com\/tracker\/3715640409195873782-5273917029246312014?l=raspberrypipod.blogspot.com","width":350,"height":200},"classes":[]},{"id":14402,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=14402","url_meta":{"origin":12,"position":1},"title":"Run a network stack over Bluetooth on the Raspberry Pi 3","author":"Michael Horne","date":"24 March 2016","format":false,"excerpt":"By now, of course, everyone knows that the new Raspberry Pi 3 includes Bluetooth capability. Andrew Mulholland has made a video that shows you how to run a full network stack via Bluetooth using his Mac. If anyone can get this working on Windows as well, let me know! See\u2026","rel":"","context":"In &quot;Networking&quot;","block_context":{"text":"Networking","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=33"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/bluetooth.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/bluetooth.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/bluetooth.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":2363,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=2363","url_meta":{"origin":12,"position":2},"title":"Setting up a Bluetooth device on the #RaspberryPi","author":"Michael Horne","date":"21 February 2013","format":false,"excerpt":"C Theroux has done an excellent guide to installing the bluetooth stack on the Pi, then pairing with a device and setting it as trusted. L'Antre du Tryphon \u00bb Blog Archive \u00bb A step by step guide to setup a Bluetooth keyboard and mouse on the Raspberry PI. There are\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=51"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":16516,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=16516","url_meta":{"origin":12,"position":3},"title":"Get your Raspberry Pi Zero W connected to a wifi network and Bluetooth devices","author":"Michael Horne","date":"1 March 2017","format":false,"excerpt":"Arron over at Pi Borg has done a great guide for connecting to a wifi network (using both GUI and console) and using Bluetooth devices (GUI only) with your new Raspberry Pi Zero W. It is, of course, exactly the same procedure as for the Pi 3 but it's still\u2026","rel":"","context":"In &quot;Bluetooth&quot;","block_context":{"text":"Bluetooth","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=82"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/03\/pi-zero-wifi-phone-bluetooth-3.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/03\/pi-zero-wifi-phone-bluetooth-3.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/03\/pi-zero-wifi-phone-bluetooth-3.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/03\/pi-zero-wifi-phone-bluetooth-3.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":14544,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=14544","url_meta":{"origin":12,"position":4},"title":"New add-on board brings wifi and Bluetooth to the Raspberry Pi Zero","author":"Michael Horne","date":"12 April 2016","format":false,"excerpt":"RedBear (who previously ran a Kickstarter for a wifi-enabled Arduino-type board) have just launched their latest crowdfunding campaign on Kickstarter. This time, it is for an IoT add-on board for the Raspberry Pi that adds 802.11n wifi and Bluetooth 4.1 (Dual Mode). As you can see from the pictures above,\u2026","rel":"","context":"In &quot;Bluetooth&quot;","block_context":{"text":"Bluetooth","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=82"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/04\/redbear-board.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/04\/redbear-board.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/04\/redbear-board.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":3999,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=3999","url_meta":{"origin":12,"position":5},"title":"Emulate a Bluetooth keyboard with the #RaspberryPi","author":"Michael Horne","date":"11 May 2013","format":false,"excerpt":"Liam Fraser from Linux User & Developer magazine has written a tutorial on how to make a Raspberry Pi pretend that it's a bluetooth keyboard.\u00a0Read more here","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=51"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12"}],"version-history":[{"count":0,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}