{"action":"created","comment":{"url":"https://api.github.com/repos/01org/zephyr.js/pulls/comments/83947476","pull_request_review_id":4754069,"id":83947476,"diff_hunk":"@@ -855,6 +887,11 @@ static bool zjs_ble_parse_service(ble_service_t *service)\n         }\n \n         memset(chrc, 0, sizeof(ble_characteristic_t));\n+        chrc->read_cb.id = chrc->write_cb.id\n+                         = chrc->subscribe_cb.id\n+                         = chrc->unsubscribe_cb.id\n+                         = chrc->notify_cb.id\n+                         = -1;","path":"src/zjs_ble.c","position":375,"original_position":375,"commit_id":"bddb49a6e2b001beccef577c0d4160d33acd69d8","original_commit_id":"bddb49a6e2b001beccef577c0d4160d33acd69d8","user":{"login":"grgustaf","id":664464,"avatar_url":"https://avatars.githubusercontent.com/u/664464?v=3","gravatar_id":"","url":"https://api.github.com/users/grgustaf","html_url":"https://github.com/grgustaf","followers_url":"https://api.github.com/users/grgustaf/followers","following_url":"https://api.github.com/users/grgustaf/following{/other_user}","gists_url":"https://api.github.com/users/grgustaf/gists{/gist_id}","starred_url":"https://api.github.com/users/grgustaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grgustaf/subscriptions","organizations_url":"https://api.github.com/users/grgustaf/orgs","repos_url":"https://api.github.com/users/grgustaf/repos","events_url":"https://api.github.com/users/grgustaf/events{/privacy}","received_events_url":"https://api.github.com/users/grgustaf/received_events","type":"User","site_admin":false},"body":"Hmm, seems wacky. But if that's what the kids are doing these days. :)","created_at":"2016-10-18T20:48:42Z","updated_at":"2016-10-18T20:51:02Z","html_url":"https://github.com/01org/zephyr.js/pull/263#discussion_r83947476","pull_request_url":"https://api.github.com/repos/01org/zephyr.js/pulls/263","_links":{"self":{"href":"https://api.github.com/repos/01org/zephyr.js/pulls/comments/83947476"},"html":{"href":"https://github.com/01org/zephyr.js/pull/263#discussion_r83947476"},"pull_request":{"href":"https://api.github.com/repos/01org/zephyr.js/pulls/263"}}},"pull_request":{"url":"https://api.github.com/repos/01org/zephyr.js/pulls/263","id":88507046,"html_url":"https://github.com/01org/zephyr.js/pull/263","diff_url":"https://github.com/01org/zephyr.js/pull/263.diff","patch_url":"https://github.com/01org/zephyr.js/pull/263.patch","issue_url":"https://api.github.com/repos/01org/zephyr.js/issues/263","number":263,"state":"open","locked":false,"title":"[BLE] Change BLE to use zjs callback API","user":{"login":"jimmy-huang","id":1037247,"avatar_url":"https://avatars.githubusercontent.com/u/1037247?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmy-huang","html_url":"https://github.com/jimmy-huang","followers_url":"https://api.github.com/users/jimmy-huang/followers","following_url":"https://api.github.com/users/jimmy-huang/following{/other_user}","gists_url":"https://api.github.com/users/jimmy-huang/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmy-huang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmy-huang/subscriptions","organizations_url":"https://api.github.com/users/jimmy-huang/orgs","repos_url":"https://api.github.com/users/jimmy-huang/repos","events_url":"https://api.github.com/users/jimmy-huang/events{/privacy}","received_events_url":"https://api.github.com/users/jimmy-huang/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>","created_at":"2016-10-07T20:59:14Z","updated_at":"2016-10-18T20:51:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7024a662f27de4dcdb8df5376f2648f9796042fd","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/01org/zephyr.js/pulls/263/commits","review_comments_url":"https://api.github.com/repos/01org/zephyr.js/pulls/263/comments","review_comment_url":"https://api.github.com/repos/01org/zephyr.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/01org/zephyr.js/issues/263/comments","statuses_url":"https://api.github.com/repos/01org/zephyr.js/statuses/bddb49a6e2b001beccef577c0d4160d33acd69d8","head":{"label":"jimmy-huang:ble-callbacks","ref":"ble-callbacks","sha":"bddb49a6e2b001beccef577c0d4160d33acd69d8","user":{"login":"jimmy-huang","id":1037247,"avatar_url":"https://avatars.githubusercontent.com/u/1037247?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmy-huang","html_url":"https://github.com/jimmy-huang","followers_url":"https://api.github.com/users/jimmy-huang/followers","following_url":"https://api.github.com/users/jimmy-huang/following{/other_user}","gists_url":"https://api.github.com/users/jimmy-huang/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmy-huang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmy-huang/subscriptions","organizations_url":"https://api.github.com/users/jimmy-huang/orgs","repos_url":"https://api.github.com/users/jimmy-huang/repos","events_url":"https://api.github.com/users/jimmy-huang/events{/privacy}","received_events_url":"https://api.github.com/users/jimmy-huang/received_events","type":"User","site_admin":false},"repo":{"id":70281286,"name":"zephyr.js","full_name":"jimmy-huang/zephyr.js","owner":{"login":"jimmy-huang","id":1037247,"avatar_url":"https://avatars.githubusercontent.com/u/1037247?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmy-huang","html_url":"https://github.com/jimmy-huang","followers_url":"https://api.github.com/users/jimmy-huang/followers","following_url":"https://api.github.com/users/jimmy-huang/following{/other_user}","gists_url":"https://api.github.com/users/jimmy-huang/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmy-huang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmy-huang/subscriptions","organizations_url":"https://api.github.com/users/jimmy-huang/orgs","repos_url":"https://api.github.com/users/jimmy-huang/repos","events_url":"https://api.github.com/users/jimmy-huang/events{/privacy}","received_events_url":"https://api.github.com/users/jimmy-huang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jimmy-huang/zephyr.js","description":"JavaScript* Runtime for Zephyr* OS","fork":true,"url":"https://api.github.com/repos/jimmy-huang/zephyr.js","forks_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/forks","keys_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/teams","hooks_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/hooks","issue_events_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/issues/events{/number}","events_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/events","assignees_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/assignees{/user}","branches_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/branches{/branch}","tags_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/tags","blobs_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/statuses/{sha}","languages_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/languages","stargazers_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/stargazers","contributors_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/contributors","subscribers_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/subscribers","subscription_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/subscription","commits_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/contents/{+path}","compare_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/merges","archive_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/downloads","issues_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/issues{/number}","pulls_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/pulls{/number}","milestones_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/milestones{/number}","notifications_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/labels{/name}","releases_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/releases{/id}","deployments_url":"https://api.github.com/repos/jimmy-huang/zephyr.js/deployments","created_at":"2016-10-07T20:39:52Z","updated_at":"2016-10-07T20:39:53Z","pushed_at":"2016-10-18T18:04:14Z","git_url":"git://github.com/jimmy-huang/zephyr.js.git","ssh_url":"git@github.com:jimmy-huang/zephyr.js.git","clone_url":"https://github.com/jimmy-huang/zephyr.js.git","svn_url":"https://github.com/jimmy-huang/zephyr.js","homepage":"","size":693,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"01org:devel","ref":"devel","sha":"89c1d6029d47bfedbe14fa876242f0ac719685dc","user":{"login":"01org","id":1635439,"avatar_url":"https://avatars.githubusercontent.com/u/1635439?v=3","gravatar_id":"","url":"https://api.github.com/users/01org","html_url":"https://github.com/01org","followers_url":"https://api.github.com/users/01org/followers","following_url":"https://api.github.com/users/01org/following{/other_user}","gists_url":"https://api.github.com/users/01org/gists{/gist_id}","starred_url":"https://api.github.com/users/01org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/01org/subscriptions","organizations_url":"https://api.github.com/users/01org/orgs","repos_url":"https://api.github.com/users/01org/repos","events_url":"https://api.github.com/users/01org/events{/privacy}","received_events_url":"https://api.github.com/users/01org/received_events","type":"Organization","site_admin":false},"repo":{"id":61588342,"name":"zephyr.js","full_name":"01org/zephyr.js","owner":{"login":"01org","id":1635439,"avatar_url":"https://avatars.githubusercontent.com/u/1635439?v=3","gravatar_id":"","url":"https://api.github.com/users/01org","html_url":"https://github.com/01org","followers_url":"https://api.github.com/users/01org/followers","following_url":"https://api.github.com/users/01org/following{/other_user}","gists_url":"https://api.github.com/users/01org/gists{/gist_id}","starred_url":"https://api.github.com/users/01org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/01org/subscriptions","organizations_url":"https://api.github.com/users/01org/orgs","repos_url":"https://api.github.com/users/01org/repos","events_url":"https://api.github.com/users/01org/events{/privacy}","received_events_url":"https://api.github.com/users/01org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/01org/zephyr.js","description":"JavaScript* Runtime for Zephyr* OS","fork":false,"url":"https://api.github.com/repos/01org/zephyr.js","forks_url":"https://api.github.com/repos/01org/zephyr.js/forks","keys_url":"https://api.github.com/repos/01org/zephyr.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/01org/zephyr.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/01org/zephyr.js/teams","hooks_url":"https://api.github.com/repos/01org/zephyr.js/hooks","issue_events_url":"https://api.github.com/repos/01org/zephyr.js/issues/events{/number}","events_url":"https://api.github.com/repos/01org/zephyr.js/events","assignees_url":"https://api.github.com/repos/01org/zephyr.js/assignees{/user}","branches_url":"https://api.github.com/repos/01org/zephyr.js/branches{/branch}","tags_url":"https://api.github.com/repos/01org/zephyr.js/tags","blobs_url":"https://api.github.com/repos/01org/zephyr.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/01org/zephyr.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/01org/zephyr.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/01org/zephyr.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/01org/zephyr.js/statuses/{sha}","languages_url":"https://api.github.com/repos/01org/zephyr.js/languages","stargazers_url":"https://api.github.com/repos/01org/zephyr.js/stargazers","contributors_url":"https://api.github.com/repos/01org/zephyr.js/contributors","subscribers_url":"https://api.github.com/repos/01org/zephyr.js/subscribers","subscription_url":"https://api.github.com/repos/01org/zephyr.js/subscription","commits_url":"https://api.github.com/repos/01org/zephyr.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/01org/zephyr.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/01org/zephyr.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/01org/zephyr.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/01org/zephyr.js/contents/{+path}","compare_url":"https://api.github.com/repos/01org/zephyr.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/01org/zephyr.js/merges","archive_url":"https://api.github.com/repos/01org/zephyr.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/01org/zephyr.js/downloads","issues_url":"https://api.github.com/repos/01org/zephyr.js/issues{/number}","pulls_url":"https://api.github.com/repos/01org/zephyr.js/pulls{/number}","milestones_url":"https://api.github.com/repos/01org/zephyr.js/milestones{/number}","notifications_url":"https://api.github.com/repos/01org/zephyr.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/01org/zephyr.js/labels{/name}","releases_url":"https://api.github.com/repos/01org/zephyr.js/releases{/id}","deployments_url":"https://api.github.com/repos/01org/zephyr.js/deployments","created_at":"2016-06-20T23:53:57Z","updated_at":"2016-10-18T06:58:47Z","pushed_at":"2016-10-18T18:04:10Z","git_url":"git://github.com/01org/zephyr.js.git","ssh_url":"git@github.com:01org/zephyr.js.git","clone_url":"https://github.com/01org/zephyr.js.git","svn_url":"https://github.com/01org/zephyr.js","homepage":"","size":847,"stargazers_count":20,"watchers_count":20,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":39,"forks":13,"open_issues":39,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/01org/zephyr.js/pulls/263"},"html":{"href":"https://github.com/01org/zephyr.js/pull/263"},"issue":{"href":"https://api.github.com/repos/01org/zephyr.js/issues/263"},"comments":{"href":"https://api.github.com/repos/01org/zephyr.js/issues/263/comments"},"review_comments":{"href":"https://api.github.com/repos/01org/zephyr.js/pulls/263/comments"},"review_comment":{"href":"https://api.github.com/repos/01org/zephyr.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/01org/zephyr.js/pulls/263/commits"},"statuses":{"href":"https://api.github.com/repos/01org/zephyr.js/statuses/bddb49a6e2b001beccef577c0d4160d33acd69d8"}}}}
{"actor":{"display_login":"grgustaf"}}