{"action":"created","issue":{"url":"https://api.github.com/repos/solettaproject/soletta/issues/2183","repository_url":"https://api.github.com/repos/solettaproject/soletta","labels_url":"https://api.github.com/repos/solettaproject/soletta/issues/2183/labels{/name}","comments_url":"https://api.github.com/repos/solettaproject/soletta/issues/2183/comments","events_url":"https://api.github.com/repos/solettaproject/soletta/issues/2183/events","html_url":"https://github.com/solettaproject/soletta/pull/2183","id":160981596,"number":2183,"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},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-17T21:51:28Z","updated_at":"2016-06-30T22:23:16Z","closed_at":"2016-06-30T22:23:16Z","pull_request":{"url":"https://api.github.com/repos/solettaproject/soletta/pulls/2183","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"},"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"},"comment":{"url":"https://api.github.com/repos/solettaproject/soletta/issues/comments/229805802","html_url":"https://github.com/solettaproject/soletta/pull/2183#issuecomment-229805802","issue_url":"https://api.github.com/repos/solettaproject/soletta/issues/2183","id":229805802,"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},"created_at":"2016-06-30T22:23:16Z","updated_at":"2016-06-30T22:23:16Z","body":"An updated version is at #2217. Closing this. Thanks."}}
{"actor":{"display_login":"bsmelo"}}