{"action":"closed","number":2183,"pull_request":{"url":"https://api.github.com/repos/solettaproject/soletta/pulls/2183","id":74310197,"html_url":"https://github.com/solettaproject/soletta/pull/2183","diff_url":"https://github.com/solettaproject/soletta/pull/2183.diff","patch_url":"https://github.com/solettaproject/soletta/pull/2183.patch","issue_url":"https://api.github.com/repos/solettaproject/soletta/issues/2183","number":2183,"state":"closed","locked":false,"title":"WIP: lwm2m: adding the Bootstrap Interface [v2]","user":{"login":"bsmelo","id":15204241,"avatar_url":"https://avatars.githubusercontent.com/u/15204241?v=3","gravatar_id":"","url":"https://api.github.com/users/bsmelo","html_url":"https://github.com/bsmelo","followers_url":"https://api.github.com/users/bsmelo/followers","following_url":"https://api.github.com/users/bsmelo/following{/other_user}","gists_url":"https://api.github.com/users/bsmelo/gists{/gist_id}","starred_url":"https://api.github.com/users/bsmelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsmelo/subscriptions","organizations_url":"https://api.github.com/users/bsmelo/orgs","repos_url":"https://api.github.com/users/bsmelo/repos","events_url":"https://api.github.com/users/bsmelo/events{/privacy}","received_events_url":"https://api.github.com/users/bsmelo/received_events","type":"User","site_admin":false},"body":"Main changes from v1 (#2178):\r\n- Infra\r\n - Added list of clients to `sol_lwm2m_bootstrap_server`.\r\n - Refactored all `*_{add, del}_monitor*` functions.\r\n - Removed is_bootstrap flag from server_connection_ctx_* functions.\r\n - Removing the deleted instances after calling the del callback from the client.\r\n - Setting up the CoAP resources for the instances after Bootstrap Write.\r\n\r\n- Samples\r\n - bs-server: Chaining the Write/Delete callbacks in order to perform Bootstrap Finish correctly.\r\n - bs-server: Writing a Server Object as well, in addition to the Security Object.\r\n - client: Changed `security_obj_instance_ctx.server_uri` from `char *` to `struct sol_blob *`.\r\n - client: Added `server_obj_instance_ctx` and related management functions.\r\n - client: Client now successfully receives all Bootstrap Information (Security Object + Server Object) and is able to register at the received server. :-)\r\n\r\n- TODO\r\n - [x] Use `sol_timeout` to wait for server-initiated bootstrap before the client-initiated one.\r\n - [ ] Refactor `handle_unknown_bootstrap_resource`, `handle_bootstrap_write_object` and friends.\r\n - [x] Refactor the `sol_lwm2m_bootstrap_client_info` memory allocation.\r\n\r\n- Future Improvements\r\n - Use the `SOL_MAIN_DEFAULT()`\r\n - Add an API to add and remove known clients on the fly\r\n\r\nSigned-off-by: Bruno Melo bsilva.melo@gmail.com","created_at":"2016-06-17T21:51:28Z","updated_at":"2016-06-30T22:23:16Z","closed_at":"2016-06-30T22:23:16Z","merged_at":null,"merge_commit_sha":"0a7c5fe7828254c4b9609d2334610ab736518315","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/solettaproject/soletta/pulls/2183/commits","review_comments_url":"https://api.github.com/repos/solettaproject/soletta/pulls/2183/comments","review_comment_url":"https://api.github.com/repos/solettaproject/soletta/pulls/comments{/number}","comments_url":"https://api.github.com/repos/solettaproject/soletta/issues/2183/comments","statuses_url":"https://api.github.com/repos/solettaproject/soletta/statuses/915378953be128731aa302eb088224f6876a902b","head":{"label":"bsmelo:lwm2m-bootstrap-v2","ref":"lwm2m-bootstrap-v2","sha":"915378953be128731aa302eb088224f6876a902b","user":{"login":"bsmelo","id":15204241,"avatar_url":"https://avatars.githubusercontent.com/u/15204241?v=3","gravatar_id":"","url":"https://api.github.com/users/bsmelo","html_url":"https://github.com/bsmelo","followers_url":"https://api.github.com/users/bsmelo/followers","following_url":"https://api.github.com/users/bsmelo/following{/other_user}","gists_url":"https://api.github.com/users/bsmelo/gists{/gist_id}","starred_url":"https://api.github.com/users/bsmelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsmelo/subscriptions","organizations_url":"https://api.github.com/users/bsmelo/orgs","repos_url":"https://api.github.com/users/bsmelo/repos","events_url":"https://api.github.com/users/bsmelo/events{/privacy}","received_events_url":"https://api.github.com/users/bsmelo/received_events","type":"User","site_admin":false},"repo":{"id":54440906,"name":"soletta","full_name":"bsmelo/soletta","owner":{"login":"bsmelo","id":15204241,"avatar_url":"https://avatars.githubusercontent.com/u/15204241?v=3","gravatar_id":"","url":"https://api.github.com/users/bsmelo","html_url":"https://github.com/bsmelo","followers_url":"https://api.github.com/users/bsmelo/followers","following_url":"https://api.github.com/users/bsmelo/following{/other_user}","gists_url":"https://api.github.com/users/bsmelo/gists{/gist_id}","starred_url":"https://api.github.com/users/bsmelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsmelo/subscriptions","organizations_url":"https://api.github.com/users/bsmelo/orgs","repos_url":"https://api.github.com/users/bsmelo/repos","events_url":"https://api.github.com/users/bsmelo/events{/privacy}","received_events_url":"https://api.github.com/users/bsmelo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bsmelo/soletta","description":"Soletta Project is a framework for making IoT devices.  With Soletta Project's libraries developers can easily write software for devices that control actuators/sensors and communicate using standard technologies. It enables adding smartness even on the smallest edge devices.  ","fork":true,"url":"https://api.github.com/repos/bsmelo/soletta","forks_url":"https://api.github.com/repos/bsmelo/soletta/forks","keys_url":"https://api.github.com/repos/bsmelo/soletta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bsmelo/soletta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bsmelo/soletta/teams","hooks_url":"https://api.github.com/repos/bsmelo/soletta/hooks","issue_events_url":"https://api.github.com/repos/bsmelo/soletta/issues/events{/number}","events_url":"https://api.github.com/repos/bsmelo/soletta/events","assignees_url":"https://api.github.com/repos/bsmelo/soletta/assignees{/user}","branches_url":"https://api.github.com/repos/bsmelo/soletta/branches{/branch}","tags_url":"https://api.github.com/repos/bsmelo/soletta/tags","blobs_url":"https://api.github.com/repos/bsmelo/soletta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bsmelo/soletta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bsmelo/soletta/git/refs{/sha}","trees_url":"https://api.github.com/repos/bsmelo/soletta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bsmelo/soletta/statuses/{sha}","languages_url":"https://api.github.com/repos/bsmelo/soletta/languages","stargazers_url":"https://api.github.com/repos/bsmelo/soletta/stargazers","contributors_url":"https://api.github.com/repos/bsmelo/soletta/contributors","subscribers_url":"https://api.github.com/repos/bsmelo/soletta/subscribers","subscription_url":"https://api.github.com/repos/bsmelo/soletta/subscription","commits_url":"https://api.github.com/repos/bsmelo/soletta/commits{/sha}","git_commits_url":"https://api.github.com/repos/bsmelo/soletta/git/commits{/sha}","comments_url":"https://api.github.com/repos/bsmelo/soletta/comments{/number}","issue_comment_url":"https://api.github.com/repos/bsmelo/soletta/issues/comments{/number}","contents_url":"https://api.github.com/repos/bsmelo/soletta/contents/{+path}","compare_url":"https://api.github.com/repos/bsmelo/soletta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bsmelo/soletta/merges","archive_url":"https://api.github.com/repos/bsmelo/soletta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bsmelo/soletta/downloads","issues_url":"https://api.github.com/repos/bsmelo/soletta/issues{/number}","pulls_url":"https://api.github.com/repos/bsmelo/soletta/pulls{/number}","milestones_url":"https://api.github.com/repos/bsmelo/soletta/milestones{/number}","notifications_url":"https://api.github.com/repos/bsmelo/soletta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bsmelo/soletta/labels{/name}","releases_url":"https://api.github.com/repos/bsmelo/soletta/releases{/id}","deployments_url":"https://api.github.com/repos/bsmelo/soletta/deployments","created_at":"2016-03-22T03:04:07Z","updated_at":"2016-03-22T03:04:11Z","pushed_at":"2016-06-30T22:13:32Z","git_url":"git://github.com/bsmelo/soletta.git","ssh_url":"git@github.com:bsmelo/soletta.git","clone_url":"https://github.com/bsmelo/soletta.git","svn_url":"https://github.com/bsmelo/soletta","homepage":"http://solettaproject.org","size":21536,"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":"solettaproject:master","ref":"master","sha":"414e7a9d341598ed59c9552f916e085cc4d9488f","user":{"login":"solettaproject","id":12736897,"avatar_url":"https://avatars.githubusercontent.com/u/12736897?v=3","gravatar_id":"","url":"https://api.github.com/users/solettaproject","html_url":"https://github.com/solettaproject","followers_url":"https://api.github.com/users/solettaproject/followers","following_url":"https://api.github.com/users/solettaproject/following{/other_user}","gists_url":"https://api.github.com/users/solettaproject/gists{/gist_id}","starred_url":"https://api.github.com/users/solettaproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solettaproject/subscriptions","organizations_url":"https://api.github.com/users/solettaproject/orgs","repos_url":"https://api.github.com/users/solettaproject/repos","events_url":"https://api.github.com/users/solettaproject/events{/privacy}","received_events_url":"https://api.github.com/users/solettaproject/received_events","type":"Organization","site_admin":false},"repo":{"id":37087063,"name":"soletta","full_name":"solettaproject/soletta","owner":{"login":"solettaproject","id":12736897,"avatar_url":"https://avatars.githubusercontent.com/u/12736897?v=3","gravatar_id":"","url":"https://api.github.com/users/solettaproject","html_url":"https://github.com/solettaproject","followers_url":"https://api.github.com/users/solettaproject/followers","following_url":"https://api.github.com/users/solettaproject/following{/other_user}","gists_url":"https://api.github.com/users/solettaproject/gists{/gist_id}","starred_url":"https://api.github.com/users/solettaproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solettaproject/subscriptions","organizations_url":"https://api.github.com/users/solettaproject/orgs","repos_url":"https://api.github.com/users/solettaproject/repos","events_url":"https://api.github.com/users/solettaproject/events{/privacy}","received_events_url":"https://api.github.com/users/solettaproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/solettaproject/soletta","description":"Soletta Project is a framework for making IoT devices.  With Soletta Project's libraries developers can easily write software for devices that control actuators/sensors and communicate using standard technologies. It enables adding smartness even on the smallest edge devices.  ","fork":false,"url":"https://api.github.com/repos/solettaproject/soletta","forks_url":"https://api.github.com/repos/solettaproject/soletta/forks","keys_url":"https://api.github.com/repos/solettaproject/soletta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/solettaproject/soletta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/solettaproject/soletta/teams","hooks_url":"https://api.github.com/repos/solettaproject/soletta/hooks","issue_events_url":"https://api.github.com/repos/solettaproject/soletta/issues/events{/number}","events_url":"https://api.github.com/repos/solettaproject/soletta/events","assignees_url":"https://api.github.com/repos/solettaproject/soletta/assignees{/user}","branches_url":"https://api.github.com/repos/solettaproject/soletta/branches{/branch}","tags_url":"https://api.github.com/repos/solettaproject/soletta/tags","blobs_url":"https://api.github.com/repos/solettaproject/soletta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/solettaproject/soletta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/solettaproject/soletta/git/refs{/sha}","trees_url":"https://api.github.com/repos/solettaproject/soletta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/solettaproject/soletta/statuses/{sha}","languages_url":"https://api.github.com/repos/solettaproject/soletta/languages","stargazers_url":"https://api.github.com/repos/solettaproject/soletta/stargazers","contributors_url":"https://api.github.com/repos/solettaproject/soletta/contributors","subscribers_url":"https://api.github.com/repos/solettaproject/soletta/subscribers","subscription_url":"https://api.github.com/repos/solettaproject/soletta/subscription","commits_url":"https://api.github.com/repos/solettaproject/soletta/commits{/sha}","git_commits_url":"https://api.github.com/repos/solettaproject/soletta/git/commits{/sha}","comments_url":"https://api.github.com/repos/solettaproject/soletta/comments{/number}","issue_comment_url":"https://api.github.com/repos/solettaproject/soletta/issues/comments{/number}","contents_url":"https://api.github.com/repos/solettaproject/soletta/contents/{+path}","compare_url":"https://api.github.com/repos/solettaproject/soletta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/solettaproject/soletta/merges","archive_url":"https://api.github.com/repos/solettaproject/soletta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/solettaproject/soletta/downloads","issues_url":"https://api.github.com/repos/solettaproject/soletta/issues{/number}","pulls_url":"https://api.github.com/repos/solettaproject/soletta/pulls{/number}","milestones_url":"https://api.github.com/repos/solettaproject/soletta/milestones{/number}","notifications_url":"https://api.github.com/repos/solettaproject/soletta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/solettaproject/soletta/labels{/name}","releases_url":"https://api.github.com/repos/solettaproject/soletta/releases{/id}","deployments_url":"https://api.github.com/repos/solettaproject/soletta/deployments","created_at":"2015-06-08T19:13:18Z","updated_at":"2016-06-28T17:50:23Z","pushed_at":"2016-06-30T22:22:39Z","git_url":"git://github.com/solettaproject/soletta.git","ssh_url":"git@github.com:solettaproject/soletta.git","clone_url":"https://github.com/solettaproject/soletta.git","svn_url":"https://github.com/solettaproject/soletta","homepage":"http://solettaproject.org","size":30401,"stargazers_count":107,"watchers_count":107,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":87,"mirror_url":null,"open_issues_count":119,"forks":87,"open_issues":119,"watchers":107,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/solettaproject/soletta/pulls/2183"},"html":{"href":"https://github.com/solettaproject/soletta/pull/2183"},"issue":{"href":"https://api.github.com/repos/solettaproject/soletta/issues/2183"},"comments":{"href":"https://api.github.com/repos/solettaproject/soletta/issues/2183/comments"},"review_comments":{"href":"https://api.github.com/repos/solettaproject/soletta/pulls/2183/comments"},"review_comment":{"href":"https://api.github.com/repos/solettaproject/soletta/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/solettaproject/soletta/pulls/2183/commits"},"statuses":{"href":"https://api.github.com/repos/solettaproject/soletta/statuses/915378953be128731aa302eb088224f6876a902b"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":1,"review_comments":28,"commits":5,"additions":1955,"deletions":161,"changed_files":5}}
{"actor":{"display_login":"bsmelo"}}