{"action":"opened","issue":{"url":"https://api.github.com/repos/sandeepmistry/noble/issues/405","repository_url":"https://api.github.com/repos/sandeepmistry/noble","labels_url":"https://api.github.com/repos/sandeepmistry/noble/issues/405/labels{/name}","comments_url":"https://api.github.com/repos/sandeepmistry/noble/issues/405/comments","events_url":"https://api.github.com/repos/sandeepmistry/noble/issues/405/events","html_url":"https://github.com/sandeepmistry/noble/issues/405","id":156083034,"number":405,"title":"Out of Range Issue:","user":{"login":"sthanh","id":3734322,"avatar_url":"https://avatars.githubusercontent.com/u/3734322?v=3","gravatar_id":"","url":"https://api.github.com/users/sthanh","html_url":"https://github.com/sthanh","followers_url":"https://api.github.com/users/sthanh/followers","following_url":"https://api.github.com/users/sthanh/following{/other_user}","gists_url":"https://api.github.com/users/sthanh/gists{/gist_id}","starred_url":"https://api.github.com/users/sthanh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sthanh/subscriptions","organizations_url":"https://api.github.com/users/sthanh/orgs","repos_url":"https://api.github.com/users/sthanh/repos","events_url":"https://api.github.com/users/sthanh/events{/privacy}","received_events_url":"https://api.github.com/users/sthanh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-21T04:24:08Z","updated_at":"2016-05-21T04:24:08Z","closed_at":null,"body":"Hi there,\r\nI have this out of range issue and I it happens intermittently. If I wait and re-run the code it works from time to time but most of the time it ends up with the error. Could you help?\r\n\r\nThank you! \r\n\r\n\r\n`pi@raspberrypi:~/Desktop $ node beaconscanv2.js \r\nbuffer.js:615\r\n    throw new RangeError('index out of range');\r\n    ^\r\n\r\nRangeError: index out of range\r\n    at checkOffset (buffer.js:615:11)\r\n    at Buffer.readUInt16BE (buffer.js:669:5)\r\n    at Noble.<anonymous> (/home/pi/Desktop/beaconscanv2.js:25:58)\r\n    at emitOne (events.js:77:13)\r\n    at Noble.emit (events.js:169:7)\r\n    at Noble.onDiscover (/home/pi/node_modules/noble/lib/noble.js:135:10)\r\n    at emitMany (events.js:108:13)\r\n    at emit (events.js:182:7)\r\n    at NobleBindings.onDiscover (/home/pi/node_modules/noble/lib/hci-socket/bindings.js:169:10)\r\n    at emitMany (events.js:108:13)\r\npi@raspberrypi:~/Desktop $ `"}}
{"actor":{"display_login":"sthanh"}}