{"action":"created","comment":{"url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/pulls/comments/60851891","id":60851891,"diff_hunk":"@@ -25,7 +27,11 @@\n //need synchronization\r\n \r\n public class XDripViewer extends AsyncTaskBase {\r\n-    \r\n+\r\n+    static Sensor sensor_exists = null; // Will hold reference to any existing sensor, to avoid looking in DB\r\n+    static Boolean isNightScoutMode = null;\r\n+    public final static String NIGHTSCOUT_SENSOR_UUID = \"c5f1999c-4ec5-449e-adad-3980b172b921\";\r","path":"app/src/main/java/com/eveningoutpost/dexdrip/Services/XDripViewer.java","position":18,"original_position":18,"commit_id":"2af076e1201f529477d001c008b87c6adc33ae6a","original_commit_id":"2af076e1201f529477d001c008b87c6adc33ae6a","user":{"login":"AdrianLxM","id":9692866,"avatar_url":"https://avatars.githubusercontent.com/u/9692866?v=3","gravatar_id":"","url":"https://api.github.com/users/AdrianLxM","html_url":"https://github.com/AdrianLxM","followers_url":"https://api.github.com/users/AdrianLxM/followers","following_url":"https://api.github.com/users/AdrianLxM/following{/other_user}","gists_url":"https://api.github.com/users/AdrianLxM/gists{/gist_id}","starred_url":"https://api.github.com/users/AdrianLxM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdrianLxM/subscriptions","organizations_url":"https://api.github.com/users/AdrianLxM/orgs","repos_url":"https://api.github.com/users/AdrianLxM/repos","events_url":"https://api.github.com/users/AdrianLxM/events{/privacy}","received_events_url":"https://api.github.com/users/AdrianLxM/received_events","type":"User","site_admin":false},"body":"What exactly is this String/ID? Is it always the same in certain cases? What cases are that?","created_at":"2016-04-24T21:06:54Z","updated_at":"2016-04-24T21:06:54Z","html_url":"https://github.com/StephenBlackWasAlreadyTaken/xDrip-Experimental/pull/325#discussion_r60851891","pull_request_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/pulls/325","_links":{"self":{"href":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/pulls/comments/60851891"},"html":{"href":"https://github.com/StephenBlackWasAlreadyTaken/xDrip-Experimental/pull/325#discussion_r60851891"},"pull_request":{"href":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/pulls/325"}}},"pull_request":{"url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/pulls/325","id":67397846,"html_url":"https://github.com/StephenBlackWasAlreadyTaken/xDrip-Experimental/pull/325","diff_url":"https://github.com/StephenBlackWasAlreadyTaken/xDrip-Experimental/pull/325.diff","patch_url":"https://github.com/StephenBlackWasAlreadyTaken/xDrip-Experimental/pull/325.patch","issue_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/issues/325","number":325,"state":"open","locked":false,"title":"Viewernightscoutmode","user":{"login":"tzachi-dar","id":7942372,"avatar_url":"https://avatars.githubusercontent.com/u/7942372?v=3","gravatar_id":"","url":"https://api.github.com/users/tzachi-dar","html_url":"https://github.com/tzachi-dar","followers_url":"https://api.github.com/users/tzachi-dar/followers","following_url":"https://api.github.com/users/tzachi-dar/following{/other_user}","gists_url":"https://api.github.com/users/tzachi-dar/gists{/gist_id}","starred_url":"https://api.github.com/users/tzachi-dar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tzachi-dar/subscriptions","organizations_url":"https://api.github.com/users/tzachi-dar/orgs","repos_url":"https://api.github.com/users/tzachi-dar/repos","events_url":"https://api.github.com/users/tzachi-dar/events{/privacy}","received_events_url":"https://api.github.com/users/tzachi-dar/received_events","type":"User","site_admin":false},"body":"This branch does 2 things:\r\n1) There are fixes that are xDrip viewer related and allow it to read from a classic nightscout site. Classic means a site that the uploader to it is a nightscout uploader using a dexcom and an otg cable.\r\n\r\n2) While working on this branch I have noticed that we don't set the hide_slope correctly so I have fixed that as well.","created_at":"2016-04-21T18:10:06Z","updated_at":"2016-04-24T21:06:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6cd6d11a646fa1f4108d7c0a31f67d803af6d0a4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/pulls/325/commits","review_comments_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/pulls/325/comments","review_comment_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/pulls/comments{/number}","comments_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/issues/325/comments","statuses_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/statuses/2af076e1201f529477d001c008b87c6adc33ae6a","head":{"label":"StephenBlackWasAlreadyTaken:viewernightscoutmode","ref":"viewernightscoutmode","sha":"2af076e1201f529477d001c008b87c6adc33ae6a","user":{"login":"StephenBlackWasAlreadyTaken","id":649942,"avatar_url":"https://avatars.githubusercontent.com/u/649942?v=3","gravatar_id":"","url":"https://api.github.com/users/StephenBlackWasAlreadyTaken","html_url":"https://github.com/StephenBlackWasAlreadyTaken","followers_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/followers","following_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/following{/other_user}","gists_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/gists{/gist_id}","starred_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/subscriptions","organizations_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/orgs","repos_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/repos","events_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/events{/privacy}","received_events_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/received_events","type":"User","site_admin":false},"repo":{"id":30898542,"name":"xDrip-Experimental","full_name":"StephenBlackWasAlreadyTaken/xDrip-Experimental","owner":{"login":"StephenBlackWasAlreadyTaken","id":649942,"avatar_url":"https://avatars.githubusercontent.com/u/649942?v=3","gravatar_id":"","url":"https://api.github.com/users/StephenBlackWasAlreadyTaken","html_url":"https://github.com/StephenBlackWasAlreadyTaken","followers_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/followers","following_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/following{/other_user}","gists_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/gists{/gist_id}","starred_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/subscriptions","organizations_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/orgs","repos_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/repos","events_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/events{/privacy}","received_events_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/StephenBlackWasAlreadyTaken/xDrip-Experimental","description":"Experimental Branches for Collaboration on DexDrip","fork":false,"url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental","forks_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/forks","keys_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/teams","hooks_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/hooks","issue_events_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/issues/events{/number}","events_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/events","assignees_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/assignees{/user}","branches_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/branches{/branch}","tags_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/tags","blobs_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/git/refs{/sha}","trees_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/statuses/{sha}","languages_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/languages","stargazers_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/stargazers","contributors_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/contributors","subscribers_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/subscribers","subscription_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/subscription","commits_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/commits{/sha}","git_commits_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/git/commits{/sha}","comments_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/comments{/number}","issue_comment_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/issues/comments{/number}","contents_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/contents/{+path}","compare_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/merges","archive_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/downloads","issues_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/issues{/number}","pulls_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/pulls{/number}","milestones_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/milestones{/number}","notifications_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/labels{/name}","releases_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/releases{/id}","deployments_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/deployments","created_at":"2015-02-17T02:04:01Z","updated_at":"2016-04-16T10:30:08Z","pushed_at":"2016-04-24T09:32:29Z","git_url":"git://github.com/StephenBlackWasAlreadyTaken/xDrip-Experimental.git","ssh_url":"git@github.com:StephenBlackWasAlreadyTaken/xDrip-Experimental.git","clone_url":"https://github.com/StephenBlackWasAlreadyTaken/xDrip-Experimental.git","svn_url":"https://github.com/StephenBlackWasAlreadyTaken/xDrip-Experimental","homepage":null,"size":8164,"stargazers_count":20,"watchers_count":20,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":54,"mirror_url":null,"open_issues_count":44,"forks":54,"open_issues":44,"watchers":20,"default_branch":"master"}},"base":{"label":"StephenBlackWasAlreadyTaken:master","ref":"master","sha":"5b6c42f2b5c1524514a6d203f5bc1e8bd83597a1","user":{"login":"StephenBlackWasAlreadyTaken","id":649942,"avatar_url":"https://avatars.githubusercontent.com/u/649942?v=3","gravatar_id":"","url":"https://api.github.com/users/StephenBlackWasAlreadyTaken","html_url":"https://github.com/StephenBlackWasAlreadyTaken","followers_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/followers","following_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/following{/other_user}","gists_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/gists{/gist_id}","starred_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/subscriptions","organizations_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/orgs","repos_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/repos","events_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/events{/privacy}","received_events_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/received_events","type":"User","site_admin":false},"repo":{"id":30898542,"name":"xDrip-Experimental","full_name":"StephenBlackWasAlreadyTaken/xDrip-Experimental","owner":{"login":"StephenBlackWasAlreadyTaken","id":649942,"avatar_url":"https://avatars.githubusercontent.com/u/649942?v=3","gravatar_id":"","url":"https://api.github.com/users/StephenBlackWasAlreadyTaken","html_url":"https://github.com/StephenBlackWasAlreadyTaken","followers_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/followers","following_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/following{/other_user}","gists_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/gists{/gist_id}","starred_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/subscriptions","organizations_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/orgs","repos_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/repos","events_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/events{/privacy}","received_events_url":"https://api.github.com/users/StephenBlackWasAlreadyTaken/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/StephenBlackWasAlreadyTaken/xDrip-Experimental","description":"Experimental Branches for Collaboration on DexDrip","fork":false,"url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental","forks_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/forks","keys_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/teams","hooks_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/hooks","issue_events_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/issues/events{/number}","events_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/events","assignees_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/assignees{/user}","branches_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/branches{/branch}","tags_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/tags","blobs_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/git/refs{/sha}","trees_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/statuses/{sha}","languages_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/languages","stargazers_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/stargazers","contributors_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/contributors","subscribers_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/subscribers","subscription_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/subscription","commits_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/commits{/sha}","git_commits_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/git/commits{/sha}","comments_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/comments{/number}","issue_comment_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/issues/comments{/number}","contents_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/contents/{+path}","compare_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/merges","archive_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/downloads","issues_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/issues{/number}","pulls_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/pulls{/number}","milestones_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/milestones{/number}","notifications_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/labels{/name}","releases_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/releases{/id}","deployments_url":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/deployments","created_at":"2015-02-17T02:04:01Z","updated_at":"2016-04-16T10:30:08Z","pushed_at":"2016-04-24T09:32:29Z","git_url":"git://github.com/StephenBlackWasAlreadyTaken/xDrip-Experimental.git","ssh_url":"git@github.com:StephenBlackWasAlreadyTaken/xDrip-Experimental.git","clone_url":"https://github.com/StephenBlackWasAlreadyTaken/xDrip-Experimental.git","svn_url":"https://github.com/StephenBlackWasAlreadyTaken/xDrip-Experimental","homepage":null,"size":8164,"stargazers_count":20,"watchers_count":20,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":54,"mirror_url":null,"open_issues_count":44,"forks":54,"open_issues":44,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/pulls/325"},"html":{"href":"https://github.com/StephenBlackWasAlreadyTaken/xDrip-Experimental/pull/325"},"issue":{"href":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/issues/325"},"comments":{"href":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/issues/325/comments"},"review_comments":{"href":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/pulls/325/comments"},"review_comment":{"href":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/pulls/325/commits"},"statuses":{"href":"https://api.github.com/repos/StephenBlackWasAlreadyTaken/xDrip-Experimental/statuses/2af076e1201f529477d001c008b87c6adc33ae6a"}}}}