{"action":"created","issue":{"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/7413","repository_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr","labels_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/7413/labels{/name}","comments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/7413/comments","events_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/7413/events","html_url":"https://github.com/zephyrproject-rtos/zephyr/issues/7413","id":321240927,"number":7413,"title":"settings subsystem enhancements","user":{"login":"jhedberg","id":1032570,"avatar_url":"https://avatars0.githubusercontent.com/u/1032570?v=4","gravatar_id":"","url":"https://api.github.com/users/jhedberg","html_url":"https://github.com/jhedberg","followers_url":"https://api.github.com/users/jhedberg/followers","following_url":"https://api.github.com/users/jhedberg/following{/other_user}","gists_url":"https://api.github.com/users/jhedberg/gists{/gist_id}","starred_url":"https://api.github.com/users/jhedberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhedberg/subscriptions","organizations_url":"https://api.github.com/users/jhedberg/orgs","repos_url":"https://api.github.com/users/jhedberg/repos","events_url":"https://api.github.com/users/jhedberg/events{/privacy}","received_events_url":"https://api.github.com/users/jhedberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"nvlsianpu","id":17042885,"avatar_url":"https://avatars3.githubusercontent.com/u/17042885?v=4","gravatar_id":"","url":"https://api.github.com/users/nvlsianpu","html_url":"https://github.com/nvlsianpu","followers_url":"https://api.github.com/users/nvlsianpu/followers","following_url":"https://api.github.com/users/nvlsianpu/following{/other_user}","gists_url":"https://api.github.com/users/nvlsianpu/gists{/gist_id}","starred_url":"https://api.github.com/users/nvlsianpu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvlsianpu/subscriptions","organizations_url":"https://api.github.com/users/nvlsianpu/orgs","repos_url":"https://api.github.com/users/nvlsianpu/repos","events_url":"https://api.github.com/users/nvlsianpu/events{/privacy}","received_events_url":"https://api.github.com/users/nvlsianpu/received_events","type":"User","site_admin":false},"assignees":[{"login":"nvlsianpu","id":17042885,"avatar_url":"https://avatars3.githubusercontent.com/u/17042885?v=4","gravatar_id":"","url":"https://api.github.com/users/nvlsianpu","html_url":"https://github.com/nvlsianpu","followers_url":"https://api.github.com/users/nvlsianpu/followers","following_url":"https://api.github.com/users/nvlsianpu/following{/other_user}","gists_url":"https://api.github.com/users/nvlsianpu/gists{/gist_id}","starred_url":"https://api.github.com/users/nvlsianpu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvlsianpu/subscriptions","organizations_url":"https://api.github.com/users/nvlsianpu/orgs","repos_url":"https://api.github.com/users/nvlsianpu/repos","events_url":"https://api.github.com/users/nvlsianpu/events{/privacy}","received_events_url":"https://api.github.com/users/nvlsianpu/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-05-08T15:41:49Z","updated_at":"2018-05-08T15:52:10Z","closed_at":null,"author_association":"MEMBER","body":"It'd be nice to have the following improvements to the settings API:\r\n\r\n- [ ] Remove `SETTINGS_EXPORT_SHOW` and the `tgt` parameter to the export callback\r\n- [ ] Reduce stack consumption\r\n- [ ] Remove 256-byte value length limitation\r\n- [ ] Provide stream-style encoding and decoding to/from flash, so the the API only requires a pointer to binary data, and the settings implementation takes care of encoding/decoding to/from base64 and writing/reading to/from flash on the fly. This would eliminate the need of a separate base64 value buffer on the app-side, thereby further contributing to the stack footprint reduction.\r\n- [ ] Provide a way to clear an entire sub-path of key-value pairs, e.g. the equivalent of calling `settings_save_one(key, NULL)` for every key under `bt/mesh/` could then be accomplished with something like `settings_clear(\"bt/mesh/\")`, and `settings_clear(NULL)` would clear the entire settings storage."},"comment":{"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/comments/387450742","html_url":"https://github.com/zephyrproject-rtos/zephyr/issues/7413#issuecomment-387450742","issue_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/7413","id":387450742,"user":{"login":"carlescufi","id":12450381,"avatar_url":"https://avatars3.githubusercontent.com/u/12450381?v=4","gravatar_id":"","url":"https://api.github.com/users/carlescufi","html_url":"https://github.com/carlescufi","followers_url":"https://api.github.com/users/carlescufi/followers","following_url":"https://api.github.com/users/carlescufi/following{/other_user}","gists_url":"https://api.github.com/users/carlescufi/gists{/gist_id}","starred_url":"https://api.github.com/users/carlescufi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlescufi/subscriptions","organizations_url":"https://api.github.com/users/carlescufi/orgs","repos_url":"https://api.github.com/users/carlescufi/repos","events_url":"https://api.github.com/users/carlescufi/events{/privacy}","received_events_url":"https://api.github.com/users/carlescufi/received_events","type":"User","site_admin":false},"created_at":"2018-05-08T15:52:09Z","updated_at":"2018-05-08T15:52:09Z","author_association":"COLLABORATOR","body":"CC @lemrey @oyvindronningstad"}}
{"actor":{"display_login":"carlescufi"}}