{"action":"created","comment":{"url":"https://api.github.com/repos/switchbrew/libnx/pulls/comments/266955170","pull_request_review_id":216241743,"id":266955170,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI2Njk1NTE3MA==","diff_hunk":"@@ -34,6 +47,12 @@ Result nifmIsWirelessCommunicationEnabled(bool* out);\n  */\n Result nifmSetWirelessCommunicationEnabled(bool enable);\n \n+/**\n+ * @note Will fail with 0xd46ed if Internet is neither connecting or connected (airplane mode or no known network in reach).\n+ * @param wifiStrength Strength of the Wi-Fi signal in number of bars from 0 to 3.\n+ */\n+Result nifmGetInternetConnectionStatus(NifmInternetConnectionType* connectionType, u8* wifiStrength, NifmInternetConnectionStatus* connectionStatus);","path":"nx/include/switch/services/nifm.h","position":28,"original_position":28,"commit_id":"5fa5ca660bd42f3a49b981482c270bf9a3cd5057","original_commit_id":"5fa5ca660bd42f3a49b981482c270bf9a3cd5057","user":{"login":"yellows8","id":585494,"node_id":"MDQ6VXNlcjU4NTQ5NA==","avatar_url":"https://avatars0.githubusercontent.com/u/585494?v=4","gravatar_id":"","url":"https://api.github.com/users/yellows8","html_url":"https://github.com/yellows8","followers_url":"https://api.github.com/users/yellows8/followers","following_url":"https://api.github.com/users/yellows8/following{/other_user}","gists_url":"https://api.github.com/users/yellows8/gists{/gist_id}","starred_url":"https://api.github.com/users/yellows8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yellows8/subscriptions","organizations_url":"https://api.github.com/users/yellows8/orgs","repos_url":"https://api.github.com/users/yellows8/repos","events_url":"https://api.github.com/users/yellows8/events{/privacy}","received_events_url":"https://api.github.com/users/yellows8/received_events","type":"User","site_admin":false},"body":"Just the output param, let the IPC one alone.","created_at":"2019-03-19T15:39:03Z","updated_at":"2019-03-19T15:39:03Z","html_url":"https://github.com/switchbrew/libnx/pull/254#discussion_r266955170","pull_request_url":"https://api.github.com/repos/switchbrew/libnx/pulls/254","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/switchbrew/libnx/pulls/comments/266955170"},"html":{"href":"https://github.com/switchbrew/libnx/pull/254#discussion_r266955170"},"pull_request":{"href":"https://api.github.com/repos/switchbrew/libnx/pulls/254"}},"in_reply_to_id":266951962},"pull_request":{"url":"https://api.github.com/repos/switchbrew/libnx/pulls/254","id":262093369,"node_id":"MDExOlB1bGxSZXF1ZXN0MjYyMDkzMzY5","html_url":"https://github.com/switchbrew/libnx/pull/254","diff_url":"https://github.com/switchbrew/libnx/pull/254.diff","patch_url":"https://github.com/switchbrew/libnx/pull/254.patch","issue_url":"https://api.github.com/repos/switchbrew/libnx/issues/254","number":254,"state":"open","locked":false,"title":"Implemented nifmGetInternetConnectionStatus","user":{"login":"natinusala","id":1159464,"node_id":"MDQ6VXNlcjExNTk0NjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1159464?v=4","gravatar_id":"","url":"https://api.github.com/users/natinusala","html_url":"https://github.com/natinusala","followers_url":"https://api.github.com/users/natinusala/followers","following_url":"https://api.github.com/users/natinusala/following{/other_user}","gists_url":"https://api.github.com/users/natinusala/gists{/gist_id}","starred_url":"https://api.github.com/users/natinusala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natinusala/subscriptions","organizations_url":"https://api.github.com/users/natinusala/orgs","repos_url":"https://api.github.com/users/natinusala/repos","events_url":"https://api.github.com/users/natinusala/events{/privacy}","received_events_url":"https://api.github.com/users/natinusala/received_events","type":"User","site_admin":false},"body":"`nifmGetInternetConnectionStatus` allows to get internet connection type (Wi-Fi or Ethernet), status (connecting or connected) and strength in bars (from 0 to 3), which is better than RSSI to display to users.\r\n\r\nThe call will fail with `0xd46ed` is the console is neither connecting or connected to a network.","created_at":"2019-03-18T14:58:44Z","updated_at":"2019-03-19T15:39:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"02b1b22df239e2fc3bf0750b5dee2584d670d8a9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/switchbrew/libnx/pulls/254/commits","review_comments_url":"https://api.github.com/repos/switchbrew/libnx/pulls/254/comments","review_comment_url":"https://api.github.com/repos/switchbrew/libnx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/switchbrew/libnx/issues/254/comments","statuses_url":"https://api.github.com/repos/switchbrew/libnx/statuses/5fa5ca660bd42f3a49b981482c270bf9a3cd5057","head":{"label":"natinusala:master","ref":"master","sha":"5fa5ca660bd42f3a49b981482c270bf9a3cd5057","user":{"login":"natinusala","id":1159464,"node_id":"MDQ6VXNlcjExNTk0NjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1159464?v=4","gravatar_id":"","url":"https://api.github.com/users/natinusala","html_url":"https://github.com/natinusala","followers_url":"https://api.github.com/users/natinusala/followers","following_url":"https://api.github.com/users/natinusala/following{/other_user}","gists_url":"https://api.github.com/users/natinusala/gists{/gist_id}","starred_url":"https://api.github.com/users/natinusala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natinusala/subscriptions","organizations_url":"https://api.github.com/users/natinusala/orgs","repos_url":"https://api.github.com/users/natinusala/repos","events_url":"https://api.github.com/users/natinusala/events{/privacy}","received_events_url":"https://api.github.com/users/natinusala/received_events","type":"User","site_admin":false},"repo":{"id":137388328,"node_id":"MDEwOlJlcG9zaXRvcnkxMzczODgzMjg=","name":"libnx","full_name":"natinusala/libnx","private":false,"owner":{"login":"natinusala","id":1159464,"node_id":"MDQ6VXNlcjExNTk0NjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1159464?v=4","gravatar_id":"","url":"https://api.github.com/users/natinusala","html_url":"https://github.com/natinusala","followers_url":"https://api.github.com/users/natinusala/followers","following_url":"https://api.github.com/users/natinusala/following{/other_user}","gists_url":"https://api.github.com/users/natinusala/gists{/gist_id}","starred_url":"https://api.github.com/users/natinusala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natinusala/subscriptions","organizations_url":"https://api.github.com/users/natinusala/orgs","repos_url":"https://api.github.com/users/natinusala/repos","events_url":"https://api.github.com/users/natinusala/events{/privacy}","received_events_url":"https://api.github.com/users/natinusala/received_events","type":"User","site_admin":false},"html_url":"https://github.com/natinusala/libnx","description":"Library for Switch Homebrew","fork":true,"url":"https://api.github.com/repos/natinusala/libnx","forks_url":"https://api.github.com/repos/natinusala/libnx/forks","keys_url":"https://api.github.com/repos/natinusala/libnx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/natinusala/libnx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/natinusala/libnx/teams","hooks_url":"https://api.github.com/repos/natinusala/libnx/hooks","issue_events_url":"https://api.github.com/repos/natinusala/libnx/issues/events{/number}","events_url":"https://api.github.com/repos/natinusala/libnx/events","assignees_url":"https://api.github.com/repos/natinusala/libnx/assignees{/user}","branches_url":"https://api.github.com/repos/natinusala/libnx/branches{/branch}","tags_url":"https://api.github.com/repos/natinusala/libnx/tags","blobs_url":"https://api.github.com/repos/natinusala/libnx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/natinusala/libnx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/natinusala/libnx/git/refs{/sha}","trees_url":"https://api.github.com/repos/natinusala/libnx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/natinusala/libnx/statuses/{sha}","languages_url":"https://api.github.com/repos/natinusala/libnx/languages","stargazers_url":"https://api.github.com/repos/natinusala/libnx/stargazers","contributors_url":"https://api.github.com/repos/natinusala/libnx/contributors","subscribers_url":"https://api.github.com/repos/natinusala/libnx/subscribers","subscription_url":"https://api.github.com/repos/natinusala/libnx/subscription","commits_url":"https://api.github.com/repos/natinusala/libnx/commits{/sha}","git_commits_url":"https://api.github.com/repos/natinusala/libnx/git/commits{/sha}","comments_url":"https://api.github.com/repos/natinusala/libnx/comments{/number}","issue_comment_url":"https://api.github.com/repos/natinusala/libnx/issues/comments{/number}","contents_url":"https://api.github.com/repos/natinusala/libnx/contents/{+path}","compare_url":"https://api.github.com/repos/natinusala/libnx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/natinusala/libnx/merges","archive_url":"https://api.github.com/repos/natinusala/libnx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/natinusala/libnx/downloads","issues_url":"https://api.github.com/repos/natinusala/libnx/issues{/number}","pulls_url":"https://api.github.com/repos/natinusala/libnx/pulls{/number}","milestones_url":"https://api.github.com/repos/natinusala/libnx/milestones{/number}","notifications_url":"https://api.github.com/repos/natinusala/libnx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/natinusala/libnx/labels{/name}","releases_url":"https://api.github.com/repos/natinusala/libnx/releases{/id}","deployments_url":"https://api.github.com/repos/natinusala/libnx/deployments","created_at":"2018-06-14T17:24:30Z","updated_at":"2019-03-19T08:47:53Z","pushed_at":"2019-03-19T08:47:52Z","git_url":"git://github.com/natinusala/libnx.git","ssh_url":"git@github.com:natinusala/libnx.git","clone_url":"https://github.com/natinusala/libnx.git","svn_url":"https://github.com/natinusala/libnx","homepage":null,"size":2656,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"isc","name":"ISC License","spdx_id":"ISC","url":"https://api.github.com/licenses/isc","node_id":"MDc6TGljZW5zZTEw"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"switchbrew:master","ref":"master","sha":"b49cb8a1a61e746e6c2d1a2a0047fdd51bbc5dc8","user":{"login":"switchbrew","id":31827450,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxODI3NDUw","avatar_url":"https://avatars3.githubusercontent.com/u/31827450?v=4","gravatar_id":"","url":"https://api.github.com/users/switchbrew","html_url":"https://github.com/switchbrew","followers_url":"https://api.github.com/users/switchbrew/followers","following_url":"https://api.github.com/users/switchbrew/following{/other_user}","gists_url":"https://api.github.com/users/switchbrew/gists{/gist_id}","starred_url":"https://api.github.com/users/switchbrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/switchbrew/subscriptions","organizations_url":"https://api.github.com/users/switchbrew/orgs","repos_url":"https://api.github.com/users/switchbrew/repos","events_url":"https://api.github.com/users/switchbrew/events{/privacy}","received_events_url":"https://api.github.com/users/switchbrew/received_events","type":"Organization","site_admin":false},"repo":{"id":103794142,"node_id":"MDEwOlJlcG9zaXRvcnkxMDM3OTQxNDI=","name":"libnx","full_name":"switchbrew/libnx","private":false,"owner":{"login":"switchbrew","id":31827450,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxODI3NDUw","avatar_url":"https://avatars3.githubusercontent.com/u/31827450?v=4","gravatar_id":"","url":"https://api.github.com/users/switchbrew","html_url":"https://github.com/switchbrew","followers_url":"https://api.github.com/users/switchbrew/followers","following_url":"https://api.github.com/users/switchbrew/following{/other_user}","gists_url":"https://api.github.com/users/switchbrew/gists{/gist_id}","starred_url":"https://api.github.com/users/switchbrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/switchbrew/subscriptions","organizations_url":"https://api.github.com/users/switchbrew/orgs","repos_url":"https://api.github.com/users/switchbrew/repos","events_url":"https://api.github.com/users/switchbrew/events{/privacy}","received_events_url":"https://api.github.com/users/switchbrew/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/switchbrew/libnx","description":"Library for Switch Homebrew","fork":false,"url":"https://api.github.com/repos/switchbrew/libnx","forks_url":"https://api.github.com/repos/switchbrew/libnx/forks","keys_url":"https://api.github.com/repos/switchbrew/libnx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/switchbrew/libnx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/switchbrew/libnx/teams","hooks_url":"https://api.github.com/repos/switchbrew/libnx/hooks","issue_events_url":"https://api.github.com/repos/switchbrew/libnx/issues/events{/number}","events_url":"https://api.github.com/repos/switchbrew/libnx/events","assignees_url":"https://api.github.com/repos/switchbrew/libnx/assignees{/user}","branches_url":"https://api.github.com/repos/switchbrew/libnx/branches{/branch}","tags_url":"https://api.github.com/repos/switchbrew/libnx/tags","blobs_url":"https://api.github.com/repos/switchbrew/libnx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/switchbrew/libnx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/switchbrew/libnx/git/refs{/sha}","trees_url":"https://api.github.com/repos/switchbrew/libnx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/switchbrew/libnx/statuses/{sha}","languages_url":"https://api.github.com/repos/switchbrew/libnx/languages","stargazers_url":"https://api.github.com/repos/switchbrew/libnx/stargazers","contributors_url":"https://api.github.com/repos/switchbrew/libnx/contributors","subscribers_url":"https://api.github.com/repos/switchbrew/libnx/subscribers","subscription_url":"https://api.github.com/repos/switchbrew/libnx/subscription","commits_url":"https://api.github.com/repos/switchbrew/libnx/commits{/sha}","git_commits_url":"https://api.github.com/repos/switchbrew/libnx/git/commits{/sha}","comments_url":"https://api.github.com/repos/switchbrew/libnx/comments{/number}","issue_comment_url":"https://api.github.com/repos/switchbrew/libnx/issues/comments{/number}","contents_url":"https://api.github.com/repos/switchbrew/libnx/contents/{+path}","compare_url":"https://api.github.com/repos/switchbrew/libnx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/switchbrew/libnx/merges","archive_url":"https://api.github.com/repos/switchbrew/libnx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/switchbrew/libnx/downloads","issues_url":"https://api.github.com/repos/switchbrew/libnx/issues{/number}","pulls_url":"https://api.github.com/repos/switchbrew/libnx/pulls{/number}","milestones_url":"https://api.github.com/repos/switchbrew/libnx/milestones{/number}","notifications_url":"https://api.github.com/repos/switchbrew/libnx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/switchbrew/libnx/labels{/name}","releases_url":"https://api.github.com/repos/switchbrew/libnx/releases{/id}","deployments_url":"https://api.github.com/repos/switchbrew/libnx/deployments","created_at":"2017-09-17T01:12:38Z","updated_at":"2019-03-18T21:03:59Z","pushed_at":"2019-03-19T08:47:53Z","git_url":"git://github.com/switchbrew/libnx.git","ssh_url":"git@github.com:switchbrew/libnx.git","clone_url":"https://github.com/switchbrew/libnx.git","svn_url":"https://github.com/switchbrew/libnx","homepage":"https://switchbrew.github.io/libnx/","size":2993,"stargazers_count":581,"watchers_count":581,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":92,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"isc","name":"ISC License","spdx_id":"ISC","url":"https://api.github.com/licenses/isc","node_id":"MDc6TGljZW5zZTEw"},"forks":92,"open_issues":4,"watchers":581,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/switchbrew/libnx/pulls/254"},"html":{"href":"https://github.com/switchbrew/libnx/pull/254"},"issue":{"href":"https://api.github.com/repos/switchbrew/libnx/issues/254"},"comments":{"href":"https://api.github.com/repos/switchbrew/libnx/issues/254/comments"},"review_comments":{"href":"https://api.github.com/repos/switchbrew/libnx/pulls/254/comments"},"review_comment":{"href":"https://api.github.com/repos/switchbrew/libnx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/switchbrew/libnx/pulls/254/commits"},"statuses":{"href":"https://api.github.com/repos/switchbrew/libnx/statuses/5fa5ca660bd42f3a49b981482c270bf9a3cd5057"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"yellows8"}}