{"action":"opened","number":3398,"pull_request":{"url":"https://api.github.com/repos/PX4/Firmware/pulls/3398","id":54681081,"html_url":"https://github.com/PX4/Firmware/pull/3398","diff_url":"https://github.com/PX4/Firmware/pull/3398.diff","patch_url":"https://github.com/PX4/Firmware/pull/3398.patch","issue_url":"https://api.github.com/repos/PX4/Firmware/issues/3398","number":3398,"state":"open","locked":false,"title":"Add mavlink log messages handler","user":{"login":"dogmaphobic","id":749243,"avatar_url":"https://avatars.githubusercontent.com/u/749243?v=3","gravatar_id":"","url":"https://api.github.com/users/dogmaphobic","html_url":"https://github.com/dogmaphobic","followers_url":"https://api.github.com/users/dogmaphobic/followers","following_url":"https://api.github.com/users/dogmaphobic/following{/other_user}","gists_url":"https://api.github.com/users/dogmaphobic/gists{/gist_id}","starred_url":"https://api.github.com/users/dogmaphobic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dogmaphobic/subscriptions","organizations_url":"https://api.github.com/users/dogmaphobic/orgs","repos_url":"https://api.github.com/users/dogmaphobic/repos","events_url":"https://api.github.com/users/dogmaphobic/events{/privacy}","received_events_url":"https://api.github.com/users/dogmaphobic/received_events","type":"User","site_admin":false},"body":"Adding a handler for the ```LOG_*``` messages.\r\n\r\nYou start a *session* by calling ```LOG_REQUEST_LIST``` and *end* it by calling ```LOG_REQUEST_END```, which frees the resources allocated for log file processing. The ```LOG_ERASE``` message, which wipes all logs, will also *end* a session.\r\n\r\nLog entries returned by ```LOG_ENTRY``` only contain the size and date. For logs created with no GPS, and therefore, no available date/time, the returned time_utc is computed (from 0 or 00:00 1 Jan 1970) based on the session number and the flight within a session. That will allow the GCS to sort the logs in some fashion.","created_at":"2015-12-28T20:21:32Z","updated_at":"2015-12-28T20:21:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/PX4/Firmware/pulls/3398/commits","review_comments_url":"https://api.github.com/repos/PX4/Firmware/pulls/3398/comments","review_comment_url":"https://api.github.com/repos/PX4/Firmware/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PX4/Firmware/issues/3398/comments","statuses_url":"https://api.github.com/repos/PX4/Firmware/statuses/76cb67ae356e016fa7e315d0d99e8071e88e1a8b","head":{"label":"dogmaphobic:logHandler","ref":"logHandler","sha":"76cb67ae356e016fa7e315d0d99e8071e88e1a8b","user":{"login":"dogmaphobic","id":749243,"avatar_url":"https://avatars.githubusercontent.com/u/749243?v=3","gravatar_id":"","url":"https://api.github.com/users/dogmaphobic","html_url":"https://github.com/dogmaphobic","followers_url":"https://api.github.com/users/dogmaphobic/followers","following_url":"https://api.github.com/users/dogmaphobic/following{/other_user}","gists_url":"https://api.github.com/users/dogmaphobic/gists{/gist_id}","starred_url":"https://api.github.com/users/dogmaphobic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dogmaphobic/subscriptions","organizations_url":"https://api.github.com/users/dogmaphobic/orgs","repos_url":"https://api.github.com/users/dogmaphobic/repos","events_url":"https://api.github.com/users/dogmaphobic/events{/privacy}","received_events_url":"https://api.github.com/users/dogmaphobic/received_events","type":"User","site_admin":false},"repo":{"id":32531426,"name":"Firmware","full_name":"dogmaphobic/Firmware","owner":{"login":"dogmaphobic","id":749243,"avatar_url":"https://avatars.githubusercontent.com/u/749243?v=3","gravatar_id":"","url":"https://api.github.com/users/dogmaphobic","html_url":"https://github.com/dogmaphobic","followers_url":"https://api.github.com/users/dogmaphobic/followers","following_url":"https://api.github.com/users/dogmaphobic/following{/other_user}","gists_url":"https://api.github.com/users/dogmaphobic/gists{/gist_id}","starred_url":"https://api.github.com/users/dogmaphobic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dogmaphobic/subscriptions","organizations_url":"https://api.github.com/users/dogmaphobic/orgs","repos_url":"https://api.github.com/users/dogmaphobic/repos","events_url":"https://api.github.com/users/dogmaphobic/events{/privacy}","received_events_url":"https://api.github.com/users/dogmaphobic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dogmaphobic/Firmware","description":"PX4 Firmware for PX4FMU autopilot and PX4IO servo / failsafe board","fork":true,"url":"https://api.github.com/repos/dogmaphobic/Firmware","forks_url":"https://api.github.com/repos/dogmaphobic/Firmware/forks","keys_url":"https://api.github.com/repos/dogmaphobic/Firmware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dogmaphobic/Firmware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dogmaphobic/Firmware/teams","hooks_url":"https://api.github.com/repos/dogmaphobic/Firmware/hooks","issue_events_url":"https://api.github.com/repos/dogmaphobic/Firmware/issues/events{/number}","events_url":"https://api.github.com/repos/dogmaphobic/Firmware/events","assignees_url":"https://api.github.com/repos/dogmaphobic/Firmware/assignees{/user}","branches_url":"https://api.github.com/repos/dogmaphobic/Firmware/branches{/branch}","tags_url":"https://api.github.com/repos/dogmaphobic/Firmware/tags","blobs_url":"https://api.github.com/repos/dogmaphobic/Firmware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dogmaphobic/Firmware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dogmaphobic/Firmware/git/refs{/sha}","trees_url":"https://api.github.com/repos/dogmaphobic/Firmware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dogmaphobic/Firmware/statuses/{sha}","languages_url":"https://api.github.com/repos/dogmaphobic/Firmware/languages","stargazers_url":"https://api.github.com/repos/dogmaphobic/Firmware/stargazers","contributors_url":"https://api.github.com/repos/dogmaphobic/Firmware/contributors","subscribers_url":"https://api.github.com/repos/dogmaphobic/Firmware/subscribers","subscription_url":"https://api.github.com/repos/dogmaphobic/Firmware/subscription","commits_url":"https://api.github.com/repos/dogmaphobic/Firmware/commits{/sha}","git_commits_url":"https://api.github.com/repos/dogmaphobic/Firmware/git/commits{/sha}","comments_url":"https://api.github.com/repos/dogmaphobic/Firmware/comments{/number}","issue_comment_url":"https://api.github.com/repos/dogmaphobic/Firmware/issues/comments{/number}","contents_url":"https://api.github.com/repos/dogmaphobic/Firmware/contents/{+path}","compare_url":"https://api.github.com/repos/dogmaphobic/Firmware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dogmaphobic/Firmware/merges","archive_url":"https://api.github.com/repos/dogmaphobic/Firmware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dogmaphobic/Firmware/downloads","issues_url":"https://api.github.com/repos/dogmaphobic/Firmware/issues{/number}","pulls_url":"https://api.github.com/repos/dogmaphobic/Firmware/pulls{/number}","milestones_url":"https://api.github.com/repos/dogmaphobic/Firmware/milestones{/number}","notifications_url":"https://api.github.com/repos/dogmaphobic/Firmware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dogmaphobic/Firmware/labels{/name}","releases_url":"https://api.github.com/repos/dogmaphobic/Firmware/releases{/id}","created_at":"2015-03-19T15:56:41Z","updated_at":"2015-04-20T10:03:44Z","pushed_at":"2015-12-28T20:19:13Z","git_url":"git://github.com/dogmaphobic/Firmware.git","ssh_url":"git@github.com:dogmaphobic/Firmware.git","clone_url":"https://github.com/dogmaphobic/Firmware.git","svn_url":"https://github.com/dogmaphobic/Firmware","homepage":"https://pixhawk.ethz.ch/px4/","size":78197,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PX4:master","ref":"master","sha":"ea1439c6273e8e4cbc0ef05ea05a1d6cb325e625","user":{"login":"PX4","id":2096014,"avatar_url":"https://avatars.githubusercontent.com/u/2096014?v=3","gravatar_id":"","url":"https://api.github.com/users/PX4","html_url":"https://github.com/PX4","followers_url":"https://api.github.com/users/PX4/followers","following_url":"https://api.github.com/users/PX4/following{/other_user}","gists_url":"https://api.github.com/users/PX4/gists{/gist_id}","starred_url":"https://api.github.com/users/PX4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PX4/subscriptions","organizations_url":"https://api.github.com/users/PX4/orgs","repos_url":"https://api.github.com/users/PX4/repos","events_url":"https://api.github.com/users/PX4/events{/privacy}","received_events_url":"https://api.github.com/users/PX4/received_events","type":"Organization","site_admin":false},"repo":{"id":5298790,"name":"Firmware","full_name":"PX4/Firmware","owner":{"login":"PX4","id":2096014,"avatar_url":"https://avatars.githubusercontent.com/u/2096014?v=3","gravatar_id":"","url":"https://api.github.com/users/PX4","html_url":"https://github.com/PX4","followers_url":"https://api.github.com/users/PX4/followers","following_url":"https://api.github.com/users/PX4/following{/other_user}","gists_url":"https://api.github.com/users/PX4/gists{/gist_id}","starred_url":"https://api.github.com/users/PX4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PX4/subscriptions","organizations_url":"https://api.github.com/users/PX4/orgs","repos_url":"https://api.github.com/users/PX4/repos","events_url":"https://api.github.com/users/PX4/events{/privacy}","received_events_url":"https://api.github.com/users/PX4/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PX4/Firmware","description":"PX4 Firmware for Pixhawk Hardware","fork":false,"url":"https://api.github.com/repos/PX4/Firmware","forks_url":"https://api.github.com/repos/PX4/Firmware/forks","keys_url":"https://api.github.com/repos/PX4/Firmware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PX4/Firmware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PX4/Firmware/teams","hooks_url":"https://api.github.com/repos/PX4/Firmware/hooks","issue_events_url":"https://api.github.com/repos/PX4/Firmware/issues/events{/number}","events_url":"https://api.github.com/repos/PX4/Firmware/events","assignees_url":"https://api.github.com/repos/PX4/Firmware/assignees{/user}","branches_url":"https://api.github.com/repos/PX4/Firmware/branches{/branch}","tags_url":"https://api.github.com/repos/PX4/Firmware/tags","blobs_url":"https://api.github.com/repos/PX4/Firmware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PX4/Firmware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PX4/Firmware/git/refs{/sha}","trees_url":"https://api.github.com/repos/PX4/Firmware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PX4/Firmware/statuses/{sha}","languages_url":"https://api.github.com/repos/PX4/Firmware/languages","stargazers_url":"https://api.github.com/repos/PX4/Firmware/stargazers","contributors_url":"https://api.github.com/repos/PX4/Firmware/contributors","subscribers_url":"https://api.github.com/repos/PX4/Firmware/subscribers","subscription_url":"https://api.github.com/repos/PX4/Firmware/subscription","commits_url":"https://api.github.com/repos/PX4/Firmware/commits{/sha}","git_commits_url":"https://api.github.com/repos/PX4/Firmware/git/commits{/sha}","comments_url":"https://api.github.com/repos/PX4/Firmware/comments{/number}","issue_comment_url":"https://api.github.com/repos/PX4/Firmware/issues/comments{/number}","contents_url":"https://api.github.com/repos/PX4/Firmware/contents/{+path}","compare_url":"https://api.github.com/repos/PX4/Firmware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PX4/Firmware/merges","archive_url":"https://api.github.com/repos/PX4/Firmware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PX4/Firmware/downloads","issues_url":"https://api.github.com/repos/PX4/Firmware/issues{/number}","pulls_url":"https://api.github.com/repos/PX4/Firmware/pulls{/number}","milestones_url":"https://api.github.com/repos/PX4/Firmware/milestones{/number}","notifications_url":"https://api.github.com/repos/PX4/Firmware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PX4/Firmware/labels{/name}","releases_url":"https://api.github.com/repos/PX4/Firmware/releases{/id}","created_at":"2012-08-04T21:19:36Z","updated_at":"2015-12-27T16:53:02Z","pushed_at":"2015-12-28T16:00:01Z","git_url":"git://github.com/PX4/Firmware.git","ssh_url":"git@github.com:PX4/Firmware.git","clone_url":"https://github.com/PX4/Firmware.git","svn_url":"https://github.com/PX4/Firmware","homepage":"http://px4.io","size":102528,"stargazers_count":465,"watchers_count":465,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1722,"mirror_url":null,"open_issues_count":265,"forks":1722,"open_issues":265,"watchers":465,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PX4/Firmware/pulls/3398"},"html":{"href":"https://github.com/PX4/Firmware/pull/3398"},"issue":{"href":"https://api.github.com/repos/PX4/Firmware/issues/3398"},"comments":{"href":"https://api.github.com/repos/PX4/Firmware/issues/3398/comments"},"review_comments":{"href":"https://api.github.com/repos/PX4/Firmware/pulls/3398/comments"},"review_comment":{"href":"https://api.github.com/repos/PX4/Firmware/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PX4/Firmware/pulls/3398/commits"},"statuses":{"href":"https://api.github.com/repos/PX4/Firmware/statuses/76cb67ae356e016fa7e315d0d99e8071e88e1a8b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":659,"deletions":0,"changed_files":6}}