{"_id":"@polymer/platinum-bluetooth","_rev":"28-167496668b05dffb0deabfe8b705f441","name":"@polymer/platinum-bluetooth","dist-tags":{"latest":"0.0.3","preview":"2.1.2-pre.3","next":"3.0.0-pre.6"},"versions":{"0.0.1":{"name":"@polymer/platinum-bluetooth","version":"0.0.1","keywords":["bluetooth"],"license":"BSD-3-Clause","_id":"@polymer/platinum-bluetooth@0.0.1","maintainers":[{"name":"polymer","email":"admin@polymer-project.org"}],"contributors":[{"name":"The Polymer Authors"}],"dist":{"shasum":"db8702872d3d82c369a8eeb630865abed9dcda68","tarball":"https://registry.npmjs.org/@polymer/platinum-bluetooth/-/platinum-bluetooth-0.0.1.tgz","integrity":"sha512-7zlpIaRvsabnWRD5LLN0DtQqXWJgz12oC64cVOYS1avUTu1Gh2J+LN5IdBdCThxNehl5gvuSB63LZIkRdyCe3Q==","signatures":[{"sig":"MEUCIQDkMa2yJrb1IsdGqRFzQI4v/LBXfgf/YiXibExykAd5lwIgGiQTAtJHSq+s7hcJdtpbrz5nGF6GbZ63Of/BX/Llv3Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"db8702872d3d82c369a8eeb630865abed9dcda68","gitHead":"5baaf22b7528014054c5ce4767782d4829179d91","scripts":{},"_npmUser":{"name":"polymer","email":"admin@polymer-project.org"},"_npmVersion":"3.3.6","description":"A set of Polymer elements to discover and communicate with nearby Bluetooth devices","directories":{},"_nodeVersion":"5.0.0","dependencies":{"@polymer/polymer":"^1.2.5-npm-test.2","@polymer/promise-polyfill":"^1.0.0"},"devDependencies":{"@polymer/paper-item":"^0.0.1","web-component-tester":"^4.0.0","@polymer/paper-button":"^0.0.1","@polymer/paper-styles":"^0.0.1","@polymer/marked-element":"^0.0.1","@polymer/paper-material":"^0.0.1","@polymer/paper-progress":"^0.0.1","@polymer/iron-component-page":"^0.0.1"},"_npmOperationalInternal":{"tmp":"tmp/platinum-bluetooth-0.0.1.tgz_1454388489250_0.4411251686979085","host":"packages-5-east.internal.npmjs.com"}},"0.0.3":{"name":"@polymer/platinum-bluetooth","version":"0.0.3","keywords":["bluetooth"],"license":"BSD-3-Clause","_id":"@polymer/platinum-bluetooth@0.0.3","maintainers":[{"name":"polymer","email":"admin@polymer-project.org"}],"contributors":[{"name":"The Polymer Authors"}],"dist":{"shasum":"d1eb71c9b879ed82e75c17acaf7ca8b5b15da644","tarball":"https://registry.npmjs.org/@polymer/platinum-bluetooth/-/platinum-bluetooth-0.0.3.tgz","integrity":"sha512-+bjXKCSomQ8IOCqwdg37MGlYLGcr99kA73WgUoA70DiAC/4dOgh94s+qUYxKV11neblhGjxA+9nH1jQKEfoqjw==","signatures":[{"sig":"MEUCIQDz124Txy3OBk5Rffn3sA3xm8OWFTTvMczyX0646dfl2AIgVjKzqOD/LP0PgJ8286cUy3nUlHY3JGtqryA08vLl3Yw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2W2ACRA9TVsSAnZWagAA7soP/RRK8luWAcVoHpLeO7hD\n4viIBGkUxgeHbgWIhJsAeu+Xxg0wLqcxezCMTobsgj8FCTU36Qm4zvzBQvRj\ncOJFuF4RTsl2GSxvA/kmJHINNqB3SNfG993WsvoPUHtDhkgo1XyspKCQqGOu\npWG6nCoIdRUM41wZYUjFK0lnsE1kg2XkfNAJLeDVE3rNma31dWF4p4kC0jBw\n4l61sgE/I+SV207oT8iaVI1ULngxoj4ZvnYbyF5+D/5h0dVJICkYpo0FDFJy\nGH3m8XUSbq6L0UPyc6+Rwpv0fV3ySyX9aDfAM5QpTlSB85jkIcq07oIkYDea\nCw2OUuUWrLW0cuaTwQgX/cVr61o0SYgJEYtPuAji+K4GOG5bbE+8CVDtHhxJ\nxRErtdezjcCGblLdU5TNiTbmI1rvIM4lo95XM/fp4GXXZ7bAQDsvjbfHHXHD\nkL+j887Sq+6/V4mvxWfvTBmCq5IcaFbwOf8HuDSFf+hr6op4EZlXjY8dQoec\nTp6Rss/YdIYeAM/3AMJWpBwzZzIte6U6sZdCTET3lzL1VCjSgk6jgKtKFVfN\nzV6Ms4pIG8XgqOQR3EtX6+nKLWSGRIoFf2tqAoIHyRDej6QZwWJxM8xJH+Pz\nXFfATRVAQnmBjyTVfi3d2Q79llBJmp6rqDmyXmnUKYIOgo5NtMD1/HQnN4bp\nNuGD\r\n=M5cR\r\n-----END PGP SIGNATURE-----\r\n"},"_from":".","_shasum":"d1eb71c9b879ed82e75c17acaf7ca8b5b15da644","gitHead":"5b08dcbd8e77a4cdd2d6cef8ace0b3930bb88fc2","scripts":{},"_npmUser":{"name":"polymer","email":"admin@polymer-project.org"},"_npmVersion":"3.3.6","description":"A set of Polymer elements to discover and communicate with nearby Bluetooth devices","directories":{},"_nodeVersion":"5.0.0","dependencies":{"@polymer/polymer":"^1.2.5-npm-test.2","@polymer/promise-polyfill":"^1.0.0-npm-test.2"},"devDependencies":{"@polymer/paper-item":"^0.0.3","web-component-tester":"^4.0.0","@polymer/paper-button":"^0.0.3","@polymer/paper-styles":"^0.0.3","@polymer/marked-element":"^0.0.3","@polymer/paper-material":"^0.0.3","@polymer/paper-progress":"^0.0.3","@polymer/iron-component-page":"^0.0.3"},"_npmOperationalInternal":{"tmp":"tmp/platinum-bluetooth-0.0.3.tgz_1454459444107_0.5446162018924952","host":"packages-5-east.internal.npmjs.com"}},"0.0.4":{"name":"@polymer/platinum-bluetooth","version":"0.0.4","keywords":["bluetooth"],"license":"SEE LICENSE IN http://polymer.github.io/LICENSE.txt","_id":"@polymer/platinum-bluetooth@0.0.4","maintainers":[{"name":"polymer","email":"admin@polymer-project.org"}],"contributors":[{"name":"The Polymer Authors"}],"homepage":"https://github.com/PolymerElements/platinum-bluetooth/","dist":{"shasum":"71c5c5c26f5a93e539a63f871bf2289154b8711f","tarball":"https://registry.npmjs.org/@polymer/platinum-bluetooth/-/platinum-bluetooth-0.0.4.tgz","integrity":"sha512-smp/3FhVZNc2s+tGnSesZ+LBOh5k331ycqFj14njYnEgWLDjWLNtnKF23tBAtpAcIqC2zrZp+kJh7VAxObvBFw==","signatures":[{"sig":"MEUCIQCXxoRwyba2gtgea6mODnKg84U7Dn4G4XC5kP0d9IMTxQIgc8A2Ux7EmovKlZA7y42BkdlDE47nydjtYVdZBCRtDk4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"flat":true,"main":"platinum-bluetooth-elements.html","_from":".","_shasum":"71c5c5c26f5a93e539a63f871bf2289154b8711f","scripts":{},"_npmUser":{"name":"polymer","email":"admin@polymer-project.org"},"_npmVersion":"3.10.3","description":"A set of Polymer elements to discover and communicate with nearby Bluetooth devices","directories":{},"_nodeVersion":"6.4.0","dependencies":{"@polymer/polymer":"gloo","@polymer/promise-polyfill":"gloo"},"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/platinum-bluetooth-0.0.4.tgz_1483687958974_0.14532038639299572","host":"packages-12-west.internal.npmjs.com"}},"2.1.2-pre.1":{"name":"@polymer/platinum-bluetooth","version":"2.1.2-pre.1","keywords":["bluetooth"],"license":"SEE LICENSE IN http://polymer.github.io/LICENSE.txt","_id":"@polymer/platinum-bluetooth@2.1.2-pre.1","maintainers":[{"name":"polymer","email":"admin@polymer-project.org"}],"contributors":[{"name":"The Polymer Authors"}],"homepage":"https://github.com/PolymerElements/platinum-bluetooth/","dist":{"shasum":"e6fce5469119a797af3806ede97faa6d5a804ef3","tarball":"https://registry.npmjs.org/@polymer/platinum-bluetooth/-/platinum-bluetooth-2.1.2-pre.1.tgz","integrity":"sha512-fMELn1UyXC74e0z2KjbQZPq7QoOqJZbcvWsHBEoaH9JEJ4NJz3hJZ/WCCvhhW5Rbuk2tPqMqRvoLDpkgftfb2g==","signatures":[{"sig":"MEQCIB6Lq0hKlcqMKaHzKbBEykHz+OhrftKuVViT6KAa+D4zAiAZP2uXkTkGHIh7MqLusXiwYVFCJ77B7DTuG3XBENPhgQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"flat":true,"main":"platinum-bluetooth-elements.html","_from":".","_shasum":"e6fce5469119a797af3806ede97faa6d5a804ef3","scripts":{},"_npmUser":{"name":"polymer","email":"admin@polymer-project.org"},"_npmVersion":"3.10.3","description":"A set of Polymer elements to discover and communicate with nearby Bluetooth devices","directories":{},"_nodeVersion":"6.4.0","dependencies":{"@polymer/polymer":"gloo","@polymer/promise-polyfill":"gloo"},"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/platinum-bluetooth-2.1.2-pre.1.tgz_1484789672059_0.21715510822832584","host":"packages-18-east.internal.npmjs.com"}},"2.1.2-pre.2":{"name":"@polymer/platinum-bluetooth","version":"2.1.2-pre.2","keywords":["bluetooth"],"license":"SEE LICENSE IN http://polymer.github.io/LICENSE.txt","_id":"@polymer/platinum-bluetooth@2.1.2-pre.2","maintainers":[{"name":"polymer","email":"admin@polymer-project.org"}],"contributors":[{"name":"The Polymer Authors"}],"homepage":"https://github.com/PolymerElements/platinum-bluetooth/","dist":{"shasum":"ca841c7cdd63fbc8ec3d8bf2f600ee74ccbec3b9","tarball":"https://registry.npmjs.org/@polymer/platinum-bluetooth/-/platinum-bluetooth-2.1.2-pre.2.tgz","integrity":"sha512-mirqHggNPvh1JLftCVh813WG33r5LQ80dP7Iw0njpDUszEvruLgOwZoVWZEhppN8GUgP556OM9+JZlI6o136vQ==","signatures":[{"sig":"MEYCIQDZWte2bYZ7dfUNVU+VdhdPXbHIP+0XaKECJwGBdCJfBAIhANqJ2iy/rGqrG9IZLq5rweGV2gz3bdFQlMzv5R+ngQyS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"flat":true,"main":"platinum-bluetooth-elements.html","_from":".","_shasum":"ca841c7cdd63fbc8ec3d8bf2f600ee74ccbec3b9","scripts":{},"_npmUser":{"name":"polymer","email":"admin@polymer-project.org"},"_npmVersion":"3.10.3","description":"A set of Polymer elements to discover and communicate with nearby Bluetooth devices","directories":{},"_nodeVersion":"6.4.0","dependencies":{"@polymer/polymer":"gloo","@polymer/promise-polyfill":"gloo"},"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/platinum-bluetooth-2.1.2-pre.2.tgz_1484954804801_0.6521573611535132","host":"packages-18-east.internal.npmjs.com"}},"2.1.2-pre.3":{"name":"@polymer/platinum-bluetooth","version":"2.1.2-pre.3","keywords":["bluetooth"],"license":"SEE LICENSE IN http://polymer.github.io/LICENSE.txt","_id":"@polymer/platinum-bluetooth@2.1.2-pre.3","maintainers":[{"name":"polymer","email":"admin@polymer-project.org"}],"contributors":[{"name":"The Polymer Authors"}],"homepage":"https://github.com/PolymerElements/platinum-bluetooth/","dist":{"shasum":"64dd44ace03dff5f30643329afe4192a89a005a8","tarball":"https://registry.npmjs.org/@polymer/platinum-bluetooth/-/platinum-bluetooth-2.1.2-pre.3.tgz","integrity":"sha512-jccAMReVN2h+ZZDRytXvxGH10d2fr6Y41IBdt2xyeLTqkNd2cuMrdbzda1SGrlfvMA+Y33lWyhMtPpTk/TJqUQ==","signatures":[{"sig":"MEYCIQDImxCWRHDNjndUtG+lU7urOcgXfhFwSDBeI4dXy0sTnQIhAMSWJD4y0faEivRbGHnlfokz8eJa4m4bcy0GLVcGOvKL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"flat":true,"main":"platinum-bluetooth-elements.html","_from":".","_shasum":"64dd44ace03dff5f30643329afe4192a89a005a8","scripts":{},"_npmUser":{"name":"polymer","email":"admin@polymer-project.org"},"_npmVersion":"3.10.3","description":"A set of Polymer elements to discover and communicate with nearby Bluetooth devices","directories":{},"_nodeVersion":"6.4.0","dependencies":{"@polymer/polymer":"preview","@polymer/promise-polyfill":"gloo"},"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/platinum-bluetooth-2.1.2-pre.3.tgz_1485217397016_0.5050262860022485","host":"packages-18-east.internal.npmjs.com"}},"3.0.0-pre.1":{"name":"@polymer/platinum-bluetooth","version":"3.0.0-pre.1","keywords":["bluetooth"],"license":"http://polymer.github.io/LICENSE.txt","_id":"@polymer/platinum-bluetooth@3.0.0-pre.1","maintainers":[{"name":"polymer","email":"admin@polymer-project.org"}],"contributors":[{"name":"The Polymer Authors"}],"homepage":"https://github.com/PolymerElements/platinum-bluetooth/","dist":{"shasum":"d1bea32c604265bfcfac8484186734f6ca3cce98","tarball":"https://registry.npmjs.org/@polymer/platinum-bluetooth/-/platinum-bluetooth-3.0.0-pre.1.tgz","integrity":"sha512-bbxxBzUKwIcRTWxpZa4flJY2utA6sXznU1e98J54Ko3t9m41U63rRXHtrxrwsPzH2y507f6I0h5SMx/ys6clSA==","signatures":[{"sig":"MEYCIQCmZvdn+loZJwSWhbNnLRxhu6CMBxZ8KzDSELt6F+SgKwIhANGM24+izflk6hzqwXVsI+ZZC51ZGnsPakpCN5aFRuYg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"flat":true,"main":"platinum-bluetooth-elements.html","gitHead":"3818547120bd6ee558cbf003d57242c3bb80cead","_npmUser":{"name":"polymer","email":"admin@polymer-project.org"},"_npmVersion":"5.3.0","description":"A set of Polymer elements to discover and communicate with nearby Bluetooth devices","directories":{},"_nodeVersion":"8.2.1","dependencies":{"@polymer/polymer":"^3.0.0-pre.1","@polymer/promise-polyfill":"^3.0.0-pre.1"},"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/platinum-bluetooth-3.0.0-pre.1.tgz_1503386760325_0.6656431606970727","host":"s3://npm-registry-packages"}},"3.0.0-pre.2":{"name":"@polymer/platinum-bluetooth","version":"3.0.0-pre.2","keywords":["bluetooth"],"license":"BSD-3-Clause","_id":"@polymer/platinum-bluetooth@3.0.0-pre.2","maintainers":[{"name":"polymer","email":"admin@polymer-project.org"}],"contributors":[{"name":"The Polymer Authors"}],"homepage":"https://github.com/PolymerElements/platinum-bluetooth/","dist":{"shasum":"4763b3e9caa174208d9086611027af66b34436ff","tarball":"https://registry.npmjs.org/@polymer/platinum-bluetooth/-/platinum-bluetooth-3.0.0-pre.2.tgz","integrity":"sha512-UeDixDZ66a0ZroVsu0kcfrjLVMpCbReGagLHDbAv216HW39HhnQpic4dnydMG+XojOh2D0pkZav7/hYVaxuGzA==","signatures":[{"sig":"MEUCIFudyZnOPwytaDhblAiUxEIW+MNs87VyF1aOecpB12PMAiEAyGcnQ46RoLtif0CjVjnNCk8mHtPEpnj4fmEZdbBoVkE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"flat":true,"main":"platinum-bluetooth-elements.html","gitHead":"3818547120bd6ee558cbf003d57242c3bb80cead","_npmUser":{"name":"polymer","email":"admin@polymer-project.org"},"_npmVersion":"5.5.1","description":"A set of Polymer elements to discover and communicate with nearby Bluetooth devices","directories":{},"resolutions":{"samsam":"1.1.3","inherits":"2.0.3","type-detect":"1.0.0","supports-color":"3.1.2"},"_nodeVersion":"9.2.0","dependencies":{"@polymer/polymer":"^3.0.0-pre.1","@polymer/promise-polyfill":"^3.0.0-pre.1"},"devDependencies":{"wct-browser-legacy":"0.0.1-pre.11","@polymer/paper-item":"^3.0.0-pre.1","@polymer/paper-button":"^3.0.0-pre.1","@polymer/paper-styles":"^3.0.0-pre.1","@polymer/marked-element":"^3.0.0-pre.1","@polymer/paper-material":"^3.0.0-pre.1","@polymer/paper-progress":"^3.0.0-pre.1","@polymer/iron-demo-helpers":"^3.0.0-pre.1","@polymer/iron-component-page":"^3.0.0-pre.1"},"_npmOperationalInternal":{"tmp":"tmp/platinum-bluetooth-3.0.0-pre.2.tgz_1515721319932_0.8783057460095733","host":"s3://npm-registry-packages"}},"3.0.0-pre.4":{"name":"@polymer/platinum-bluetooth","version":"3.0.0-pre.4","keywords":["bluetooth"],"license":"BSD-3-Clause","_id":"@polymer/platinum-bluetooth@3.0.0-pre.4","maintainers":[{"name":"polymer","email":"admin@polymer-project.org"}],"contributors":[{"name":"The Polymer Authors"}],"homepage":"https://github.com/PolymerElements/platinum-bluetooth/","dist":{"shasum":"426dc5e514754627f677f0932a1c4dd6a6e8f57c","tarball":"https://registry.npmjs.org/@polymer/platinum-bluetooth/-/platinum-bluetooth-3.0.0-pre.4.tgz","integrity":"sha512-St5hw4Jx2kW3Ymx6nlLXTVK2EEqyIuXbHhohGvHwDx98SoWT2AG8niqxlJ3clqmwI4p7/aadw/kywNdA2V5LCw==","signatures":[{"sig":"MEYCIQD5UDi/FOfUseVm60BAWAfRlh30G0CgU1f6jKflPUPtqAIhAPfmdCk3pUyLfRdTLU4f5JJUBfwUbaNFnjhAe0OVSP8W","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"flat":true,"main":"platinum-bluetooth-elements.html","gitHead":"a02194fd0fe8f49387d3eef90c1cd564218af5ad","_npmUser":{"name":"polymer","email":"admin@polymer-project.org"},"_npmVersion":"5.5.1","description":"A set of Polymer elements to discover and communicate with nearby Bluetooth devices","directories":{},"resolutions":{"samsam":"1.1.3","inherits":"2.0.3","type-detect":"1.0.0","supports-color":"3.1.2"},"_nodeVersion":"9.2.0","dependencies":{"@polymer/polymer":"^3.0.0-pre.4","@polymer/promise-polyfill":"^3.0.0-pre.4"},"devDependencies":{"wct-browser-legacy":"0.0.1-pre.10","@polymer/paper-item":"^3.0.0-pre.4","@polymer/paper-button":"^3.0.0-pre.4","@polymer/paper-styles":"^3.0.0-pre.4","@polymer/marked-element":"^3.0.0-pre.4","@polymer/paper-material":"^3.0.0-pre.4","@polymer/paper-progress":"^3.0.0-pre.4","@polymer/iron-demo-helpers":"^3.0.0-pre.4","@polymer/iron-component-page":"^3.0.0-pre.4"},"_npmOperationalInternal":{"tmp":"tmp/platinum-bluetooth-3.0.0-pre.4.tgz_1516146535807_0.11312608956359327","host":"s3://npm-registry-packages"}},"3.0.0-pre.6":{"name":"@polymer/platinum-bluetooth","version":"3.0.0-pre.6","keywords":["bluetooth"],"license":"BSD-3-Clause","_id":"@polymer/platinum-bluetooth@3.0.0-pre.6","maintainers":[{"name":"polymer","email":"admin@polymer-project.org"}],"contributors":[{"name":"The Polymer Authors"}],"homepage":"https://github.com/PolymerElements/platinum-bluetooth/","dist":{"shasum":"83b694643e2b0efa44816096fcfd4511b75d7b18","tarball":"https://registry.npmjs.org/@polymer/platinum-bluetooth/-/platinum-bluetooth-3.0.0-pre.6.tgz","integrity":"sha512-oZbuTwJgs9kC0uwShBBhs6L6Cl8cfogAeYr+XcKkcpOWL7eO7fiuNazz1XrrtsWCKimRZ2n6VHA+09nOLbTZTw==","signatures":[{"sig":"MEUCIA+MW1l5dY5ElbGsIijtqxv920obiM6kLy0eKR396i2mAiEA8WLZWkIAO6dEkuvQZsEQpAmhOhUgbVj0zHzvvaRoR+s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"flat":true,"main":"platinum-bluetooth-elements.html","gitHead":"c624740759c37e6ae61c7ba685e3aa4c39f26b45","_npmUser":{"name":"polymer","email":"admin@polymer-project.org"},"_npmVersion":"5.6.0","description":"A set of Polymer elements to discover and communicate with nearby Bluetooth devices","directories":{},"resolutions":{"samsam":"1.1.3","inherits":"2.0.3","type-detect":"1.0.0","supports-color":"3.1.2"},"_nodeVersion":"9.4.0","dependencies":{"@polymer/polymer":"^3.0.0-pre.6","@polymer/promise-polyfill":"^3.0.0-pre.6"},"devDependencies":{"wct-browser-legacy":"0.0.1-pre.11","@polymer/paper-item":"^3.0.0-pre.6","@polymer/paper-button":"^3.0.0-pre.6","@polymer/paper-styles":"^3.0.0-pre.6","@polymer/marked-element":"^3.0.0-pre.6","@polymer/paper-material":"^3.0.0-pre.6","@polymer/paper-progress":"^3.0.0-pre.6","@polymer/iron-demo-helpers":"^3.0.0-pre.6","@polymer/iron-component-page":"^3.0.0-pre.6"},"_npmOperationalInternal":{"tmp":"tmp/platinum-bluetooth-3.0.0-pre.6.tgz_1516835032371_0.1156855789013207","host":"s3://npm-registry-packages"}}},"time":{"created":"2016-02-02T04:48:11.531Z","modified":"2024-10-07T21:28:10.118Z","0.0.1":"2016-02-02T04:48:11.531Z","0.0.3":"2016-02-03T00:30:45.282Z","0.0.4":"2017-01-06T07:32:39.194Z","2.1.2-pre.1":"2017-01-19T01:34:34.156Z","2.1.2-pre.2":"2017-01-20T23:26:46.776Z","2.1.2-pre.3":"2017-01-24T00:23:18.998Z","3.0.0-pre.1":"2017-08-22T07:26:00.451Z","3.0.0-pre.2":"2018-01-12T01:42:00.152Z","3.0.0-pre.4":"2018-01-16T23:48:55.971Z","3.0.0-pre.6":"2018-01-24T23:03:52.424Z"},"license":"BSD-3-Clause","keywords":["bluetooth"],"description":"A set of Polymer elements to discover and communicate with nearby Bluetooth devices","contributors":[{"name":"The Polymer Authors"}],"maintainers":[{"email":"rictic@gmail.com","name":"rictic"},{"email":"aomarks@gmail.com","name":"aomarks"},{"email":"emarquez@google.com","name":"emarquez"},{"email":"sorvell@google.com","name":"sorvell"},{"email":"bicknellr@gmail.com","name":"bicknellr"},{"email":"brendan@usergenic.com","name":"usergenic"},{"email":"admin@polymer-project.org","name":"polymer-devs"},{"email":"dfreedm2@gmail.com","name":"azakus"},{"email":"kevinpschaaf@gmail.com","name":"kevinpschaaf"},{"email":"justin@fagnani.com","name":"justinfagnani"}],"readme":"\n<!---\n\nThis README is automatically generated from the comments in these files:\nplatinum-bluetooth-characteristic.html  platinum-bluetooth-device.html  platinum-bluetooth-service.html\n\nEdit those files, and our readme bot will duplicate them over here!\nEdit this file, and the bot will squash your changes :)\n\nThe bot does some handling of markdown. Please file a bug if it does the wrong\nthing! https://github.com/PolymerLabs/tedium/issues\n\n-->\n\n[![Build Status](https://travis-ci.org/PolymerElements/platinum-bluetooth.svg?branch=master)](https://travis-ci.org/PolymerElements/platinum-bluetooth)\n\n_[Demo and API Docs](https://elements.polymer-project.org/elements/platinum-bluetooth)_\n\n\n##&lt;platinum-bluetooth-characteristic&gt;\n\nThe `<platinum-bluetooth-characteristic>` element allows you to [read\nand write characteristics on nearby bluetooth devices](https://developers.google.com/web/updates/2015/07/interact-with-ble-devices-on-the-web) thanks to the\nyoung [Web Bluetooth API](https://github.com/WebBluetoothCG/web-bluetooth). It is currently only partially implemented\nin Chrome OS 45 and Chrome 49 for Android behind the experimental flag\n`chrome://flags/#enable-web-bluetooth`.\n\n`<platinum-bluetooth-characteristic>` needs to be a child of a\n`<platinum-bluetooth-service>` element.\n\nFor instance, here's how to read battery level from a nearby bluetooth\ndevice advertising Battery service:\n\n```html\n<platinum-bluetooth-device services-filter='[\"battery_service\"]'>\n  <platinum-bluetooth-service service='battery_service'>\n    <platinum-bluetooth-characteristic characteristic='battery_level'>\n    </platinum-bluetooth-characteristic>\n  </platinum-bluetooth-service>\n</platinum-bluetooth-device>\n```\n\n```js\nvar bluetoothDevice = document.querySelector('platinum-bluetooth-device');\nvar batteryLevel = document.querySelector('platinum-bluetooth-characteristic');\n\nbutton.addEventListener('click', function() {\n  bluetoothDevice.request().then(function() {\n    return batteryLevel.read().then(function(value) {\n      console.log('Battery Level is ' + value.getUint8(0) + '%');\n    });\n  })\n  .catch(function(error) { });\n});\n```\n\nHere's another example on how to reset energy expended on nearby\nbluetooth device advertising Heart Rate service:\n\n```html\n<platinum-bluetooth-device services-filter='[\"heart_rate\"]'>\n  <platinum-bluetooth-service service='heart_rate'>\n    <platinum-bluetooth-characteristic characteristic='heart_rate_control_point'>\n    </platinum-bluetooth-characteristic>\n  </platinum-bluetooth-service>\n</platinum-bluetooth-device>\n```\n\n```js\nvar bluetoothDevice = document.querySelector('platinum-bluetooth-device');\nvar heartRateCtrlPoint = document.querySelector('platinum-bluetooth-characteristic');\n\nbutton.addEventListener('click', function() {\n  bluetoothDevice.request().then(function() {\n    // Writing 1 is the signal to reset energy expended.\n    var resetEnergyExpended = new Uint8Array([1]);\n    return heartRateCtrlPoint.write(resetEnergyExpended).then(function() {\n      console.log('Energy expended has been reset');\n    });\n  })\n  .catch(function(error) { });\n});\n```\n\nIt is also possible for `<platinum-bluetooth-characteristic>` to fill in\na data-bound field in response to a read.\n\n```html\n<platinum-bluetooth-device services-filter='[\"heart_rate\"]'>\n  <platinum-bluetooth-service service='heart_rate'>\n    <platinum-bluetooth-characteristic characteristic='body_sensor_location'\n                                       value={{bodySensorLocation}}>\n    </platinum-bluetooth-characteristic>\n  </platinum-bluetooth-service>\n</platinum-bluetooth-device>\n...\n<span>{{bodySensorLocation}}</span>\n```\n\n```js\nvar bluetoothDevice = document.querySelector('platinum-bluetooth-device');\nvar bodySensorLocation = document.querySelector('platinum-bluetooth-characteristic');\n\nbutton.addEventListener('click', function() {\n  bluetoothDevice.request().then(function() {\n    return bodySensorLocation.read()\n  })\n  .catch(function(error) { });\n});\n```\n\nStarting and stopping notifications on a `<platinum-bluetooth-characteristic>` is pretty straightforward when taking advantage of the [Polymer Change notification protocol](https://www.polymer-project.org/1.0/docs/devguide/data-binding.html#change-notification-protocol). Here's how to get your Heart Rate Measurement for instance:\n\n```html\n<platinum-bluetooth-device services-filter='[\"heart_rate\"]'>\n  <platinum-bluetooth-service service='heart_rate'>\n    <platinum-bluetooth-characteristic characteristic='heart_rate_measurement'\n                                       on-value-changed='parseHeartRate'>\n    </platinum-bluetooth-characteristic>\n  </platinum-bluetooth-service>\n</platinum-bluetooth-device>\n```\n\n```js\nvar bluetoothDevice = document.querySelector('platinum-bluetooth-device');\nvar heartRate = document.querySelector('platinum-bluetooth-characteristic');\n\nstartButton.addEventListener('click', function() {\n  bluetoothDevice.request().then(function() {\n    return heartRate.startNotifications().catch(function(error) { });\n  });\n});\n\nstopButton.addEventListener('click', function() {\n  heartRate.stopNotifications().catch(function(error) { });\n});\n\nfunction parseHeartRate(event) {\n let value = event.target.value;\n // Do something with the DataView Object value...\n}\n```\n\nYou can also use changes in `value` to drive characteristic writes when\n`auto-write` property is set to true.\n\n```html\n<platinum-bluetooth-device services-filter='[\"heart_rate\"]'>\n  <platinum-bluetooth-service service='heart_rate'>\n    <platinum-bluetooth-characteristic characteristic='heart_rate_control_point'\n                                              auto-write>\n    </platinum-bluetooth-characteristic>\n  </platinum-bluetooth-service>\n</platinum-bluetooth-device>\n```\n\n```js\nvar bluetoothDevice = document.querySelector('platinum-bluetooth-device');\nvar heartRateCtrlPoint = document.querySelector('platinum-bluetooth-characteristic');\n\nbutton.addEventListener('click', function() {\n  bluetoothDevice.request().then(function() {\n    // Writing 1 is the signal to reset energy expended.\n    heartRateCtrlPoint.value = new Uint8Array([1]);\n  })\n  .catch(function(error) { });\n});\n\nheartRateCtrlPoint.addEventListener('platinum-bluetooth-auto-write-error',\n    function(event) {\n  // Handle error...\n});\n```\n\n\n\n##&lt;platinum-bluetooth-device&gt;\n\nThe `<platinum-bluetooth-device>` element allows you to [discover nearby\nbluetooth devices](https://developers.google.com/web/updates/2015/07/interact-with-ble-devices-on-the-web) thanks to the young [Web Bluetooth API](https://github.com/WebBluetoothCG/web-bluetooth). It is\ncurrently only partially implemented in Chrome OS 45 and Chrome 49 for\nAndroid behind the experimental flag\n`chrome://flags/#enable-web-bluetooth`.\n\n`<platinum-bluetooth-device>` is used as a parent element for\n`<platinum-bluetooth-service>` child elements.\n\nFor instance, here's how to request a nearby bluetooth device advertising\nBattery service:\n\n```html\n<platinum-bluetooth-device services-filter='[\"battery_service\"]'>\n</platinum-bluetooth-device>\n```\n\n```js\nbutton.addEventListener('click', function() {\n  document.querySelector('platinum-bluetooth-device').request()\n  .then(function(device) { console.log(device.name); })\n  .catch(function(error) { console.error(error); });\n});\n```\n\nYou can also request a nearby bluetooth device by setting a filter on\na name or name Prefix:\n\n```html\n<platinum-bluetooth-device name-filter='foobar'>\n</platinum-bluetooth-device>\n```\n\n```html\n<platinum-bluetooth-device name-prefix-filter='foo'>\n</platinum-bluetooth-device>\n```\n\nAnd you can combine some of the filters as well. Here's how to request a\nnearby bluetooth device advertising Battery service and whose name is\n\"foobar\":\n\n```html\n<platinum-bluetooth-device services-filter='[\"battery_service\"]'\n                           name-filter='foobar'>\n</platinum-bluetooth-device>\n```\n\nDisconnecting manually from a connected bluetooth device is pretty\nstraightforward:\n\n```js\ndisconnectButton.addEventListener('click', function() {\n  document.querySelector('platinum-bluetooth-device').disconnect();\n});\n```\n\n\n\n##&lt;platinum-bluetooth-service&gt;\n\nThe `<platinum-bluetooth-service>` element is used in conjuction with\nthe `<platinum-bluetooth-characteristic>` element to [read and write\ncharacteristics on nearby bluetooth devices](https://developers.google.com/web/updates/2015/07/interact-with-ble-devices-on-the-web) thanks to the young [Web\nBluetooth API](https://github.com/WebBluetoothCG/web-bluetooth). It is currently only partially implemented\nin Chrome OS 45 and Chrome 49 for Android behind the experimental flag\n`chrome://flags/#enable-web-bluetooth`.\n\n`<platinum-bluetooth-service>` needs to be a child of a\n`<platinum-bluetooth-device>` element.\n\nFor instance, here's how to read battery level from a nearby bluetooth\ndevice advertising Battery service:\n\n```html\n<platinum-bluetooth-device services-filter='[\"battery_service\"]'>\n  <platinum-bluetooth-service service='battery_service'>\n    <platinum-bluetooth-characteristic characteristic='battery_level'>\n    </platinum-bluetooth-characteristic>\n  </platinum-bluetooth-service>\n</platinum-bluetooth-device>\n```\n\n```js\nvar bluetoothDevice = document.querySelector('platinum-bluetooth-device');\nvar batteryLevel = document.querySelector('platinum-bluetooth-characteristic');\n\nbutton.addEventListener('click', function() {\n  bluetoothDevice.request().then(function() {\n    return batteryLevel.read().then(function(value) {\n      console.log('Battery Level is ' + value.getUint8(0) + '%');\n    });\n  })\n  .catch(function(error) { });\n});\n```\n\n\n","readmeFilename":"README.md"}