{"action":"created","comment":{"url":"https://api.github.com/repos/openthread/openthread/pulls/comments/79161219","id":79161219,"diff_hunk":"@@ -181,6 +181,11 @@ void otGetFactoryAssignedIeeeEui64(otInstance *aInstance, otExtAddress *aEui64)\n     otPlatRadioGetIeeeEui64(aInstance, aEui64->m8);\n }\n \n+void otGetHashMacAddress(otInstance *, otExtAddress *aHashMacAddress)\n+{\n+    sThreadNetif->GetMac().GetHashMacAddress(static_cast<Mac::ExtAddress *>(aHashMacAddress));","path":"src/core/openthread.cpp","position":6,"original_position":6,"commit_id":"1906c8abb9625fbaa90b7c4f3f7a1daa32ba05ee","original_commit_id":"1906c8abb9625fbaa90b7c4f3f7a1daa32ba05ee","user":{"login":"jwhui","id":16142208,"avatar_url":"https://avatars.githubusercontent.com/u/16142208?v=3","gravatar_id":"","url":"https://api.github.com/users/jwhui","html_url":"https://github.com/jwhui","followers_url":"https://api.github.com/users/jwhui/followers","following_url":"https://api.github.com/users/jwhui/following{/other_user}","gists_url":"https://api.github.com/users/jwhui/gists{/gist_id}","starred_url":"https://api.github.com/users/jwhui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwhui/subscriptions","organizations_url":"https://api.github.com/users/jwhui/orgs","repos_url":"https://api.github.com/users/jwhui/repos","events_url":"https://api.github.com/users/jwhui/events{/privacy}","received_events_url":"https://api.github.com/users/jwhui/received_events","type":"User","site_admin":false},"body":"Agree, using `static_cast` is preferred over `reinterpret_cast`.","created_at":"2016-09-16T12:43:14Z","updated_at":"2016-09-16T12:43:14Z","html_url":"https://github.com/openthread/openthread/pull/611#discussion_r79161219","pull_request_url":"https://api.github.com/repos/openthread/openthread/pulls/611","_links":{"self":{"href":"https://api.github.com/repos/openthread/openthread/pulls/comments/79161219"},"html":{"href":"https://github.com/openthread/openthread/pull/611#discussion_r79161219"},"pull_request":{"href":"https://api.github.com/repos/openthread/openthread/pulls/611"}}},"pull_request":{"url":"https://api.github.com/repos/openthread/openthread/pulls/611","id":85538305,"html_url":"https://github.com/openthread/openthread/pull/611","diff_url":"https://github.com/openthread/openthread/pull/611.diff","patch_url":"https://github.com/openthread/openthread/pull/611.patch","issue_url":"https://api.github.com/repos/openthread/openthread/issues/611","number":611,"state":"open","locked":false,"title":"Add Hash MAC address get cli","user":{"login":"chshu","id":20312411,"avatar_url":"https://avatars.githubusercontent.com/u/20312411?v=3","gravatar_id":"","url":"https://api.github.com/users/chshu","html_url":"https://github.com/chshu","followers_url":"https://api.github.com/users/chshu/followers","following_url":"https://api.github.com/users/chshu/following{/other_user}","gists_url":"https://api.github.com/users/chshu/gists{/gist_id}","starred_url":"https://api.github.com/users/chshu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chshu/subscriptions","organizations_url":"https://api.github.com/users/chshu/orgs","repos_url":"https://api.github.com/users/chshu/repos","events_url":"https://api.github.com/users/chshu/events{/privacy}","received_events_url":"https://api.github.com/users/chshu/received_events","type":"User","site_admin":false},"body":"  - move Hash Mac address calculation from joiner.cpp to mac.cpp\r\n\r\n  - add hashmacaddr cli\r\n\r\nresolves #609 ","created_at":"2016-09-16T08:53:14Z","updated_at":"2016-09-16T12:43:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"173040533bf84f4dc579da64b159ad9bda2a387a","assignee":{"login":"jwhui","id":16142208,"avatar_url":"https://avatars.githubusercontent.com/u/16142208?v=3","gravatar_id":"","url":"https://api.github.com/users/jwhui","html_url":"https://github.com/jwhui","followers_url":"https://api.github.com/users/jwhui/followers","following_url":"https://api.github.com/users/jwhui/following{/other_user}","gists_url":"https://api.github.com/users/jwhui/gists{/gist_id}","starred_url":"https://api.github.com/users/jwhui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwhui/subscriptions","organizations_url":"https://api.github.com/users/jwhui/orgs","repos_url":"https://api.github.com/users/jwhui/repos","events_url":"https://api.github.com/users/jwhui/events{/privacy}","received_events_url":"https://api.github.com/users/jwhui/received_events","type":"User","site_admin":false},"assignees":[{"login":"jwhui","id":16142208,"avatar_url":"https://avatars.githubusercontent.com/u/16142208?v=3","gravatar_id":"","url":"https://api.github.com/users/jwhui","html_url":"https://github.com/jwhui","followers_url":"https://api.github.com/users/jwhui/followers","following_url":"https://api.github.com/users/jwhui/following{/other_user}","gists_url":"https://api.github.com/users/jwhui/gists{/gist_id}","starred_url":"https://api.github.com/users/jwhui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwhui/subscriptions","organizations_url":"https://api.github.com/users/jwhui/orgs","repos_url":"https://api.github.com/users/jwhui/repos","events_url":"https://api.github.com/users/jwhui/events{/privacy}","received_events_url":"https://api.github.com/users/jwhui/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/openthread/openthread/milestones/1","html_url":"https://github.com/openthread/openthread/milestones/0.01.00%20(Initial%20Official%20Release)","labels_url":"https://api.github.com/repos/openthread/openthread/milestones/1/labels","id":1775078,"number":1,"title":"0.01.00 (Initial Official Release)","description":"First official release.","creator":{"login":"darconeous","id":686678,"avatar_url":"https://avatars.githubusercontent.com/u/686678?v=3","gravatar_id":"","url":"https://api.github.com/users/darconeous","html_url":"https://github.com/darconeous","followers_url":"https://api.github.com/users/darconeous/followers","following_url":"https://api.github.com/users/darconeous/following{/other_user}","gists_url":"https://api.github.com/users/darconeous/gists{/gist_id}","starred_url":"https://api.github.com/users/darconeous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darconeous/subscriptions","organizations_url":"https://api.github.com/users/darconeous/orgs","repos_url":"https://api.github.com/users/darconeous/repos","events_url":"https://api.github.com/users/darconeous/events{/privacy}","received_events_url":"https://api.github.com/users/darconeous/received_events","type":"User","site_admin":false},"open_issues":27,"closed_issues":410,"state":"open","created_at":"2016-05-18T22:19:18Z","updated_at":"2016-09-16T12:42:37Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/openthread/openthread/pulls/611/commits","review_comments_url":"https://api.github.com/repos/openthread/openthread/pulls/611/comments","review_comment_url":"https://api.github.com/repos/openthread/openthread/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openthread/openthread/issues/611/comments","statuses_url":"https://api.github.com/repos/openthread/openthread/statuses/1906c8abb9625fbaa90b7c4f3f7a1daa32ba05ee","head":{"label":"chshu:feature/hashmac-addr","ref":"feature/hashmac-addr","sha":"1906c8abb9625fbaa90b7c4f3f7a1daa32ba05ee","user":{"login":"chshu","id":20312411,"avatar_url":"https://avatars.githubusercontent.com/u/20312411?v=3","gravatar_id":"","url":"https://api.github.com/users/chshu","html_url":"https://github.com/chshu","followers_url":"https://api.github.com/users/chshu/followers","following_url":"https://api.github.com/users/chshu/following{/other_user}","gists_url":"https://api.github.com/users/chshu/gists{/gist_id}","starred_url":"https://api.github.com/users/chshu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chshu/subscriptions","organizations_url":"https://api.github.com/users/chshu/orgs","repos_url":"https://api.github.com/users/chshu/repos","events_url":"https://api.github.com/users/chshu/events{/privacy}","received_events_url":"https://api.github.com/users/chshu/received_events","type":"User","site_admin":false},"repo":{"id":64193194,"name":"openthread","full_name":"chshu/openthread","owner":{"login":"chshu","id":20312411,"avatar_url":"https://avatars.githubusercontent.com/u/20312411?v=3","gravatar_id":"","url":"https://api.github.com/users/chshu","html_url":"https://github.com/chshu","followers_url":"https://api.github.com/users/chshu/followers","following_url":"https://api.github.com/users/chshu/following{/other_user}","gists_url":"https://api.github.com/users/chshu/gists{/gist_id}","starred_url":"https://api.github.com/users/chshu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chshu/subscriptions","organizations_url":"https://api.github.com/users/chshu/orgs","repos_url":"https://api.github.com/users/chshu/repos","events_url":"https://api.github.com/users/chshu/events{/privacy}","received_events_url":"https://api.github.com/users/chshu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chshu/openthread","description":"OpenThread released by Nest is an open-source implementation of the Thread networking protocol","fork":true,"url":"https://api.github.com/repos/chshu/openthread","forks_url":"https://api.github.com/repos/chshu/openthread/forks","keys_url":"https://api.github.com/repos/chshu/openthread/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chshu/openthread/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chshu/openthread/teams","hooks_url":"https://api.github.com/repos/chshu/openthread/hooks","issue_events_url":"https://api.github.com/repos/chshu/openthread/issues/events{/number}","events_url":"https://api.github.com/repos/chshu/openthread/events","assignees_url":"https://api.github.com/repos/chshu/openthread/assignees{/user}","branches_url":"https://api.github.com/repos/chshu/openthread/branches{/branch}","tags_url":"https://api.github.com/repos/chshu/openthread/tags","blobs_url":"https://api.github.com/repos/chshu/openthread/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chshu/openthread/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chshu/openthread/git/refs{/sha}","trees_url":"https://api.github.com/repos/chshu/openthread/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chshu/openthread/statuses/{sha}","languages_url":"https://api.github.com/repos/chshu/openthread/languages","stargazers_url":"https://api.github.com/repos/chshu/openthread/stargazers","contributors_url":"https://api.github.com/repos/chshu/openthread/contributors","subscribers_url":"https://api.github.com/repos/chshu/openthread/subscribers","subscription_url":"https://api.github.com/repos/chshu/openthread/subscription","commits_url":"https://api.github.com/repos/chshu/openthread/commits{/sha}","git_commits_url":"https://api.github.com/repos/chshu/openthread/git/commits{/sha}","comments_url":"https://api.github.com/repos/chshu/openthread/comments{/number}","issue_comment_url":"https://api.github.com/repos/chshu/openthread/issues/comments{/number}","contents_url":"https://api.github.com/repos/chshu/openthread/contents/{+path}","compare_url":"https://api.github.com/repos/chshu/openthread/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chshu/openthread/merges","archive_url":"https://api.github.com/repos/chshu/openthread/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chshu/openthread/downloads","issues_url":"https://api.github.com/repos/chshu/openthread/issues{/number}","pulls_url":"https://api.github.com/repos/chshu/openthread/pulls{/number}","milestones_url":"https://api.github.com/repos/chshu/openthread/milestones{/number}","notifications_url":"https://api.github.com/repos/chshu/openthread/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chshu/openthread/labels{/name}","releases_url":"https://api.github.com/repos/chshu/openthread/releases{/id}","deployments_url":"https://api.github.com/repos/chshu/openthread/deployments","created_at":"2016-07-26T05:41:22Z","updated_at":"2016-07-26T05:41:24Z","pushed_at":"2016-09-16T10:43:14Z","git_url":"git://github.com/chshu/openthread.git","ssh_url":"git@github.com:chshu/openthread.git","clone_url":"https://github.com/chshu/openthread.git","svn_url":"https://github.com/chshu/openthread","homepage":"","size":24329,"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":"openthread:master","ref":"master","sha":"c100be7ccb149c28b9e5dfa411d3d6824d92f0e3","user":{"login":"openthread","id":16142269,"avatar_url":"https://avatars.githubusercontent.com/u/16142269?v=3","gravatar_id":"","url":"https://api.github.com/users/openthread","html_url":"https://github.com/openthread","followers_url":"https://api.github.com/users/openthread/followers","following_url":"https://api.github.com/users/openthread/following{/other_user}","gists_url":"https://api.github.com/users/openthread/gists{/gist_id}","starred_url":"https://api.github.com/users/openthread/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openthread/subscriptions","organizations_url":"https://api.github.com/users/openthread/orgs","repos_url":"https://api.github.com/users/openthread/repos","events_url":"https://api.github.com/users/openthread/events{/privacy}","received_events_url":"https://api.github.com/users/openthread/received_events","type":"Organization","site_admin":false},"repo":{"id":55808787,"name":"openthread","full_name":"openthread/openthread","owner":{"login":"openthread","id":16142269,"avatar_url":"https://avatars.githubusercontent.com/u/16142269?v=3","gravatar_id":"","url":"https://api.github.com/users/openthread","html_url":"https://github.com/openthread","followers_url":"https://api.github.com/users/openthread/followers","following_url":"https://api.github.com/users/openthread/following{/other_user}","gists_url":"https://api.github.com/users/openthread/gists{/gist_id}","starred_url":"https://api.github.com/users/openthread/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openthread/subscriptions","organizations_url":"https://api.github.com/users/openthread/orgs","repos_url":"https://api.github.com/users/openthread/repos","events_url":"https://api.github.com/users/openthread/events{/privacy}","received_events_url":"https://api.github.com/users/openthread/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openthread/openthread","description":"OpenThread released by Nest is an open-source implementation of the Thread networking protocol","fork":false,"url":"https://api.github.com/repos/openthread/openthread","forks_url":"https://api.github.com/repos/openthread/openthread/forks","keys_url":"https://api.github.com/repos/openthread/openthread/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openthread/openthread/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openthread/openthread/teams","hooks_url":"https://api.github.com/repos/openthread/openthread/hooks","issue_events_url":"https://api.github.com/repos/openthread/openthread/issues/events{/number}","events_url":"https://api.github.com/repos/openthread/openthread/events","assignees_url":"https://api.github.com/repos/openthread/openthread/assignees{/user}","branches_url":"https://api.github.com/repos/openthread/openthread/branches{/branch}","tags_url":"https://api.github.com/repos/openthread/openthread/tags","blobs_url":"https://api.github.com/repos/openthread/openthread/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openthread/openthread/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openthread/openthread/git/refs{/sha}","trees_url":"https://api.github.com/repos/openthread/openthread/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openthread/openthread/statuses/{sha}","languages_url":"https://api.github.com/repos/openthread/openthread/languages","stargazers_url":"https://api.github.com/repos/openthread/openthread/stargazers","contributors_url":"https://api.github.com/repos/openthread/openthread/contributors","subscribers_url":"https://api.github.com/repos/openthread/openthread/subscribers","subscription_url":"https://api.github.com/repos/openthread/openthread/subscription","commits_url":"https://api.github.com/repos/openthread/openthread/commits{/sha}","git_commits_url":"https://api.github.com/repos/openthread/openthread/git/commits{/sha}","comments_url":"https://api.github.com/repos/openthread/openthread/comments{/number}","issue_comment_url":"https://api.github.com/repos/openthread/openthread/issues/comments{/number}","contents_url":"https://api.github.com/repos/openthread/openthread/contents/{+path}","compare_url":"https://api.github.com/repos/openthread/openthread/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openthread/openthread/merges","archive_url":"https://api.github.com/repos/openthread/openthread/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openthread/openthread/downloads","issues_url":"https://api.github.com/repos/openthread/openthread/issues{/number}","pulls_url":"https://api.github.com/repos/openthread/openthread/pulls{/number}","milestones_url":"https://api.github.com/repos/openthread/openthread/milestones{/number}","notifications_url":"https://api.github.com/repos/openthread/openthread/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openthread/openthread/labels{/name}","releases_url":"https://api.github.com/repos/openthread/openthread/releases{/id}","deployments_url":"https://api.github.com/repos/openthread/openthread/deployments","created_at":"2016-04-08T20:47:41Z","updated_at":"2016-09-15T16:07:07Z","pushed_at":"2016-09-16T10:43:14Z","git_url":"git://github.com/openthread/openthread.git","ssh_url":"git@github.com:openthread/openthread.git","clone_url":"https://github.com/openthread/openthread.git","svn_url":"https://github.com/openthread/openthread","homepage":"","size":274020,"stargazers_count":980,"watchers_count":980,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":208,"mirror_url":null,"open_issues_count":63,"forks":208,"open_issues":63,"watchers":980,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openthread/openthread/pulls/611"},"html":{"href":"https://github.com/openthread/openthread/pull/611"},"issue":{"href":"https://api.github.com/repos/openthread/openthread/issues/611"},"comments":{"href":"https://api.github.com/repos/openthread/openthread/issues/611/comments"},"review_comments":{"href":"https://api.github.com/repos/openthread/openthread/pulls/611/comments"},"review_comment":{"href":"https://api.github.com/repos/openthread/openthread/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openthread/openthread/pulls/611/commits"},"statuses":{"href":"https://api.github.com/repos/openthread/openthread/statuses/1906c8abb9625fbaa90b7c4f3f7a1daa32ba05ee"}}}}
{"actor":{"display_login":"jwhui"}}