{"action":"created","comment":{"url":"https://api.github.com/repos/acburigo/python-hci/pulls/comments/153029460","pull_request_review_id":78986333,"id":153029460,"diff_hunk":"@@ -0,0 +1,61 @@\n+from struct import unpack_from\n+\n+from .. import VendorSpecificEvent\n+from hci.transforms import _bytes_to_hex_string\n+\n+\n+class GAP_DeviceInformation(VendorSpecificEvent):\n+    @property\n+    def event_type(self):\n+        OFFSET, SIZE_OCTATES = 6, 1\n+        event_type = self._get_data(OFFSET, SIZE_OCTATES)\n+        return unpack_from('<B', event_type)[0]\n+\n+    @property\n+    def address_type(self):\n+        OFFSET, SIZE_OCTATES = 7, 1\n+        address_type = self._get_data(OFFSET, SIZE_OCTATES)\n+        return unpack_from('<B', address_type)[0]\n+\n+    @property\n+    def address(self):\n+        OFFSET, SIZE_OCTATES = 8, 6","path":"hci/event/events/vendor_specific/gap_device_information.py","position":22,"original_position":22,"commit_id":"36716ea0c781ea1b6d9e706576aa4b9f6b507e7a","original_commit_id":"36716ea0c781ea1b6d9e706576aa4b9f6b507e7a","user":{"login":"acburigo","id":20728609,"avatar_url":"https://avatars2.githubusercontent.com/u/20728609?v=4","gravatar_id":"","url":"https://api.github.com/users/acburigo","html_url":"https://github.com/acburigo","followers_url":"https://api.github.com/users/acburigo/followers","following_url":"https://api.github.com/users/acburigo/following{/other_user}","gists_url":"https://api.github.com/users/acburigo/gists{/gist_id}","starred_url":"https://api.github.com/users/acburigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acburigo/subscriptions","organizations_url":"https://api.github.com/users/acburigo/orgs","repos_url":"https://api.github.com/users/acburigo/repos","events_url":"https://api.github.com/users/acburigo/events{/privacy}","received_events_url":"https://api.github.com/users/acburigo/received_events","type":"User","site_admin":false},"body":"OCTETS","created_at":"2017-11-24T21:59:03Z","updated_at":"2017-11-24T22:02:07Z","html_url":"https://github.com/acburigo/python-hci/pull/5#discussion_r153029460","pull_request_url":"https://api.github.com/repos/acburigo/python-hci/pulls/5","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/acburigo/python-hci/pulls/comments/153029460"},"html":{"href":"https://github.com/acburigo/python-hci/pull/5#discussion_r153029460"},"pull_request":{"href":"https://api.github.com/repos/acburigo/python-hci/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/acburigo/python-hci/pulls/5","id":154608150,"html_url":"https://github.com/acburigo/python-hci/pull/5","diff_url":"https://github.com/acburigo/python-hci/pull/5.diff","patch_url":"https://github.com/acburigo/python-hci/pull/5.patch","issue_url":"https://api.github.com/repos/acburigo/python-hci/issues/5","number":5,"state":"open","locked":false,"title":"Adding new events.","user":{"login":"pedrogyrao","id":6998622,"avatar_url":"https://avatars1.githubusercontent.com/u/6998622?v=4","gravatar_id":"","url":"https://api.github.com/users/pedrogyrao","html_url":"https://github.com/pedrogyrao","followers_url":"https://api.github.com/users/pedrogyrao/followers","following_url":"https://api.github.com/users/pedrogyrao/following{/other_user}","gists_url":"https://api.github.com/users/pedrogyrao/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrogyrao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrogyrao/subscriptions","organizations_url":"https://api.github.com/users/pedrogyrao/orgs","repos_url":"https://api.github.com/users/pedrogyrao/repos","events_url":"https://api.github.com/users/pedrogyrao/events{/privacy}","received_events_url":"https://api.github.com/users/pedrogyrao/received_events","type":"User","site_admin":false},"body":"Adding GAP_DeviceDiscoveryDone\r\nGAP_DeviceInformation\r\nevents.","created_at":"2017-11-24T21:13:17Z","updated_at":"2017-11-24T22:02:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fab0f15cf22a642ef8440feb62e8c98b3ec30a13","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/acburigo/python-hci/pulls/5/commits","review_comments_url":"https://api.github.com/repos/acburigo/python-hci/pulls/5/comments","review_comment_url":"https://api.github.com/repos/acburigo/python-hci/pulls/comments{/number}","comments_url":"https://api.github.com/repos/acburigo/python-hci/issues/5/comments","statuses_url":"https://api.github.com/repos/acburigo/python-hci/statuses/36716ea0c781ea1b6d9e706576aa4b9f6b507e7a","head":{"label":"acburigo:adding_new_events","ref":"adding_new_events","sha":"36716ea0c781ea1b6d9e706576aa4b9f6b507e7a","user":{"login":"acburigo","id":20728609,"avatar_url":"https://avatars2.githubusercontent.com/u/20728609?v=4","gravatar_id":"","url":"https://api.github.com/users/acburigo","html_url":"https://github.com/acburigo","followers_url":"https://api.github.com/users/acburigo/followers","following_url":"https://api.github.com/users/acburigo/following{/other_user}","gists_url":"https://api.github.com/users/acburigo/gists{/gist_id}","starred_url":"https://api.github.com/users/acburigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acburigo/subscriptions","organizations_url":"https://api.github.com/users/acburigo/orgs","repos_url":"https://api.github.com/users/acburigo/repos","events_url":"https://api.github.com/users/acburigo/events{/privacy}","received_events_url":"https://api.github.com/users/acburigo/received_events","type":"User","site_admin":false},"repo":{"id":111609382,"name":"python-hci","full_name":"acburigo/python-hci","owner":{"login":"acburigo","id":20728609,"avatar_url":"https://avatars2.githubusercontent.com/u/20728609?v=4","gravatar_id":"","url":"https://api.github.com/users/acburigo","html_url":"https://github.com/acburigo","followers_url":"https://api.github.com/users/acburigo/followers","following_url":"https://api.github.com/users/acburigo/following{/other_user}","gists_url":"https://api.github.com/users/acburigo/gists{/gist_id}","starred_url":"https://api.github.com/users/acburigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acburigo/subscriptions","organizations_url":"https://api.github.com/users/acburigo/orgs","repos_url":"https://api.github.com/users/acburigo/repos","events_url":"https://api.github.com/users/acburigo/events{/privacy}","received_events_url":"https://api.github.com/users/acburigo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/acburigo/python-hci","description":"Python HCI Protocol","fork":false,"url":"https://api.github.com/repos/acburigo/python-hci","forks_url":"https://api.github.com/repos/acburigo/python-hci/forks","keys_url":"https://api.github.com/repos/acburigo/python-hci/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acburigo/python-hci/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acburigo/python-hci/teams","hooks_url":"https://api.github.com/repos/acburigo/python-hci/hooks","issue_events_url":"https://api.github.com/repos/acburigo/python-hci/issues/events{/number}","events_url":"https://api.github.com/repos/acburigo/python-hci/events","assignees_url":"https://api.github.com/repos/acburigo/python-hci/assignees{/user}","branches_url":"https://api.github.com/repos/acburigo/python-hci/branches{/branch}","tags_url":"https://api.github.com/repos/acburigo/python-hci/tags","blobs_url":"https://api.github.com/repos/acburigo/python-hci/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acburigo/python-hci/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acburigo/python-hci/git/refs{/sha}","trees_url":"https://api.github.com/repos/acburigo/python-hci/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acburigo/python-hci/statuses/{sha}","languages_url":"https://api.github.com/repos/acburigo/python-hci/languages","stargazers_url":"https://api.github.com/repos/acburigo/python-hci/stargazers","contributors_url":"https://api.github.com/repos/acburigo/python-hci/contributors","subscribers_url":"https://api.github.com/repos/acburigo/python-hci/subscribers","subscription_url":"https://api.github.com/repos/acburigo/python-hci/subscription","commits_url":"https://api.github.com/repos/acburigo/python-hci/commits{/sha}","git_commits_url":"https://api.github.com/repos/acburigo/python-hci/git/commits{/sha}","comments_url":"https://api.github.com/repos/acburigo/python-hci/comments{/number}","issue_comment_url":"https://api.github.com/repos/acburigo/python-hci/issues/comments{/number}","contents_url":"https://api.github.com/repos/acburigo/python-hci/contents/{+path}","compare_url":"https://api.github.com/repos/acburigo/python-hci/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acburigo/python-hci/merges","archive_url":"https://api.github.com/repos/acburigo/python-hci/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acburigo/python-hci/downloads","issues_url":"https://api.github.com/repos/acburigo/python-hci/issues{/number}","pulls_url":"https://api.github.com/repos/acburigo/python-hci/pulls{/number}","milestones_url":"https://api.github.com/repos/acburigo/python-hci/milestones{/number}","notifications_url":"https://api.github.com/repos/acburigo/python-hci/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acburigo/python-hci/labels{/name}","releases_url":"https://api.github.com/repos/acburigo/python-hci/releases{/id}","deployments_url":"https://api.github.com/repos/acburigo/python-hci/deployments","created_at":"2017-11-21T22:40:06Z","updated_at":"2017-11-21T22:44:15Z","pushed_at":"2017-11-24T21:13:17Z","git_url":"git://github.com/acburigo/python-hci.git","ssh_url":"git@github.com:acburigo/python-hci.git","clone_url":"https://github.com/acburigo/python-hci.git","svn_url":"https://github.com/acburigo/python-hci","homepage":null,"size":46,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"acburigo:master","ref":"master","sha":"06469e5a13ab6facb47bcd4361816c9778a80396","user":{"login":"acburigo","id":20728609,"avatar_url":"https://avatars2.githubusercontent.com/u/20728609?v=4","gravatar_id":"","url":"https://api.github.com/users/acburigo","html_url":"https://github.com/acburigo","followers_url":"https://api.github.com/users/acburigo/followers","following_url":"https://api.github.com/users/acburigo/following{/other_user}","gists_url":"https://api.github.com/users/acburigo/gists{/gist_id}","starred_url":"https://api.github.com/users/acburigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acburigo/subscriptions","organizations_url":"https://api.github.com/users/acburigo/orgs","repos_url":"https://api.github.com/users/acburigo/repos","events_url":"https://api.github.com/users/acburigo/events{/privacy}","received_events_url":"https://api.github.com/users/acburigo/received_events","type":"User","site_admin":false},"repo":{"id":111609382,"name":"python-hci","full_name":"acburigo/python-hci","owner":{"login":"acburigo","id":20728609,"avatar_url":"https://avatars2.githubusercontent.com/u/20728609?v=4","gravatar_id":"","url":"https://api.github.com/users/acburigo","html_url":"https://github.com/acburigo","followers_url":"https://api.github.com/users/acburigo/followers","following_url":"https://api.github.com/users/acburigo/following{/other_user}","gists_url":"https://api.github.com/users/acburigo/gists{/gist_id}","starred_url":"https://api.github.com/users/acburigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acburigo/subscriptions","organizations_url":"https://api.github.com/users/acburigo/orgs","repos_url":"https://api.github.com/users/acburigo/repos","events_url":"https://api.github.com/users/acburigo/events{/privacy}","received_events_url":"https://api.github.com/users/acburigo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/acburigo/python-hci","description":"Python HCI Protocol","fork":false,"url":"https://api.github.com/repos/acburigo/python-hci","forks_url":"https://api.github.com/repos/acburigo/python-hci/forks","keys_url":"https://api.github.com/repos/acburigo/python-hci/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acburigo/python-hci/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acburigo/python-hci/teams","hooks_url":"https://api.github.com/repos/acburigo/python-hci/hooks","issue_events_url":"https://api.github.com/repos/acburigo/python-hci/issues/events{/number}","events_url":"https://api.github.com/repos/acburigo/python-hci/events","assignees_url":"https://api.github.com/repos/acburigo/python-hci/assignees{/user}","branches_url":"https://api.github.com/repos/acburigo/python-hci/branches{/branch}","tags_url":"https://api.github.com/repos/acburigo/python-hci/tags","blobs_url":"https://api.github.com/repos/acburigo/python-hci/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acburigo/python-hci/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acburigo/python-hci/git/refs{/sha}","trees_url":"https://api.github.com/repos/acburigo/python-hci/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acburigo/python-hci/statuses/{sha}","languages_url":"https://api.github.com/repos/acburigo/python-hci/languages","stargazers_url":"https://api.github.com/repos/acburigo/python-hci/stargazers","contributors_url":"https://api.github.com/repos/acburigo/python-hci/contributors","subscribers_url":"https://api.github.com/repos/acburigo/python-hci/subscribers","subscription_url":"https://api.github.com/repos/acburigo/python-hci/subscription","commits_url":"https://api.github.com/repos/acburigo/python-hci/commits{/sha}","git_commits_url":"https://api.github.com/repos/acburigo/python-hci/git/commits{/sha}","comments_url":"https://api.github.com/repos/acburigo/python-hci/comments{/number}","issue_comment_url":"https://api.github.com/repos/acburigo/python-hci/issues/comments{/number}","contents_url":"https://api.github.com/repos/acburigo/python-hci/contents/{+path}","compare_url":"https://api.github.com/repos/acburigo/python-hci/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acburigo/python-hci/merges","archive_url":"https://api.github.com/repos/acburigo/python-hci/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acburigo/python-hci/downloads","issues_url":"https://api.github.com/repos/acburigo/python-hci/issues{/number}","pulls_url":"https://api.github.com/repos/acburigo/python-hci/pulls{/number}","milestones_url":"https://api.github.com/repos/acburigo/python-hci/milestones{/number}","notifications_url":"https://api.github.com/repos/acburigo/python-hci/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acburigo/python-hci/labels{/name}","releases_url":"https://api.github.com/repos/acburigo/python-hci/releases{/id}","deployments_url":"https://api.github.com/repos/acburigo/python-hci/deployments","created_at":"2017-11-21T22:40:06Z","updated_at":"2017-11-21T22:44:15Z","pushed_at":"2017-11-24T21:13:17Z","git_url":"git://github.com/acburigo/python-hci.git","ssh_url":"git@github.com:acburigo/python-hci.git","clone_url":"https://github.com/acburigo/python-hci.git","svn_url":"https://github.com/acburigo/python-hci","homepage":null,"size":46,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/acburigo/python-hci/pulls/5"},"html":{"href":"https://github.com/acburigo/python-hci/pull/5"},"issue":{"href":"https://api.github.com/repos/acburigo/python-hci/issues/5"},"comments":{"href":"https://api.github.com/repos/acburigo/python-hci/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/acburigo/python-hci/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/acburigo/python-hci/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/acburigo/python-hci/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/acburigo/python-hci/statuses/36716ea0c781ea1b6d9e706576aa4b9f6b507e7a"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"acburigo"}}