{"id":1861,"date":"2017-08-01T11:43:25","date_gmt":"2017-08-01T11:43:25","guid":{"rendered":"https:\/\/www.beaconzone.co.uk\/blog\/?p=1861"},"modified":"2017-08-01T11:45:17","modified_gmt":"2017-08-01T11:45:17","slug":"new-bluetooth-le-python-module","status":"publish","type":"post","link":"https:\/\/www.beaconzone.co.uk\/blog\/new-bluetooth-le-python-module\/","title":{"rendered":"New Bluetooth LE Python Module"},"content":{"rendered":"<p>One of the difficulties of developing Beacon applications on (usually Linux) single single board computers (SBCs) is the difficulty in programming Bluetooth LE. We previously <a href=\"https:\/\/www.beaconzone.co.uk\/blog\/detecting-beacons-on-linux-devices\/\" target=\"_blank\" rel=\"noopener\">gave a few pointers<\/a>.<\/p>\n<p>To make things much easier, there&#8217;s a new pure Python module <a href=\"https:\/\/github.com\/TheBubbleworks\/python-hcipy\" target=\"_blank\" rel=\"noopener\">python-hcipy<\/a> written using only the Python standard library for interacting with the Bluetooth HCI.<\/p>\n<blockquote><p>&#8220;The primary benefit of using this module is the lack of having any dependency on: PyBluez Python &amp; C based module, the bluetoothd service or D-Bus; this module just uses the standard Python socket API.&#8221;<\/p><\/blockquote>\n<p>It currently supports BLE Adapter controller and querying, advertising, GATT Client (Central role),GATT Server (Peripheral role) and scanning.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the difficulties of developing Beacon applications on (usually Linux) single single board computers (SBCs) is the difficulty in programming Bluetooth LE. We previously gave a few pointers. To make things much easier, there&#8217;s a new pure Python module python-hcipy written using only the Python standard library for interacting with the Bluetooth HCI. &#8220;The &hellip; <a href=\"https:\/\/www.beaconzone.co.uk\/blog\/new-bluetooth-le-python-module\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;New Bluetooth LE Python Module&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,136],"tags":[],"_links":{"self":[{"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/posts\/1861"}],"collection":[{"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=1861"}],"version-history":[{"count":4,"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/posts\/1861\/revisions"}],"predecessor-version":[{"id":1865,"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/posts\/1861\/revisions\/1865"}],"wp:attachment":[{"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=1861"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=1861"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=1861"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}