{"action":"created","issue":{"url":"https://api.github.com/repos/WebBluetoothCG/web-bluetooth/issues/204","labels_url":"https://api.github.com/repos/WebBluetoothCG/web-bluetooth/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/WebBluetoothCG/web-bluetooth/issues/204/comments","events_url":"https://api.github.com/repos/WebBluetoothCG/web-bluetooth/issues/204/events","html_url":"https://github.com/WebBluetoothCG/web-bluetooth/issues/204","id":129238518,"number":204,"title":"Is it possible to get raw bytes of the BLE packet?","user":{"login":"keremgocen","id":119362,"avatar_url":"https://avatars.githubusercontent.com/u/119362?v=3","gravatar_id":"","url":"https://api.github.com/users/keremgocen","html_url":"https://github.com/keremgocen","followers_url":"https://api.github.com/users/keremgocen/followers","following_url":"https://api.github.com/users/keremgocen/following{/other_user}","gists_url":"https://api.github.com/users/keremgocen/gists{/gist_id}","starred_url":"https://api.github.com/users/keremgocen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keremgocen/subscriptions","organizations_url":"https://api.github.com/users/keremgocen/orgs","repos_url":"https://api.github.com/users/keremgocen/repos","events_url":"https://api.github.com/users/keremgocen/events{/privacy}","received_events_url":"https://api.github.com/users/keremgocen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-27T19:09:10Z","updated_at":"2016-01-27T19:19:01Z","closed_at":"2016-01-27T19:19:01Z","body":"Not sure if this is implemented yet. I was looking for something like the Android [scanRecord](http://developer.android.com/reference/android/bluetooth/le/ScanRecord.html) method to parse a custom ble format. This should speed up the adoption of custom formats such as Eddystone, is this something i can do at the moment?"},"comment":{"url":"https://api.github.com/repos/WebBluetoothCG/web-bluetooth/issues/comments/175807029","html_url":"https://github.com/WebBluetoothCG/web-bluetooth/issues/204#issuecomment-175807029","issue_url":"https://api.github.com/repos/WebBluetoothCG/web-bluetooth/issues/204","id":175807029,"user":{"login":"jyasskin","id":83420,"avatar_url":"https://avatars.githubusercontent.com/u/83420?v=3","gravatar_id":"","url":"https://api.github.com/users/jyasskin","html_url":"https://github.com/jyasskin","followers_url":"https://api.github.com/users/jyasskin/followers","following_url":"https://api.github.com/users/jyasskin/following{/other_user}","gists_url":"https://api.github.com/users/jyasskin/gists{/gist_id}","starred_url":"https://api.github.com/users/jyasskin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyasskin/subscriptions","organizations_url":"https://api.github.com/users/jyasskin/orgs","repos_url":"https://api.github.com/users/jyasskin/repos","events_url":"https://api.github.com/users/jyasskin/events{/privacy}","received_events_url":"https://api.github.com/users/jyasskin/received_events","type":"User","site_admin":false},"created_at":"2016-01-27T19:19:01Z","updated_at":"2016-01-27T19:19:01Z","body":"We're not planning to expose the raw bytes, but custom formats, including Eddystone and iBeacon, use the standard [manufacturer](https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetoothadvertisingdata-manufacturerdata) or [service data](https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetoothadvertisingdata-servicedata) fields, which we do expose. There's even an [example of parsing Apple's format](https://webbluetoothcg.github.io/web-bluetooth/#example-145d3a9c).\r\n\r\nThese aren't implemented anywhere yet, and they're not going to be as useful as they should be until we add a scanning API (to find all nearby beacons), which isn't coming until the next version of the API (after GATT communication ships)."}}