{"action":"created","issue":{"url":"https://api.github.com/repos/sandeepmistry/noble/issues/490","repository_url":"https://api.github.com/repos/sandeepmistry/noble","labels_url":"https://api.github.com/repos/sandeepmistry/noble/issues/490/labels{/name}","comments_url":"https://api.github.com/repos/sandeepmistry/noble/issues/490/comments","events_url":"https://api.github.com/repos/sandeepmistry/noble/issues/490/events","html_url":"https://github.com/sandeepmistry/noble/issues/490","id":186549950,"number":490,"title":"notifications and read callbacks","user":{"login":"zkiiito","id":1292871,"avatar_url":"https://avatars.githubusercontent.com/u/1292871?v=3","gravatar_id":"","url":"https://api.github.com/users/zkiiito","html_url":"https://github.com/zkiiito","followers_url":"https://api.github.com/users/zkiiito/followers","following_url":"https://api.github.com/users/zkiiito/following{/other_user}","gists_url":"https://api.github.com/users/zkiiito/gists{/gist_id}","starred_url":"https://api.github.com/users/zkiiito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zkiiito/subscriptions","organizations_url":"https://api.github.com/users/zkiiito/orgs","repos_url":"https://api.github.com/users/zkiiito/repos","events_url":"https://api.github.com/users/zkiiito/events{/privacy}","received_events_url":"https://api.github.com/users/zkiiito/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-01T14:38:15Z","updated_at":"2016-11-15T02:50:02Z","closed_at":null,"body":"I'm trying to use the callback from characteristic.read(), but my device also has notifications. i'm subscribed to these, so i also have a characteristic.on('data') handler. \r\n\r\nbut things get mixed up, the callback of the read() function sometimes returns the data from the notification, not the actual data which i was reading - though, I get that value too in the 'data' event handler.\r\n\r\nI think this is a bug, I have some workarounds, but they cause other unfortunate limitations :("},"comment":{"url":"https://api.github.com/repos/sandeepmistry/noble/issues/comments/260532344","html_url":"https://github.com/sandeepmistry/noble/issues/490#issuecomment-260532344","issue_url":"https://api.github.com/repos/sandeepmistry/noble/issues/490","id":260532344,"user":{"login":"sandeepmistry","id":1163840,"avatar_url":"https://avatars.githubusercontent.com/u/1163840?v=3","gravatar_id":"","url":"https://api.github.com/users/sandeepmistry","html_url":"https://github.com/sandeepmistry","followers_url":"https://api.github.com/users/sandeepmistry/followers","following_url":"https://api.github.com/users/sandeepmistry/following{/other_user}","gists_url":"https://api.github.com/users/sandeepmistry/gists{/gist_id}","starred_url":"https://api.github.com/users/sandeepmistry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandeepmistry/subscriptions","organizations_url":"https://api.github.com/users/sandeepmistry/orgs","repos_url":"https://api.github.com/users/sandeepmistry/repos","events_url":"https://api.github.com/users/sandeepmistry/events{/privacy}","received_events_url":"https://api.github.com/users/sandeepmistry/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T02:50:02Z","updated_at":"2016-11-15T02:50:02Z","body":"@zkiiito can you provide the following from Ubuntu:\r\n\r\n* HCI dump capture: `sudo hcidump -t -x`\r\n* debug logs: `sudo DEBUG=* node <file>.js`"}}
{"actor":{"display_login":"sandeepmistry"}}