{"action":"created","issue":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/2627","repository_url":"https://api.github.com/repos/ARMmbed/mbed-os","labels_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/2627/labels{/name}","comments_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/2627/comments","events_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/2627/events","html_url":"https://github.com/ARMmbed/mbed-os/pull/2627","id":175204104,"number":2627,"title":"Extend and rework WiFi interface","user":{"login":"bulislaw","id":107253,"avatar_url":"https://avatars.githubusercontent.com/u/107253?v=3","gravatar_id":"","url":"https://api.github.com/users/bulislaw","html_url":"https://github.com/bulislaw","followers_url":"https://api.github.com/users/bulislaw/followers","following_url":"https://api.github.com/users/bulislaw/following{/other_user}","gists_url":"https://api.github.com/users/bulislaw/gists{/gist_id}","starred_url":"https://api.github.com/users/bulislaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bulislaw/subscriptions","organizations_url":"https://api.github.com/users/bulislaw/orgs","repos_url":"https://api.github.com/users/bulislaw/repos","events_url":"https://api.github.com/users/bulislaw/events{/privacy}","received_events_url":"https://api.github.com/users/bulislaw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-06T09:43:55Z","updated_at":"2016-09-06T10:19:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/pulls/2627","html_url":"https://github.com/ARMmbed/mbed-os/pull/2627","diff_url":"https://github.com/ARMmbed/mbed-os/pull/2627.diff","patch_url":"https://github.com/ARMmbed/mbed-os/pull/2627.patch"},"body":"General refactoring of the API and two new methods added:\r\n  * get_rssi() - measures radio signal strenght\r\n  * get_state() - which returns current state (not connected,\r\n   \t\t connecting, connected, error)\r\n\r\n@lauri-piikivi @sg- \r\n\r\nI changed how the get_rssi function works, comparing to what Lauri proposed. It's more in line in how other IOT SDKs work and also it's simpler. It only fetches current RSSI, if application wants to average it out over multiple measurements it can always wrap it in a loop, but I think it's probably good enough for most people."},"comment":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/comments/244909500","html_url":"https://github.com/ARMmbed/mbed-os/pull/2627#issuecomment-244909500","issue_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/2627","id":244909500,"user":{"login":"lauri-piikivi","id":19302173,"avatar_url":"https://avatars.githubusercontent.com/u/19302173?v=3","gravatar_id":"","url":"https://api.github.com/users/lauri-piikivi","html_url":"https://github.com/lauri-piikivi","followers_url":"https://api.github.com/users/lauri-piikivi/followers","following_url":"https://api.github.com/users/lauri-piikivi/following{/other_user}","gists_url":"https://api.github.com/users/lauri-piikivi/gists{/gist_id}","starred_url":"https://api.github.com/users/lauri-piikivi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lauri-piikivi/subscriptions","organizations_url":"https://api.github.com/users/lauri-piikivi/orgs","repos_url":"https://api.github.com/users/lauri-piikivi/repos","events_url":"https://api.github.com/users/lauri-piikivi/events{/privacy}","received_events_url":"https://api.github.com/users/lauri-piikivi/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T10:19:23Z","updated_at":"2016-09-06T10:19:23Z","body":"customer wanted the method to scan_ssid to find available networks. I would make it simple, return a list of found networks, which can be empty if error happened. this method should be added at same time as this rss and state methods"}}
{"actor":{"display_login":"lauri-piikivi"}}