{"id":1,"date":"2007-01-09T18:44:47","date_gmt":"2007-01-09T23:44:47","guid":{"rendered":""},"modified":"2007-01-12T20:33:07","modified_gmt":"2007-01-13T01:33:07","slug":"pairing-devices-with-linux-bluez","status":"publish","type":"post","link":"https:\/\/www.summet.com\/blog\/2007\/01\/09\/pairing-devices-with-linux-bluez\/","title":{"rendered":"Forced pairing of devices with Linux BlueZ"},"content":{"rendered":"<p>The largest problem I&#39;ve had with Bluez (the bluetooth stack under Linux) is the pairing process. If everything &quot;just works&quot; that&#39;s great, but when your distribution lets you down and something gets miss-configured, it can be very difficult to get a phone or PDA to pair with the linux box.<\/p>\n<p>Here is how to force the issue:<\/p>\n<p><!--more--><\/p>\n<p><em>passkey-agent &#8211;default \/usr\/bin\/bluez-pin<\/em> (Or replace bluez-pin with your favorite PIN program) (Your bluez-pin agent might be located in a different directory <em>which bluez-pin<\/em> will find it)<br \/>\n<em>hcitool scan<\/em> &#8211; finds the device ID , looks something like: 00:0D:AD:B2:31:2A<br \/>\n<em>hcitool cc <\/em> &#8211; connects to the device<\/p>\n<p><em>hcitool auth<\/em>  &#8211; Requests a passkey\/pin exchange.<\/p>\n<p>Enter the same PIN on the device and in the bluez-pin dialog and the computer and device should now be paired.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The largest problem I&#39;ve had with Bluez (the bluetooth stack under Linux) is the pairing process. If everything &quot;just works&quot; that&#39;s great, but when your distribution lets you down and something gets miss-configured, it can be very difficult to get &hellip; <a href=\"https:\/\/www.summet.com\/blog\/2007\/01\/09\/pairing-devices-with-linux-bluez\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3,2],"tags":[],"class_list":["post-1","post","type-post","status-publish","format-standard","hentry","category-bluetooth","category-linux","category-technology"],"_links":{"self":[{"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/posts\/1","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/comments?post=1"}],"version-history":[{"count":0,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/posts\/1\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/media?parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/categories?post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/tags?post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}