{"action":"created","comment":{"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/comments/177143150","pull_request_review_id":106965277,"id":177143150,"diff_hunk":"@@ -0,0 +1,187 @@\n+/*\n+ * NVS Sample for zephyr using high level API, this sample stores a string\n+ * (address), a binary blob (key) and a long integer (reboot counter) in flash\n+ * the samples reboots every 5s to show the data that was stored in flash. It\n+ * stops after 82 reboots (when reboot counter is 80 the write of reboot counter\n+ * triggers a sector change which copies the data of address, key and reboot\n+ * counter before erasing the flash). As a result of the rotation the history\n+ * data of reboot counter is reduced in size but the address and key data is\n+ * kept.\n+ *\n+ * Copyright (c) 2018 Laczen\n+ *\n+ * SPDX-License-Identifier: Apache-2.0\n+ */\n+\n+\n+#include <zephyr.h>\n+#include <misc/reboot.h>\n+#include <board.h>\n+#include <device.h>\n+#include <string.h>\n+#include <nvs/nvs.h>\n+\n+#define STORAGE_OFFSET 0x3F000\n+#define STORAGE_MAGIC 0x4d455348 /* hex for \"MESH\" */\n+#define SECTOR_SIZE 0x400\n+#define SECTOR_COUNT 2\n+\n+static struct nvs_fs fs = {\n+\t.sector_size = SECTOR_SIZE,\n+\t.sector_count = SECTOR_COUNT,\n+\t.offset = STORAGE_OFFSET,\n+};\n+\n+/* 1000 msec = 1 sec */\n+#define SLEEP_TIME      1000\n+/* maximum reboot counts, make high enough to trigger sector change (buffer */\n+/* rotation). */\n+#define MAX_REBOOT 82\n+\n+void main(void)\n+{\n+\tint rc = 0, cnt = 0;\n+\tstruct nvs_entry entry;\n+\tchar buf[] = \"192.168.1.1\";\n+\tu8_t key[8] = { 0xFF, 0xFE, 0xFD, 0xFC, 0xFB, 0xFA, 0xF9, 0xF8 };\n+\tu32_t reboot_counter = 0;\n+\tchar bufdel[] = \"DATA\";\n+\n+\trc = nvs_init(&fs, FLASH_DEV_NAME, STORAGE_MAGIC);\n+\tif (rc) {\n+\t\tprintk(\"Flash Init failed\\n\");\n+\t}\n+\n+\t/* entry with id=1 is used to store an address, lets see if we can\n+\t * read it from flash\n+\t */\n+\tentry.id = 1;\n+\trc = nvs_read(&fs, &entry, &buf, strlen(buf)+1);\n+\tif (rc == NVS_OK) { /* entry was found, show it */\n+\t\tprintk(\"Entry: %d, Address: %s\\n\", entry.id, buf);\n+\t} else   {/* entry was not found, add it */\n+\t\tprintk(\"No address found, adding it as entry %d\\n\", entry.id);\n+\t\tentry.len = strlen(buf) + 1;\n+\t\trc = nvs_write(&fs, &entry, &buf);\n+\t\tif (rc) {\n+\t\t\tprintk(\"write error\\n\");\n+\t\t}\n+\t}\n+\t/* entry with id=2 is used to store a key, lets see if we can\n+\t * read it from flash\n+\t */\n+\tentry.id = 2;\n+\trc = nvs_read(&fs, &entry, &key, sizeof(key));\n+\tif (rc == NVS_OK) { /* entry was found, show it */\n+\t\tprintk(\"Entry: %d, Key: \", entry.id);\n+\t\tfor (int n = 0; n < 8; n++) {\n+\t\t\tprintk(\"%x \", key[n]);\n+\t\t}\n+\t\tprintk(\"\\n\");\n+\t} else   {/* entry was not found, add it */\n+\t\tprintk(\"No key found, adding it as entry %d\\n\", entry.id);\n+\t\tentry.len = 8;","path":"samples/subsys/nvs/src/main.c","position":83,"original_position":83,"commit_id":"29fabfd8a7290b0eb4867e3ac0bafb48a3414f97","original_commit_id":"29fabfd8a7290b0eb4867e3ac0bafb48a3414f97","user":{"login":"Laczen","id":579004,"avatar_url":"https://avatars1.githubusercontent.com/u/579004?v=4","gravatar_id":"","url":"https://api.github.com/users/Laczen","html_url":"https://github.com/Laczen","followers_url":"https://api.github.com/users/Laczen/followers","following_url":"https://api.github.com/users/Laczen/following{/other_user}","gists_url":"https://api.github.com/users/Laczen/gists{/gist_id}","starred_url":"https://api.github.com/users/Laczen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Laczen/subscriptions","organizations_url":"https://api.github.com/users/Laczen/orgs","repos_url":"https://api.github.com/users/Laczen/repos","events_url":"https://api.github.com/users/Laczen/events{/privacy}","received_events_url":"https://api.github.com/users/Laczen/received_events","type":"User","site_admin":false},"body":"OK","created_at":"2018-03-26T15:54:07Z","updated_at":"2018-03-26T15:54:07Z","html_url":"https://github.com/zephyrproject-rtos/zephyr/pull/6391#discussion_r177143150","pull_request_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/6391","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/comments/177143150"},"html":{"href":"https://github.com/zephyrproject-rtos/zephyr/pull/6391#discussion_r177143150"},"pull_request":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/6391"}},"in_reply_to_id":177100669},"pull_request":{"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/6391","id":171493464,"html_url":"https://github.com/zephyrproject-rtos/zephyr/pull/6391","diff_url":"https://github.com/zephyrproject-rtos/zephyr/pull/6391.diff","patch_url":"https://github.com/zephyrproject-rtos/zephyr/pull/6391.patch","issue_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/6391","number":6391,"state":"open","locked":false,"title":"NVS: Non Volatile Storage solution for zephyr","user":{"login":"Laczen","id":579004,"avatar_url":"https://avatars1.githubusercontent.com/u/579004?v=4","gravatar_id":"","url":"https://api.github.com/users/Laczen","html_url":"https://github.com/Laczen","followers_url":"https://api.github.com/users/Laczen/followers","following_url":"https://api.github.com/users/Laczen/following{/other_user}","gists_url":"https://api.github.com/users/Laczen/gists{/gist_id}","starred_url":"https://api.github.com/users/Laczen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Laczen/subscriptions","organizations_url":"https://api.github.com/users/Laczen/orgs","repos_url":"https://api.github.com/users/Laczen/repos","events_url":"https://api.github.com/users/Laczen/events{/privacy}","received_events_url":"https://api.github.com/users/Laczen/received_events","type":"User","site_admin":false},"body":"There are only limited solutions for storage of configuration settings and state saves in zephyr. There is fatfs, nffs and fcb. The first two solutions are large and less suited for storage on internal flash because they do not do wear levelling. FCB also has its disadvantages as the API is complex and it is less suited to store state saves (e.g. state of a light switch over reboots) of a zephyr device.\r\n\r\nNVS is a library that provides a solution for the combined storage of configuration settings and states in an area of internal or external flash. The data is stored as identifier-value pairs. This allows configuration settings to be stored (and rewritten) as one identifier-value pair and states as another identifier-value pair. Identifier-value pairs are \"overwritten\" by a new write. Then there are multiple identifier-value pairs in flash, the latest of which is considered as the valid pair. When a flash sector is full the library makes sure that before erasing a sector the latest identifier-value pair is copied to the new sector (and this for all identifiers in use). The library also allows the history of an identifier-value pair to be searched.\r\n\r\nNVS has the following advantages over existings solutions:\r\n\r\nLow ram usage: a NVS file system only uses 48 bytes of ram\r\nLow flash usage: the library typically only uses about 2400 bytes of flash\r\nProvides a solution for combined storage of states and configuration settings\r\nSecurity: writes are limited to the area that is selected for NVS\r\nEnsures data integrity using a CRC check\r\nA sample of how to use NVS is provided in samples/subsys/nvs.\r\n\r\nTypical use cases:\r\n\r\nState storage (e.g. state of light switch, but also bluetooth mesh iv_index and sequence counter)\r\nConfiguration settings\r\nLog storage: identifiers can be used to differentiate between log subsystems, the history can be reviewed and for each log subsystem there will be at least the latest log line.\r\nSigned-off-by: Laczen JMS <laczenjms@gmail.com>","created_at":"2018-02-26T21:14:37Z","updated_at":"2018-03-26T15:54:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"760c21141d74192453956e85d72fff67d5388913","assignee":null,"assignees":[],"requested_reviewers":[{"login":"mbolivar","id":35088,"avatar_url":"https://avatars3.githubusercontent.com/u/35088?v=4","gravatar_id":"","url":"https://api.github.com/users/mbolivar","html_url":"https://github.com/mbolivar","followers_url":"https://api.github.com/users/mbolivar/followers","following_url":"https://api.github.com/users/mbolivar/following{/other_user}","gists_url":"https://api.github.com/users/mbolivar/gists{/gist_id}","starred_url":"https://api.github.com/users/mbolivar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbolivar/subscriptions","organizations_url":"https://api.github.com/users/mbolivar/orgs","repos_url":"https://api.github.com/users/mbolivar/repos","events_url":"https://api.github.com/users/mbolivar/events{/privacy}","received_events_url":"https://api.github.com/users/mbolivar/received_events","type":"User","site_admin":false},{"login":"nashif","id":180017,"avatar_url":"https://avatars0.githubusercontent.com/u/180017?v=4","gravatar_id":"","url":"https://api.github.com/users/nashif","html_url":"https://github.com/nashif","followers_url":"https://api.github.com/users/nashif/followers","following_url":"https://api.github.com/users/nashif/following{/other_user}","gists_url":"https://api.github.com/users/nashif/gists{/gist_id}","starred_url":"https://api.github.com/users/nashif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nashif/subscriptions","organizations_url":"https://api.github.com/users/nashif/orgs","repos_url":"https://api.github.com/users/nashif/repos","events_url":"https://api.github.com/users/nashif/events{/privacy}","received_events_url":"https://api.github.com/users/nashif/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/6391/commits","review_comments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/6391/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/6391/comments","statuses_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/statuses/29fabfd8a7290b0eb4867e3ac0bafb48a3414f97","head":{"label":"Laczen:nvs","ref":"nvs","sha":"29fabfd8a7290b0eb4867e3ac0bafb48a3414f97","user":{"login":"Laczen","id":579004,"avatar_url":"https://avatars1.githubusercontent.com/u/579004?v=4","gravatar_id":"","url":"https://api.github.com/users/Laczen","html_url":"https://github.com/Laczen","followers_url":"https://api.github.com/users/Laczen/followers","following_url":"https://api.github.com/users/Laczen/following{/other_user}","gists_url":"https://api.github.com/users/Laczen/gists{/gist_id}","starred_url":"https://api.github.com/users/Laczen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Laczen/subscriptions","organizations_url":"https://api.github.com/users/Laczen/orgs","repos_url":"https://api.github.com/users/Laczen/repos","events_url":"https://api.github.com/users/Laczen/events{/privacy}","received_events_url":"https://api.github.com/users/Laczen/received_events","type":"User","site_admin":false},"repo":{"id":123027962,"name":"zephyr","full_name":"Laczen/zephyr","owner":{"login":"Laczen","id":579004,"avatar_url":"https://avatars1.githubusercontent.com/u/579004?v=4","gravatar_id":"","url":"https://api.github.com/users/Laczen","html_url":"https://github.com/Laczen","followers_url":"https://api.github.com/users/Laczen/followers","following_url":"https://api.github.com/users/Laczen/following{/other_user}","gists_url":"https://api.github.com/users/Laczen/gists{/gist_id}","starred_url":"https://api.github.com/users/Laczen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Laczen/subscriptions","organizations_url":"https://api.github.com/users/Laczen/orgs","repos_url":"https://api.github.com/users/Laczen/repos","events_url":"https://api.github.com/users/Laczen/events{/privacy}","received_events_url":"https://api.github.com/users/Laczen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Laczen/zephyr","description":"Primary GIT Repository for the Zephyr Project","fork":true,"url":"https://api.github.com/repos/Laczen/zephyr","forks_url":"https://api.github.com/repos/Laczen/zephyr/forks","keys_url":"https://api.github.com/repos/Laczen/zephyr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Laczen/zephyr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Laczen/zephyr/teams","hooks_url":"https://api.github.com/repos/Laczen/zephyr/hooks","issue_events_url":"https://api.github.com/repos/Laczen/zephyr/issues/events{/number}","events_url":"https://api.github.com/repos/Laczen/zephyr/events","assignees_url":"https://api.github.com/repos/Laczen/zephyr/assignees{/user}","branches_url":"https://api.github.com/repos/Laczen/zephyr/branches{/branch}","tags_url":"https://api.github.com/repos/Laczen/zephyr/tags","blobs_url":"https://api.github.com/repos/Laczen/zephyr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Laczen/zephyr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Laczen/zephyr/git/refs{/sha}","trees_url":"https://api.github.com/repos/Laczen/zephyr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Laczen/zephyr/statuses/{sha}","languages_url":"https://api.github.com/repos/Laczen/zephyr/languages","stargazers_url":"https://api.github.com/repos/Laczen/zephyr/stargazers","contributors_url":"https://api.github.com/repos/Laczen/zephyr/contributors","subscribers_url":"https://api.github.com/repos/Laczen/zephyr/subscribers","subscription_url":"https://api.github.com/repos/Laczen/zephyr/subscription","commits_url":"https://api.github.com/repos/Laczen/zephyr/commits{/sha}","git_commits_url":"https://api.github.com/repos/Laczen/zephyr/git/commits{/sha}","comments_url":"https://api.github.com/repos/Laczen/zephyr/comments{/number}","issue_comment_url":"https://api.github.com/repos/Laczen/zephyr/issues/comments{/number}","contents_url":"https://api.github.com/repos/Laczen/zephyr/contents/{+path}","compare_url":"https://api.github.com/repos/Laczen/zephyr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Laczen/zephyr/merges","archive_url":"https://api.github.com/repos/Laczen/zephyr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Laczen/zephyr/downloads","issues_url":"https://api.github.com/repos/Laczen/zephyr/issues{/number}","pulls_url":"https://api.github.com/repos/Laczen/zephyr/pulls{/number}","milestones_url":"https://api.github.com/repos/Laczen/zephyr/milestones{/number}","notifications_url":"https://api.github.com/repos/Laczen/zephyr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Laczen/zephyr/labels{/name}","releases_url":"https://api.github.com/repos/Laczen/zephyr/releases{/id}","deployments_url":"https://api.github.com/repos/Laczen/zephyr/deployments","created_at":"2018-02-26T20:42:50Z","updated_at":"2018-02-26T20:43:27Z","pushed_at":"2018-03-24T16:29:54Z","git_url":"git://github.com/Laczen/zephyr.git","ssh_url":"git@github.com:Laczen/zephyr.git","clone_url":"https://github.com/Laczen/zephyr.git","svn_url":"https://github.com/Laczen/zephyr","homepage":"http://zephyrproject.org/doc","size":102632,"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":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"zephyrproject-rtos:master","ref":"master","sha":"3642a69a6bd273a3134e6fd5ec406a093f967b64","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-03-26T14:52:04Z","pushed_at":"2018-03-26T15:12:54Z","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":"https://zephyrproject.org/doc","size":105008,"stargazers_count":726,"watchers_count":726,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":525,"mirror_url":null,"archived":false,"open_issues_count":846,"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":525,"open_issues":846,"watchers":726,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/6391"},"html":{"href":"https://github.com/zephyrproject-rtos/zephyr/pull/6391"},"issue":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/6391"},"comments":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/6391/comments"},"review_comments":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/6391/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/6391/commits"},"statuses":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/statuses/29fabfd8a7290b0eb4867e3ac0bafb48a3414f97"}},"author_association":"NONE"}}
{"actor":{"display_login":"Laczen"}}