{"action":"opened","number":6068,"pull_request":{"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/6068","id":168138829,"html_url":"https://github.com/zephyrproject-rtos/zephyr/pull/6068","diff_url":"https://github.com/zephyrproject-rtos/zephyr/pull/6068.diff","patch_url":"https://github.com/zephyrproject-rtos/zephyr/pull/6068.patch","issue_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/6068","number":6068,"state":"open","locked":false,"title":"mcumgr external library + zephyr support code","user":{"login":"ccollins476ad","id":13006531,"avatar_url":"https://avatars0.githubusercontent.com/u/13006531?v=4","gravatar_id":"","url":"https://api.github.com/users/ccollins476ad","html_url":"https://github.com/ccollins476ad","followers_url":"https://api.github.com/users/ccollins476ad/followers","following_url":"https://api.github.com/users/ccollins476ad/following{/other_user}","gists_url":"https://api.github.com/users/ccollins476ad/gists{/gist_id}","starred_url":"https://api.github.com/users/ccollins476ad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccollins476ad/subscriptions","organizations_url":"https://api.github.com/users/ccollins476ad/orgs","repos_url":"https://api.github.com/users/ccollins476ad/repos","events_url":"https://api.github.com/users/ccollins476ad/events{/privacy}","received_events_url":"https://api.github.com/users/ccollins476ad/received_events","type":"User","site_admin":false},"body":"This PR does two things:\r\n1. Bring the mcumgr library into the `ext/` directory\r\n2. Adds additional code necessary for mcumgr to hook into zephyr.\r\n\r\nThe goal of mcumgr is to define a common management infrastructure with pluggable transport and encoding components.  In addition, mcumgr provides definitions and handlers for some core commands: e.g., image management, file system management, and OS managment.  The mcumgr github repo contains more information: https://github.com/apache/mynewt-mcumgr\r\n\r\nThe first two commits bring mcumgr into the zephyr repo.  The remaining commits add support code.  Briefly, functionality added with support code is:\r\n* Expose additional MCUboot state for image management.\r\n* Modification of the shell to allow mcumgr the transmission of mcumgr requests and responses.\r\n* A UART driver to be used for transmission of mcumgr requests and responses (as an alternative to the shell transport).\r\n* Definition of the mcumgr Bluetooth service, used for transmission of mucmgr requests and responses.\r\n* Addition of a managed log (mdlog) that is agnostic to its underlying medium.\r\n* Addition of retrievable statistics.\r\n\r\nNote: This PR depends on the the bug fix in https://github.com/zephyrproject-rtos/zephyr/pull/6065","created_at":"2018-02-09T02:25:09Z","updated_at":"2018-02-09T02:25:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/6068/commits","review_comments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/6068/comments","review_comment_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/6068/comments","statuses_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/statuses/c8d91fd3165955179ddc966e00916b0f0744c20a","head":{"label":"ccollins476ad:mcumgr","ref":"mcumgr","sha":"c8d91fd3165955179ddc966e00916b0f0744c20a","user":{"login":"ccollins476ad","id":13006531,"avatar_url":"https://avatars0.githubusercontent.com/u/13006531?v=4","gravatar_id":"","url":"https://api.github.com/users/ccollins476ad","html_url":"https://github.com/ccollins476ad","followers_url":"https://api.github.com/users/ccollins476ad/followers","following_url":"https://api.github.com/users/ccollins476ad/following{/other_user}","gists_url":"https://api.github.com/users/ccollins476ad/gists{/gist_id}","starred_url":"https://api.github.com/users/ccollins476ad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccollins476ad/subscriptions","organizations_url":"https://api.github.com/users/ccollins476ad/orgs","repos_url":"https://api.github.com/users/ccollins476ad/repos","events_url":"https://api.github.com/users/ccollins476ad/events{/privacy}","received_events_url":"https://api.github.com/users/ccollins476ad/received_events","type":"User","site_admin":false},"repo":{"id":114179143,"name":"zephyr","full_name":"ccollins476ad/zephyr","owner":{"login":"ccollins476ad","id":13006531,"avatar_url":"https://avatars0.githubusercontent.com/u/13006531?v=4","gravatar_id":"","url":"https://api.github.com/users/ccollins476ad","html_url":"https://github.com/ccollins476ad","followers_url":"https://api.github.com/users/ccollins476ad/followers","following_url":"https://api.github.com/users/ccollins476ad/following{/other_user}","gists_url":"https://api.github.com/users/ccollins476ad/gists{/gist_id}","starred_url":"https://api.github.com/users/ccollins476ad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccollins476ad/subscriptions","organizations_url":"https://api.github.com/users/ccollins476ad/orgs","repos_url":"https://api.github.com/users/ccollins476ad/repos","events_url":"https://api.github.com/users/ccollins476ad/events{/privacy}","received_events_url":"https://api.github.com/users/ccollins476ad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ccollins476ad/zephyr","description":"Primary GIT Repository for the Zephyr Project","fork":true,"url":"https://api.github.com/repos/ccollins476ad/zephyr","forks_url":"https://api.github.com/repos/ccollins476ad/zephyr/forks","keys_url":"https://api.github.com/repos/ccollins476ad/zephyr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ccollins476ad/zephyr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ccollins476ad/zephyr/teams","hooks_url":"https://api.github.com/repos/ccollins476ad/zephyr/hooks","issue_events_url":"https://api.github.com/repos/ccollins476ad/zephyr/issues/events{/number}","events_url":"https://api.github.com/repos/ccollins476ad/zephyr/events","assignees_url":"https://api.github.com/repos/ccollins476ad/zephyr/assignees{/user}","branches_url":"https://api.github.com/repos/ccollins476ad/zephyr/branches{/branch}","tags_url":"https://api.github.com/repos/ccollins476ad/zephyr/tags","blobs_url":"https://api.github.com/repos/ccollins476ad/zephyr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ccollins476ad/zephyr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ccollins476ad/zephyr/git/refs{/sha}","trees_url":"https://api.github.com/repos/ccollins476ad/zephyr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ccollins476ad/zephyr/statuses/{sha}","languages_url":"https://api.github.com/repos/ccollins476ad/zephyr/languages","stargazers_url":"https://api.github.com/repos/ccollins476ad/zephyr/stargazers","contributors_url":"https://api.github.com/repos/ccollins476ad/zephyr/contributors","subscribers_url":"https://api.github.com/repos/ccollins476ad/zephyr/subscribers","subscription_url":"https://api.github.com/repos/ccollins476ad/zephyr/subscription","commits_url":"https://api.github.com/repos/ccollins476ad/zephyr/commits{/sha}","git_commits_url":"https://api.github.com/repos/ccollins476ad/zephyr/git/commits{/sha}","comments_url":"https://api.github.com/repos/ccollins476ad/zephyr/comments{/number}","issue_comment_url":"https://api.github.com/repos/ccollins476ad/zephyr/issues/comments{/number}","contents_url":"https://api.github.com/repos/ccollins476ad/zephyr/contents/{+path}","compare_url":"https://api.github.com/repos/ccollins476ad/zephyr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ccollins476ad/zephyr/merges","archive_url":"https://api.github.com/repos/ccollins476ad/zephyr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ccollins476ad/zephyr/downloads","issues_url":"https://api.github.com/repos/ccollins476ad/zephyr/issues{/number}","pulls_url":"https://api.github.com/repos/ccollins476ad/zephyr/pulls{/number}","milestones_url":"https://api.github.com/repos/ccollins476ad/zephyr/milestones{/number}","notifications_url":"https://api.github.com/repos/ccollins476ad/zephyr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ccollins476ad/zephyr/labels{/name}","releases_url":"https://api.github.com/repos/ccollins476ad/zephyr/releases{/id}","deployments_url":"https://api.github.com/repos/ccollins476ad/zephyr/deployments","created_at":"2017-12-13T23:21:37Z","updated_at":"2017-12-13T23:22:09Z","pushed_at":"2018-02-09T02:05:15Z","git_url":"git://github.com/ccollins476ad/zephyr.git","ssh_url":"git@github.com:ccollins476ad/zephyr.git","clone_url":"https://github.com/ccollins476ad/zephyr.git","svn_url":"https://github.com/ccollins476ad/zephyr","homepage":"http://zephyrproject.org/doc","size":102533,"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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"zephyrproject-rtos:master","ref":"master","sha":"0225e952ff85b597fdefa4a98a1c4532bbdee570","user":{"login":"zephyrproject-rtos","id":19595895,"avatar_url":"https://avatars2.githubusercontent.com/u/19595895?v=4","gravatar_id":"","url":"https://api.github.com/users/zephyrproject-rtos","html_url":"https://github.com/zephyrproject-rtos","followers_url":"https://api.github.com/users/zephyrproject-rtos/followers","following_url":"https://api.github.com/users/zephyrproject-rtos/following{/other_user}","gists_url":"https://api.github.com/users/zephyrproject-rtos/gists{/gist_id}","starred_url":"https://api.github.com/users/zephyrproject-rtos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zephyrproject-rtos/subscriptions","organizations_url":"https://api.github.com/users/zephyrproject-rtos/orgs","repos_url":"https://api.github.com/users/zephyrproject-rtos/repos","events_url":"https://api.github.com/users/zephyrproject-rtos/events{/privacy}","received_events_url":"https://api.github.com/users/zephyrproject-rtos/received_events","type":"Organization","site_admin":false},"repo":{"id":59771425,"name":"zephyr","full_name":"zephyrproject-rtos/zephyr","owner":{"login":"zephyrproject-rtos","id":19595895,"avatar_url":"https://avatars2.githubusercontent.com/u/19595895?v=4","gravatar_id":"","url":"https://api.github.com/users/zephyrproject-rtos","html_url":"https://github.com/zephyrproject-rtos","followers_url":"https://api.github.com/users/zephyrproject-rtos/followers","following_url":"https://api.github.com/users/zephyrproject-rtos/following{/other_user}","gists_url":"https://api.github.com/users/zephyrproject-rtos/gists{/gist_id}","starred_url":"https://api.github.com/users/zephyrproject-rtos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zephyrproject-rtos/subscriptions","organizations_url":"https://api.github.com/users/zephyrproject-rtos/orgs","repos_url":"https://api.github.com/users/zephyrproject-rtos/repos","events_url":"https://api.github.com/users/zephyrproject-rtos/events{/privacy}","received_events_url":"https://api.github.com/users/zephyrproject-rtos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zephyrproject-rtos/zephyr","description":"Primary GIT Repository for the Zephyr Project","fork":false,"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr","forks_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/forks","keys_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/teams","hooks_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/hooks","issue_events_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/events{/number}","events_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/events","assignees_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/assignees{/user}","branches_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/branches{/branch}","tags_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/tags","blobs_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/git/refs{/sha}","trees_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/statuses/{sha}","languages_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/languages","stargazers_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/stargazers","contributors_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/contributors","subscribers_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/subscribers","subscription_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/subscription","commits_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/commits{/sha}","git_commits_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/git/commits{/sha}","comments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/comments{/number}","issue_comment_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/comments{/number}","contents_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/contents/{+path}","compare_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/merges","archive_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/downloads","issues_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues{/number}","pulls_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls{/number}","milestones_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/milestones{/number}","notifications_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/labels{/name}","releases_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/releases{/id}","deployments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/deployments","created_at":"2016-05-26T17:54:19Z","updated_at":"2018-02-08T11:00:04Z","pushed_at":"2018-02-09T00:49:01Z","git_url":"git://github.com/zephyrproject-rtos/zephyr.git","ssh_url":"git@github.com:zephyrproject-rtos/zephyr.git","clone_url":"https://github.com/zephyrproject-rtos/zephyr.git","svn_url":"https://github.com/zephyrproject-rtos/zephyr","homepage":"http://zephyrproject.org/doc","size":100800,"stargazers_count":627,"watchers_count":627,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":449,"mirror_url":null,"archived":false,"open_issues_count":758,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":449,"open_issues":758,"watchers":627,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/6068"},"html":{"href":"https://github.com/zephyrproject-rtos/zephyr/pull/6068"},"issue":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/6068"},"comments":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/6068/comments"},"review_comments":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/6068/comments"},"review_comment":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/6068/commits"},"statuses":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/statuses/c8d91fd3165955179ddc966e00916b0f0744c20a"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":16,"additions":14424,"deletions":32,"changed_files":164}}
{"actor":{"display_login":"ccollins476ad"}}