{"id":5978,"date":"2021-01-08T11:19:19","date_gmt":"2021-01-08T11:19:19","guid":{"rendered":"https:\/\/www.beaconzone.co.uk\/blog\/?p=5978"},"modified":"2021-01-08T11:23:20","modified_gmt":"2021-01-08T11:23:20","slug":"cordova-bluetooth-le-plugin-updated","status":"publish","type":"post","link":"https:\/\/www.beaconzone.co.uk\/blog\/cordova-bluetooth-le-plugin-updated\/","title":{"rendered":"Cordova Bluetooth LE Plugin Updated"},"content":{"rendered":"\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/cordova.apache.org\/\" target=\"_blank\">Cordova<\/a>, previously called PhoneGap, is a mobile cross platform development tool that uses web pages and Javascript.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"843\" height=\"667\" src=\"https:\/\/www.beaconzone.co.uk\/blog\/wp-content\/uploads\/2021\/01\/cordovaapparchitecture.png\" alt=\"\" class=\"wp-image-5979\" srcset=\"https:\/\/www.beaconzone.co.uk\/blog\/wp-content\/uploads\/2021\/01\/cordovaapparchitecture.png 843w, https:\/\/www.beaconzone.co.uk\/blog\/wp-content\/uploads\/2021\/01\/cordovaapparchitecture-300x237.png 300w, https:\/\/www.beaconzone.co.uk\/blog\/wp-content\/uploads\/2021\/01\/cordovaapparchitecture-768x608.png 768w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure><\/div>\n\n\n\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/twitter.com\/doncoleman\" target=\"_blank\">Don Coleman<\/a> of <a rel=\"noreferrer noopener\" href=\"https:\/\/chariotsolutions.com\/\" target=\"_blank\">Chariot Solutions<\/a> maintains the open source <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/don\/cordova-plugin-ble-central\" target=\"_blank\">cordova-plugin-ble-central<\/a> custom plugin (blue area in above diagram) that provides a <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/don\/cordova-plugin-ble-central#api\" target=\"_blank\">Bluetooth API<\/a> for scanning, connecting to service characteristics, reading and writing values and characteristic change notification. <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/don\/cordova-plugin-ble-central\/tree\/master\/examples\" target=\"_blank\">Examples<\/a> are provided.<\/p>\n\n\n\n<p>The recent updates provide support for new permissions and API changes in Android 10+. It&#8217;s great to see the plugin updated because the problem with many tools and libraries is that they rarely keep up to date with changes in the underlying iOS and Android APIs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cordova, previously called PhoneGap, is a mobile cross platform development tool that uses web pages and Javascript. Don Coleman of Chariot Solutions maintains the open source cordova-plugin-ble-central custom plugin (blue area in above diagram) that provides a Bluetooth API for scanning, connecting to service characteristics, reading and writing values and characteristic change notification. Examples are &hellip; <a href=\"https:\/\/www.beaconzone.co.uk\/blog\/cordova-bluetooth-le-plugin-updated\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Cordova Bluetooth LE Plugin Updated&#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":[28,283,27,81],"tags":[],"_links":{"self":[{"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/posts\/5978"}],"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=5978"}],"version-history":[{"count":4,"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/posts\/5978\/revisions"}],"predecessor-version":[{"id":5983,"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/posts\/5978\/revisions\/5983"}],"wp:attachment":[{"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=5978"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=5978"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=5978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}