{"action":"created","issue":{"url":"https://api.github.com/repos/sandeepmistry/noble/issues/238","labels_url":"https://api.github.com/repos/sandeepmistry/noble/issues/238/labels{/name}","comments_url":"https://api.github.com/repos/sandeepmistry/noble/issues/238/comments","events_url":"https://api.github.com/repos/sandeepmistry/noble/issues/238/events","html_url":"https://github.com/sandeepmistry/noble/pull/238","id":106475754,"number":238,"title":"Web Bluetooth API shim for noble.","user":{"login":"monteslu","id":423800,"avatar_url":"https://avatars.githubusercontent.com/u/423800?v=3","gravatar_id":"","url":"https://api.github.com/users/monteslu","html_url":"https://github.com/monteslu","followers_url":"https://api.github.com/users/monteslu/followers","following_url":"https://api.github.com/users/monteslu/following{/other_user}","gists_url":"https://api.github.com/users/monteslu/gists{/gist_id}","starred_url":"https://api.github.com/users/monteslu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monteslu/subscriptions","organizations_url":"https://api.github.com/users/monteslu/orgs","repos_url":"https://api.github.com/users/monteslu/repos","events_url":"https://api.github.com/users/monteslu/events{/privacy}","received_events_url":"https://api.github.com/users/monteslu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-09-15T04:27:27Z","updated_at":"2016-01-06T18:11:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sandeepmistry/noble/pulls/238","html_url":"https://github.com/sandeepmistry/noble/pull/238","diff_url":"https://github.com/sandeepmistry/noble/pull/238.diff","patch_url":"https://github.com/sandeepmistry/noble/pull/238.patch"},"body":"# Do Not Merge Yet !\r\n## API is not ready, just looking for feedback.\r\n\r\nThe intent of this is to be able to webpack/browserify noble without the need for a websocket server or other plugins.  The bindings should target this spec:  https://webbluetoothcg.github.io/web-bluetooth/\r\n\r\nA few notes:\r\n* I've only gotten web bluetooth to connect on ChromeOS behind a flag:\r\n  ![chrome-flags](https://developers.google.com/web/updates/images/2015-07-22-interact-with-ble-devices-on-the-web/web-bluetooth-flag.png)\r\n* Service and characteristic discovery isn't ready yet in the chrome implentation.\r\n* Notifications aren't implemented yet. \r\n* This code first tries for web bluetooth api, then falls back to the websocket bindings.\r\n* My stub data is based on output from noble connecting to a lightblue bean.\r\n\r\n\r\ncc:// @sandeepmistry @jacobrosenthal @beaufortfrancois "},"comment":{"url":"https://api.github.com/repos/sandeepmistry/noble/issues/comments/169407482","html_url":"https://github.com/sandeepmistry/noble/pull/238#issuecomment-169407482","issue_url":"https://api.github.com/repos/sandeepmistry/noble/issues/238","id":169407482,"user":{"login":"monteslu","id":423800,"avatar_url":"https://avatars.githubusercontent.com/u/423800?v=3","gravatar_id":"","url":"https://api.github.com/users/monteslu","html_url":"https://github.com/monteslu","followers_url":"https://api.github.com/users/monteslu/followers","following_url":"https://api.github.com/users/monteslu/following{/other_user}","gists_url":"https://api.github.com/users/monteslu/gists{/gist_id}","starred_url":"https://api.github.com/users/monteslu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monteslu/subscriptions","organizations_url":"https://api.github.com/users/monteslu/orgs","repos_url":"https://api.github.com/users/monteslu/repos","events_url":"https://api.github.com/users/monteslu/events{/privacy}","received_events_url":"https://api.github.com/users/monteslu/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T18:11:14Z","updated_at":"2016-01-06T18:11:14Z","body":"Even more news...\r\n\r\nI can get a list of service IDs from a connected device, but discovery ends there for now.\r\n\r\n`BluetoothGATTService.getCharacteristics()` isn't implemented yet.  \r\nAlso, after that I'll need `BluetoothGATTCharacteristic.getDescriptors()` to finish this up.\r\n\r\ncc:// @beaufortfrancois @jyasskin"}}