{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/helium/gateway-config/pulls/6","id":238949119,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4OTQ5MTE5","html_url":"https://github.com/helium/gateway-config/pull/6","diff_url":"https://github.com/helium/gateway-config/pull/6.diff","patch_url":"https://github.com/helium/gateway-config/pull/6.patch","issue_url":"https://api.github.com/repos/helium/gateway-config/issues/6","number":6,"state":"open","locked":false,"title":"handle disabled wifi status","user":{"login":"fvasquez","id":905410,"node_id":"MDQ6VXNlcjkwNTQxMA==","avatar_url":"https://avatars3.githubusercontent.com/u/905410?v=4","gravatar_id":"","url":"https://api.github.com/users/fvasquez","html_url":"https://github.com/fvasquez","followers_url":"https://api.github.com/users/fvasquez/followers","following_url":"https://api.github.com/users/fvasquez/following{/other_user}","gists_url":"https://api.github.com/users/fvasquez/gists{/gist_id}","starred_url":"https://api.github.com/users/fvasquez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvasquez/subscriptions","organizations_url":"https://api.github.com/users/fvasquez/orgs","repos_url":"https://api.github.com/users/fvasquez/repos","events_url":"https://api.github.com/users/fvasquez/events{/privacy}","received_events_url":"https://api.github.com/users/fvasquez/received_events","type":"User","site_admin":false},"body":"```\r\n# cat /var/log/gateway_config/console.log \r\n1970-01-01 00:04:39.834 [info] <0.517.0>@gatt_advertisement:handle_info:99 Started advertisement gateway_gatt_advertisement\r\n1970-01-01 00:04:39.870 [error] <0.522.0>@gateway_gatt_char_wifi_status:value_to_binary:79 CRASH REPORT Process <0.522.0> with 0 neighbours crashed with reason: no function clause matching gateway_gatt_char_wifi_status:value_to_binary(disabled) line 79\r\n\r\n=CRASH REPORT==== 1-Jan-1970::00:18:05.524577 ===\r\n  crasher:\r\n    initial call: ebus_object:init/1\r\n    pid: <0.522.0>\r\n    registered_name: []\r\n    exception error: no function clause matching \r\n                     gateway_gatt_char_wifi_status:value_to_binary(disabled) (/home/frank/nextgate/rootfs/output/build/gateway-config-0aebbe01b391f4bad54f630fd32a71e101f7e792/src/gateway_gatt_char_wifi_status.erl, line 79)\r\n      in function  gateway_gatt_char_wifi_status:init/2 (/home/frank/nextgate/rootfs/output/build/gateway-config-0aebbe01b391f4bad54f630fd32a71e101f7e792/src/gateway_gatt_char_wifi_status.erl, line 33)\r\n      in call from gatt_characteristic:init/1 (/home/frank/nextgate/rootfs/output/build/gateway-config-0aebbe01b391f4bad54f630fd32a71e101f7e792/_build/default/lib/gatt/src/gatt_characteristic.erl, line 53)\r\n      in call from gatt_service:start_characteristic/2 (/home/frank/nextgate/rootfs/output/build/gateway-config-0aebbe01b391f4bad54f630fd32a71e101f7e792/_build/default/lib/gatt/src/gatt_service.erl, line 217)\r\n      in call from gatt_service:'-init/1-fun-0-'/2 (/home/frank/nextgate/rootfs/output/build/gateway-config-0aebbe01b391f4bad54f630fd32a71e101f7e792/_build/default/lib/gatt/src/gatt_service.erl, line 85)\r\n      in call from lists:foldl/3 (lists.erl, line 1263)\r\n      in call from gatt_service:init/1 (/home/frank/nextgate/rootfs/output/build/gateway-config-0aebbe01b391f4bad54f630fd32a71e101f7e792/_build/default/lib/gatt/src/gatt_service.erl, line 83)\r\n      in call from ebus_object:init/1 (/home/frank/nextgate/rootfs/output/build/gateway-config-0aebbe01b391f4bad54f630fd32a71e101f7e792/_build/default/lib/ebus/src/ebus_object.erl, line 76)\r\n    ancestors: [<0.520.0>,<0.514.0>,gatt_sup,<0.489.0>]\r\n    message_queue_len: 1\r\n    messages: [enable_wifi]\r\n    links: [<0.520.0>]\r\n    dictionary: []\r\n    trap_exit: false\r\n    status: running\r\n    heap_size: 2586\r\n    stack_size: 27\r\n    reductions: 491\r\n  neighbours:\r\n```","created_at":"2018-12-16T06:20:10Z","updated_at":"2018-12-16T06:20:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/helium/gateway-config/pulls/6/commits","review_comments_url":"https://api.github.com/repos/helium/gateway-config/pulls/6/comments","review_comment_url":"https://api.github.com/repos/helium/gateway-config/pulls/comments{/number}","comments_url":"https://api.github.com/repos/helium/gateway-config/issues/6/comments","statuses_url":"https://api.github.com/repos/helium/gateway-config/statuses/0701e7bb70ed05a0dda35aa60742f3b7a35fa836","head":{"label":"helium:disabled","ref":"disabled","sha":"0701e7bb70ed05a0dda35aa60742f3b7a35fa836","user":{"login":"helium","id":6635330,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY2MzUzMzA=","avatar_url":"https://avatars1.githubusercontent.com/u/6635330?v=4","gravatar_id":"","url":"https://api.github.com/users/helium","html_url":"https://github.com/helium","followers_url":"https://api.github.com/users/helium/followers","following_url":"https://api.github.com/users/helium/following{/other_user}","gists_url":"https://api.github.com/users/helium/gists{/gist_id}","starred_url":"https://api.github.com/users/helium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helium/subscriptions","organizations_url":"https://api.github.com/users/helium/orgs","repos_url":"https://api.github.com/users/helium/repos","events_url":"https://api.github.com/users/helium/events{/privacy}","received_events_url":"https://api.github.com/users/helium/received_events","type":"Organization","site_admin":false},"repo":{"id":152754579,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI3NTQ1Nzk=","name":"gateway-config","full_name":"helium/gateway-config","private":false,"owner":{"login":"helium","id":6635330,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY2MzUzMzA=","avatar_url":"https://avatars1.githubusercontent.com/u/6635330?v=4","gravatar_id":"","url":"https://api.github.com/users/helium","html_url":"https://github.com/helium","followers_url":"https://api.github.com/users/helium/followers","following_url":"https://api.github.com/users/helium/following{/other_user}","gists_url":"https://api.github.com/users/helium/gists{/gist_id}","starred_url":"https://api.github.com/users/helium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helium/subscriptions","organizations_url":"https://api.github.com/users/helium/orgs","repos_url":"https://api.github.com/users/helium/repos","events_url":"https://api.github.com/users/helium/events{/privacy}","received_events_url":"https://api.github.com/users/helium/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/helium/gateway-config","description":"The Helium configuration application. Enables configuring the Helium Hotspot over Bluetooth","fork":false,"url":"https://api.github.com/repos/helium/gateway-config","forks_url":"https://api.github.com/repos/helium/gateway-config/forks","keys_url":"https://api.github.com/repos/helium/gateway-config/keys{/key_id}","collaborators_url":"https://api.github.com/repos/helium/gateway-config/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/helium/gateway-config/teams","hooks_url":"https://api.github.com/repos/helium/gateway-config/hooks","issue_events_url":"https://api.github.com/repos/helium/gateway-config/issues/events{/number}","events_url":"https://api.github.com/repos/helium/gateway-config/events","assignees_url":"https://api.github.com/repos/helium/gateway-config/assignees{/user}","branches_url":"https://api.github.com/repos/helium/gateway-config/branches{/branch}","tags_url":"https://api.github.com/repos/helium/gateway-config/tags","blobs_url":"https://api.github.com/repos/helium/gateway-config/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/helium/gateway-config/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/helium/gateway-config/git/refs{/sha}","trees_url":"https://api.github.com/repos/helium/gateway-config/git/trees{/sha}","statuses_url":"https://api.github.com/repos/helium/gateway-config/statuses/{sha}","languages_url":"https://api.github.com/repos/helium/gateway-config/languages","stargazers_url":"https://api.github.com/repos/helium/gateway-config/stargazers","contributors_url":"https://api.github.com/repos/helium/gateway-config/contributors","subscribers_url":"https://api.github.com/repos/helium/gateway-config/subscribers","subscription_url":"https://api.github.com/repos/helium/gateway-config/subscription","commits_url":"https://api.github.com/repos/helium/gateway-config/commits{/sha}","git_commits_url":"https://api.github.com/repos/helium/gateway-config/git/commits{/sha}","comments_url":"https://api.github.com/repos/helium/gateway-config/comments{/number}","issue_comment_url":"https://api.github.com/repos/helium/gateway-config/issues/comments{/number}","contents_url":"https://api.github.com/repos/helium/gateway-config/contents/{+path}","compare_url":"https://api.github.com/repos/helium/gateway-config/compare/{base}...{head}","merges_url":"https://api.github.com/repos/helium/gateway-config/merges","archive_url":"https://api.github.com/repos/helium/gateway-config/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/helium/gateway-config/downloads","issues_url":"https://api.github.com/repos/helium/gateway-config/issues{/number}","pulls_url":"https://api.github.com/repos/helium/gateway-config/pulls{/number}","milestones_url":"https://api.github.com/repos/helium/gateway-config/milestones{/number}","notifications_url":"https://api.github.com/repos/helium/gateway-config/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/helium/gateway-config/labels{/name}","releases_url":"https://api.github.com/repos/helium/gateway-config/releases{/id}","deployments_url":"https://api.github.com/repos/helium/gateway-config/deployments","created_at":"2018-10-12T13:27:39Z","updated_at":"2018-12-16T02:13:25Z","pushed_at":"2018-12-16T05:49:36Z","git_url":"git://github.com/helium/gateway-config.git","ssh_url":"git@github.com:helium/gateway-config.git","clone_url":"https://github.com/helium/gateway-config.git","svn_url":"https://github.com/helium/gateway-config","homepage":null,"size":1646,"stargazers_count":1,"watchers_count":1,"language":"Erlang","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"helium:master","ref":"master","sha":"0aebbe01b391f4bad54f630fd32a71e101f7e792","user":{"login":"helium","id":6635330,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY2MzUzMzA=","avatar_url":"https://avatars1.githubusercontent.com/u/6635330?v=4","gravatar_id":"","url":"https://api.github.com/users/helium","html_url":"https://github.com/helium","followers_url":"https://api.github.com/users/helium/followers","following_url":"https://api.github.com/users/helium/following{/other_user}","gists_url":"https://api.github.com/users/helium/gists{/gist_id}","starred_url":"https://api.github.com/users/helium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helium/subscriptions","organizations_url":"https://api.github.com/users/helium/orgs","repos_url":"https://api.github.com/users/helium/repos","events_url":"https://api.github.com/users/helium/events{/privacy}","received_events_url":"https://api.github.com/users/helium/received_events","type":"Organization","site_admin":false},"repo":{"id":152754579,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI3NTQ1Nzk=","name":"gateway-config","full_name":"helium/gateway-config","private":false,"owner":{"login":"helium","id":6635330,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY2MzUzMzA=","avatar_url":"https://avatars1.githubusercontent.com/u/6635330?v=4","gravatar_id":"","url":"https://api.github.com/users/helium","html_url":"https://github.com/helium","followers_url":"https://api.github.com/users/helium/followers","following_url":"https://api.github.com/users/helium/following{/other_user}","gists_url":"https://api.github.com/users/helium/gists{/gist_id}","starred_url":"https://api.github.com/users/helium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helium/subscriptions","organizations_url":"https://api.github.com/users/helium/orgs","repos_url":"https://api.github.com/users/helium/repos","events_url":"https://api.github.com/users/helium/events{/privacy}","received_events_url":"https://api.github.com/users/helium/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/helium/gateway-config","description":"The Helium configuration application. Enables configuring the Helium Hotspot over Bluetooth","fork":false,"url":"https://api.github.com/repos/helium/gateway-config","forks_url":"https://api.github.com/repos/helium/gateway-config/forks","keys_url":"https://api.github.com/repos/helium/gateway-config/keys{/key_id}","collaborators_url":"https://api.github.com/repos/helium/gateway-config/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/helium/gateway-config/teams","hooks_url":"https://api.github.com/repos/helium/gateway-config/hooks","issue_events_url":"https://api.github.com/repos/helium/gateway-config/issues/events{/number}","events_url":"https://api.github.com/repos/helium/gateway-config/events","assignees_url":"https://api.github.com/repos/helium/gateway-config/assignees{/user}","branches_url":"https://api.github.com/repos/helium/gateway-config/branches{/branch}","tags_url":"https://api.github.com/repos/helium/gateway-config/tags","blobs_url":"https://api.github.com/repos/helium/gateway-config/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/helium/gateway-config/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/helium/gateway-config/git/refs{/sha}","trees_url":"https://api.github.com/repos/helium/gateway-config/git/trees{/sha}","statuses_url":"https://api.github.com/repos/helium/gateway-config/statuses/{sha}","languages_url":"https://api.github.com/repos/helium/gateway-config/languages","stargazers_url":"https://api.github.com/repos/helium/gateway-config/stargazers","contributors_url":"https://api.github.com/repos/helium/gateway-config/contributors","subscribers_url":"https://api.github.com/repos/helium/gateway-config/subscribers","subscription_url":"https://api.github.com/repos/helium/gateway-config/subscription","commits_url":"https://api.github.com/repos/helium/gateway-config/commits{/sha}","git_commits_url":"https://api.github.com/repos/helium/gateway-config/git/commits{/sha}","comments_url":"https://api.github.com/repos/helium/gateway-config/comments{/number}","issue_comment_url":"https://api.github.com/repos/helium/gateway-config/issues/comments{/number}","contents_url":"https://api.github.com/repos/helium/gateway-config/contents/{+path}","compare_url":"https://api.github.com/repos/helium/gateway-config/compare/{base}...{head}","merges_url":"https://api.github.com/repos/helium/gateway-config/merges","archive_url":"https://api.github.com/repos/helium/gateway-config/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/helium/gateway-config/downloads","issues_url":"https://api.github.com/repos/helium/gateway-config/issues{/number}","pulls_url":"https://api.github.com/repos/helium/gateway-config/pulls{/number}","milestones_url":"https://api.github.com/repos/helium/gateway-config/milestones{/number}","notifications_url":"https://api.github.com/repos/helium/gateway-config/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/helium/gateway-config/labels{/name}","releases_url":"https://api.github.com/repos/helium/gateway-config/releases{/id}","deployments_url":"https://api.github.com/repos/helium/gateway-config/deployments","created_at":"2018-10-12T13:27:39Z","updated_at":"2018-12-16T02:13:25Z","pushed_at":"2018-12-16T05:49:36Z","git_url":"git://github.com/helium/gateway-config.git","ssh_url":"git@github.com:helium/gateway-config.git","clone_url":"https://github.com/helium/gateway-config.git","svn_url":"https://github.com/helium/gateway-config","homepage":null,"size":1646,"stargazers_count":1,"watchers_count":1,"language":"Erlang","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/helium/gateway-config/pulls/6"},"html":{"href":"https://github.com/helium/gateway-config/pull/6"},"issue":{"href":"https://api.github.com/repos/helium/gateway-config/issues/6"},"comments":{"href":"https://api.github.com/repos/helium/gateway-config/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/helium/gateway-config/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/helium/gateway-config/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/helium/gateway-config/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/helium/gateway-config/statuses/0701e7bb70ed05a0dda35aa60742f3b7a35fa836"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":3,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"fvasquez"}}