{"action":"opened","number":390,"pull_request":{"url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/pulls/390","id":85076751,"html_url":"https://github.com/Freeyourgadget/Gadgetbridge/pull/390","diff_url":"https://github.com/Freeyourgadget/Gadgetbridge/pull/390.diff","patch_url":"https://github.com/Freeyourgadget/Gadgetbridge/pull/390.patch","issue_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/issues/390","number":390,"state":"open","locked":false,"title":"Finally, miband2 connect complete.","user":{"login":"JohnnySun","id":6197733,"avatar_url":"https://avatars.githubusercontent.com/u/6197733?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnnySun","html_url":"https://github.com/JohnnySun","followers_url":"https://api.github.com/users/JohnnySun/followers","following_url":"https://api.github.com/users/JohnnySun/following{/other_user}","gists_url":"https://api.github.com/users/JohnnySun/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnnySun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnnySun/subscriptions","organizations_url":"https://api.github.com/users/JohnnySun/orgs","repos_url":"https://api.github.com/users/JohnnySun/repos","events_url":"https://api.github.com/users/JohnnySun/events{/privacy}","received_events_url":"https://api.github.com/users/JohnnySun/received_events","type":"User","site_admin":false},"body":"This time i fixed the bug on auth and change auth peogress. but i also need your help.\r\nAs i know, at our app first connect miband2, we need send { 0x01, 0x08, (byte) 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x40, 0x41, 0x42, 0x43, 0x44, 0x45 } to UUID_UNKNOWN_CHARACTERISTIC9 at the auth key.\r\nbut i am not found what func called when the first time device discovery.\r\n\r\nSo, can you tell me whats func call on the deivce first init.","created_at":"2016-09-13T15:59:53Z","updated_at":"2016-09-13T15:59:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/pulls/390/commits","review_comments_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/pulls/390/comments","review_comment_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/issues/390/comments","statuses_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/statuses/53d468176378ee1307af3c9038bf46579ac6157b","head":{"label":"JohnnySun:master","ref":"master","sha":"53d468176378ee1307af3c9038bf46579ac6157b","user":{"login":"JohnnySun","id":6197733,"avatar_url":"https://avatars.githubusercontent.com/u/6197733?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnnySun","html_url":"https://github.com/JohnnySun","followers_url":"https://api.github.com/users/JohnnySun/followers","following_url":"https://api.github.com/users/JohnnySun/following{/other_user}","gists_url":"https://api.github.com/users/JohnnySun/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnnySun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnnySun/subscriptions","organizations_url":"https://api.github.com/users/JohnnySun/orgs","repos_url":"https://api.github.com/users/JohnnySun/repos","events_url":"https://api.github.com/users/JohnnySun/events{/privacy}","received_events_url":"https://api.github.com/users/JohnnySun/received_events","type":"User","site_admin":false},"repo":{"id":68020646,"name":"Gadgetbridge","full_name":"JohnnySun/Gadgetbridge","owner":{"login":"JohnnySun","id":6197733,"avatar_url":"https://avatars.githubusercontent.com/u/6197733?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnnySun","html_url":"https://github.com/JohnnySun","followers_url":"https://api.github.com/users/JohnnySun/followers","following_url":"https://api.github.com/users/JohnnySun/following{/other_user}","gists_url":"https://api.github.com/users/JohnnySun/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnnySun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnnySun/subscriptions","organizations_url":"https://api.github.com/users/JohnnySun/orgs","repos_url":"https://api.github.com/users/JohnnySun/repos","events_url":"https://api.github.com/users/JohnnySun/events{/privacy}","received_events_url":"https://api.github.com/users/JohnnySun/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JohnnySun/Gadgetbridge","description":"A free and cloudless replacement for your gadget vendors' closed source Android applications. Pebble and Mi Band supported.","fork":true,"url":"https://api.github.com/repos/JohnnySun/Gadgetbridge","forks_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/forks","keys_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/teams","hooks_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/hooks","issue_events_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/issues/events{/number}","events_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/events","assignees_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/assignees{/user}","branches_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/branches{/branch}","tags_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/tags","blobs_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/git/refs{/sha}","trees_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/statuses/{sha}","languages_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/languages","stargazers_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/stargazers","contributors_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/contributors","subscribers_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/subscribers","subscription_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/subscription","commits_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/commits{/sha}","git_commits_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/git/commits{/sha}","comments_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/comments{/number}","issue_comment_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/issues/comments{/number}","contents_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/contents/{+path}","compare_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/merges","archive_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/downloads","issues_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/issues{/number}","pulls_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/pulls{/number}","milestones_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/milestones{/number}","notifications_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/labels{/name}","releases_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/releases{/id}","deployments_url":"https://api.github.com/repos/JohnnySun/Gadgetbridge/deployments","created_at":"2016-09-12T15:14:54Z","updated_at":"2016-09-12T15:14:56Z","pushed_at":"2016-09-13T15:55:59Z","git_url":"git://github.com/JohnnySun/Gadgetbridge.git","ssh_url":"git@github.com:JohnnySun/Gadgetbridge.git","clone_url":"https://github.com/JohnnySun/Gadgetbridge.git","svn_url":"https://github.com/JohnnySun/Gadgetbridge","homepage":"","size":4449,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"Freeyourgadget:master","ref":"master","sha":"539bc7380692f2316a78ff37c20da6a2bae99ba2","user":{"login":"Freeyourgadget","id":10392806,"avatar_url":"https://avatars.githubusercontent.com/u/10392806?v=3","gravatar_id":"","url":"https://api.github.com/users/Freeyourgadget","html_url":"https://github.com/Freeyourgadget","followers_url":"https://api.github.com/users/Freeyourgadget/followers","following_url":"https://api.github.com/users/Freeyourgadget/following{/other_user}","gists_url":"https://api.github.com/users/Freeyourgadget/gists{/gist_id}","starred_url":"https://api.github.com/users/Freeyourgadget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Freeyourgadget/subscriptions","organizations_url":"https://api.github.com/users/Freeyourgadget/orgs","repos_url":"https://api.github.com/users/Freeyourgadget/repos","events_url":"https://api.github.com/users/Freeyourgadget/events{/privacy}","received_events_url":"https://api.github.com/users/Freeyourgadget/received_events","type":"Organization","site_admin":false},"repo":{"id":28836678,"name":"Gadgetbridge","full_name":"Freeyourgadget/Gadgetbridge","owner":{"login":"Freeyourgadget","id":10392806,"avatar_url":"https://avatars.githubusercontent.com/u/10392806?v=3","gravatar_id":"","url":"https://api.github.com/users/Freeyourgadget","html_url":"https://github.com/Freeyourgadget","followers_url":"https://api.github.com/users/Freeyourgadget/followers","following_url":"https://api.github.com/users/Freeyourgadget/following{/other_user}","gists_url":"https://api.github.com/users/Freeyourgadget/gists{/gist_id}","starred_url":"https://api.github.com/users/Freeyourgadget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Freeyourgadget/subscriptions","organizations_url":"https://api.github.com/users/Freeyourgadget/orgs","repos_url":"https://api.github.com/users/Freeyourgadget/repos","events_url":"https://api.github.com/users/Freeyourgadget/events{/privacy}","received_events_url":"https://api.github.com/users/Freeyourgadget/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Freeyourgadget/Gadgetbridge","description":"A free and cloudless replacement for your gadget vendors' closed source Android applications. Pebble and Mi Band supported.","fork":false,"url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge","forks_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/forks","keys_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/teams","hooks_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/hooks","issue_events_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/issues/events{/number}","events_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/events","assignees_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/assignees{/user}","branches_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/branches{/branch}","tags_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/tags","blobs_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/git/refs{/sha}","trees_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/statuses/{sha}","languages_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/languages","stargazers_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/stargazers","contributors_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/contributors","subscribers_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/subscribers","subscription_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/subscription","commits_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/commits{/sha}","git_commits_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/git/commits{/sha}","comments_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/comments{/number}","issue_comment_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/issues/comments{/number}","contents_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/contents/{+path}","compare_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/merges","archive_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/downloads","issues_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/issues{/number}","pulls_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/pulls{/number}","milestones_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/milestones{/number}","notifications_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/labels{/name}","releases_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/releases{/id}","deployments_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/deployments","created_at":"2015-01-05T23:19:03Z","updated_at":"2016-09-13T12:03:21Z","pushed_at":"2016-09-13T15:55:59Z","git_url":"git://github.com/Freeyourgadget/Gadgetbridge.git","ssh_url":"git@github.com:Freeyourgadget/Gadgetbridge.git","clone_url":"https://github.com/Freeyourgadget/Gadgetbridge.git","svn_url":"https://github.com/Freeyourgadget/Gadgetbridge","homepage":"","size":5242,"stargazers_count":466,"watchers_count":466,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":90,"mirror_url":null,"open_issues_count":105,"forks":90,"open_issues":105,"watchers":466,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/pulls/390"},"html":{"href":"https://github.com/Freeyourgadget/Gadgetbridge/pull/390"},"issue":{"href":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/issues/390"},"comments":{"href":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/issues/390/comments"},"review_comments":{"href":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/pulls/390/comments"},"review_comment":{"href":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/pulls/390/commits"},"statuses":{"href":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/statuses/53d468176378ee1307af3c9038bf46579ac6157b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":46,"deletions":49,"changed_files":13}}
{"actor":{"display_login":"JohnnySun"}}