{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/pulls/1","id":33440212,"html_url":"https://github.com/jiteshdalsaniya/BluetoothChatMulti/pull/1","diff_url":"https://github.com/jiteshdalsaniya/BluetoothChatMulti/pull/1.diff","patch_url":"https://github.com/jiteshdalsaniya/BluetoothChatMulti/pull/1.patch","issue_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/issues/1","number":1,"state":"open","locked":false,"title":"Update BluetoothChatService.java","user":{"login":"jiteshdalsaniya","id":3861211,"avatar_url":"https://avatars.githubusercontent.com/u/3861211?v=3","gravatar_id":"","url":"https://api.github.com/users/jiteshdalsaniya","html_url":"https://github.com/jiteshdalsaniya","followers_url":"https://api.github.com/users/jiteshdalsaniya/followers","following_url":"https://api.github.com/users/jiteshdalsaniya/following{/other_user}","gists_url":"https://api.github.com/users/jiteshdalsaniya/gists{/gist_id}","starred_url":"https://api.github.com/users/jiteshdalsaniya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiteshdalsaniya/subscriptions","organizations_url":"https://api.github.com/users/jiteshdalsaniya/orgs","repos_url":"https://api.github.com/users/jiteshdalsaniya/repos","events_url":"https://api.github.com/users/jiteshdalsaniya/events{/privacy}","received_events_url":"https://api.github.com/users/jiteshdalsaniya/received_events","type":"User","site_admin":false},"body":"Existing code has some issue with multiple device connection. When I am trying connect first time then it will work perfect but after disconnecting and connecting again then it will only allows to connect 2 devices. For solving this issue I had updated the BluetoothChatService, in AcceptThread class where we are checking for the all uuid and initializing the BluetoothServerSocket after accepting connection we need to close BluetoothServerSocket because TCP/IP, RFCOMM only allows one connected client per channel at a time so in most cases it makes sense to call close() on the BluetoothServerSocket immediately after accepting a connected socket.","created_at":"2015-04-16T11:09:20Z","updated_at":"2015-04-16T11:09:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/pulls/1/commits","review_comments_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/pulls/1/comments","review_comment_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/issues/1/comments","statuses_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/statuses/9e3404e4534dd74c854acf4a7e012b148eb3c11e","head":{"label":"jiteshdalsaniya:jiteshdalsaniya-patch-1","ref":"jiteshdalsaniya-patch-1","sha":"9e3404e4534dd74c854acf4a7e012b148eb3c11e","user":{"login":"jiteshdalsaniya","id":3861211,"avatar_url":"https://avatars.githubusercontent.com/u/3861211?v=3","gravatar_id":"","url":"https://api.github.com/users/jiteshdalsaniya","html_url":"https://github.com/jiteshdalsaniya","followers_url":"https://api.github.com/users/jiteshdalsaniya/followers","following_url":"https://api.github.com/users/jiteshdalsaniya/following{/other_user}","gists_url":"https://api.github.com/users/jiteshdalsaniya/gists{/gist_id}","starred_url":"https://api.github.com/users/jiteshdalsaniya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiteshdalsaniya/subscriptions","organizations_url":"https://api.github.com/users/jiteshdalsaniya/orgs","repos_url":"https://api.github.com/users/jiteshdalsaniya/repos","events_url":"https://api.github.com/users/jiteshdalsaniya/events{/privacy}","received_events_url":"https://api.github.com/users/jiteshdalsaniya/received_events","type":"User","site_admin":false},"repo":{"id":34050715,"name":"BluetoothChatMulti","full_name":"jiteshdalsaniya/BluetoothChatMulti","owner":{"login":"jiteshdalsaniya","id":3861211,"avatar_url":"https://avatars.githubusercontent.com/u/3861211?v=3","gravatar_id":"","url":"https://api.github.com/users/jiteshdalsaniya","html_url":"https://github.com/jiteshdalsaniya","followers_url":"https://api.github.com/users/jiteshdalsaniya/followers","following_url":"https://api.github.com/users/jiteshdalsaniya/following{/other_user}","gists_url":"https://api.github.com/users/jiteshdalsaniya/gists{/gist_id}","starred_url":"https://api.github.com/users/jiteshdalsaniya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiteshdalsaniya/subscriptions","organizations_url":"https://api.github.com/users/jiteshdalsaniya/orgs","repos_url":"https://api.github.com/users/jiteshdalsaniya/repos","events_url":"https://api.github.com/users/jiteshdalsaniya/events{/privacy}","received_events_url":"https://api.github.com/users/jiteshdalsaniya/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jiteshdalsaniya/BluetoothChatMulti","description":"Multi-device extension of the official Android Bluetooth Chat example","fork":true,"url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti","forks_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/forks","keys_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/teams","hooks_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/hooks","issue_events_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/issues/events{/number}","events_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/events","assignees_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/assignees{/user}","branches_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/branches{/branch}","tags_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/tags","blobs_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/git/refs{/sha}","trees_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/statuses/{sha}","languages_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/languages","stargazers_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/stargazers","contributors_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/contributors","subscribers_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/subscribers","subscription_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/subscription","commits_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/commits{/sha}","git_commits_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/git/commits{/sha}","comments_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/comments{/number}","issue_comment_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/issues/comments{/number}","contents_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/contents/{+path}","compare_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/merges","archive_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/downloads","issues_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/issues{/number}","pulls_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/pulls{/number}","milestones_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/milestones{/number}","notifications_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/labels{/name}","releases_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/releases{/id}","created_at":"2015-04-16T10:59:53Z","updated_at":"2015-04-16T10:59:53Z","pushed_at":"2015-04-16T11:08:18Z","git_url":"git://github.com/jiteshdalsaniya/BluetoothChatMulti.git","ssh_url":"git@github.com:jiteshdalsaniya/BluetoothChatMulti.git","clone_url":"https://github.com/jiteshdalsaniya/BluetoothChatMulti.git","svn_url":"https://github.com/jiteshdalsaniya/BluetoothChatMulti","homepage":"","size":187,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"jiteshdalsaniya:master","ref":"master","sha":"f50d9895b6a685f41019dd92067691dbefeffa9a","user":{"login":"jiteshdalsaniya","id":3861211,"avatar_url":"https://avatars.githubusercontent.com/u/3861211?v=3","gravatar_id":"","url":"https://api.github.com/users/jiteshdalsaniya","html_url":"https://github.com/jiteshdalsaniya","followers_url":"https://api.github.com/users/jiteshdalsaniya/followers","following_url":"https://api.github.com/users/jiteshdalsaniya/following{/other_user}","gists_url":"https://api.github.com/users/jiteshdalsaniya/gists{/gist_id}","starred_url":"https://api.github.com/users/jiteshdalsaniya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiteshdalsaniya/subscriptions","organizations_url":"https://api.github.com/users/jiteshdalsaniya/orgs","repos_url":"https://api.github.com/users/jiteshdalsaniya/repos","events_url":"https://api.github.com/users/jiteshdalsaniya/events{/privacy}","received_events_url":"https://api.github.com/users/jiteshdalsaniya/received_events","type":"User","site_admin":false},"repo":{"id":34050715,"name":"BluetoothChatMulti","full_name":"jiteshdalsaniya/BluetoothChatMulti","owner":{"login":"jiteshdalsaniya","id":3861211,"avatar_url":"https://avatars.githubusercontent.com/u/3861211?v=3","gravatar_id":"","url":"https://api.github.com/users/jiteshdalsaniya","html_url":"https://github.com/jiteshdalsaniya","followers_url":"https://api.github.com/users/jiteshdalsaniya/followers","following_url":"https://api.github.com/users/jiteshdalsaniya/following{/other_user}","gists_url":"https://api.github.com/users/jiteshdalsaniya/gists{/gist_id}","starred_url":"https://api.github.com/users/jiteshdalsaniya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiteshdalsaniya/subscriptions","organizations_url":"https://api.github.com/users/jiteshdalsaniya/orgs","repos_url":"https://api.github.com/users/jiteshdalsaniya/repos","events_url":"https://api.github.com/users/jiteshdalsaniya/events{/privacy}","received_events_url":"https://api.github.com/users/jiteshdalsaniya/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jiteshdalsaniya/BluetoothChatMulti","description":"Multi-device extension of the official Android Bluetooth Chat example","fork":true,"url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti","forks_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/forks","keys_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/teams","hooks_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/hooks","issue_events_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/issues/events{/number}","events_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/events","assignees_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/assignees{/user}","branches_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/branches{/branch}","tags_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/tags","blobs_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/git/refs{/sha}","trees_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/statuses/{sha}","languages_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/languages","stargazers_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/stargazers","contributors_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/contributors","subscribers_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/subscribers","subscription_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/subscription","commits_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/commits{/sha}","git_commits_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/git/commits{/sha}","comments_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/comments{/number}","issue_comment_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/issues/comments{/number}","contents_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/contents/{+path}","compare_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/merges","archive_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/downloads","issues_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/issues{/number}","pulls_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/pulls{/number}","milestones_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/milestones{/number}","notifications_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/labels{/name}","releases_url":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/releases{/id}","created_at":"2015-04-16T10:59:53Z","updated_at":"2015-04-16T10:59:53Z","pushed_at":"2015-04-16T11:08:18Z","git_url":"git://github.com/jiteshdalsaniya/BluetoothChatMulti.git","ssh_url":"git@github.com:jiteshdalsaniya/BluetoothChatMulti.git","clone_url":"https://github.com/jiteshdalsaniya/BluetoothChatMulti.git","svn_url":"https://github.com/jiteshdalsaniya/BluetoothChatMulti","homepage":"","size":187,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/pulls/1"},"html":{"href":"https://github.com/jiteshdalsaniya/BluetoothChatMulti/pull/1"},"issue":{"href":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/issues/1"},"comments":{"href":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/jiteshdalsaniya/BluetoothChatMulti/statuses/9e3404e4534dd74c854acf4a7e012b148eb3c11e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":0,"changed_files":1}}