{"action":"created","comment":{"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/comments/147975127","pull_request_review_id":73145056,"id":147975127,"diff_hunk":"@@ -21,88 +21,69 @@\n #include \"../../usb_descriptor.h\"\n #include \"../../composite.h\"\n #include \"netusb.h\"\n-#include \"eth_emu.h\"\n-#include \"function_ecm.h\"\n \n-#define NETUSB_NUM_CONF 1\n+#define DEV_DATA(dev) ((struct netusb_dev * const)(dev)->driver_data)\n+#define NETDEV_DATA(iface) DEV_DATA(net_if_get_device(iface))\n \n-static struct __netusb {\n+static struct netusb_dev {\n+\tstruct usb_cfg_data usb_config;\n+\tstruct netusb_function *func;\n+\tstruct net_if *iface;\n+\tu8_t mac_addr[6];\n \tu8_t conf;\n-\tu8_t conf_index;\n-\tstruct netusb_function *func[NETUSB_NUM_CONF];\n-} netusb;\n-\n-/* Ethernet Emulation device */\n-static struct eth_emu_context *eth_emu_ctx;\n+} netusb0;\n \n-int netusb_send(struct net_pkt *pkt)\n+static int netusb_send(struct net_if *iface, struct net_pkt *pkt)\n {\n+\tstruct netusb_dev *net = NETDEV_DATA(iface);\n+\tint ret;\n+\n \tSYS_LOG_DBG(\"Send pkt, len %u\", net_pkt_get_len(pkt));\n \n-\tswitch (netusb.conf) {\n-\tcase 1:\n-\t\treturn ecm_send(pkt);\n-\tdefault:\n-\t\tSYS_LOG_ERR(\"Unconfigured device, conf %u\", netusb.conf);\n-\t\tbreak;\n+\tif (!net->conf) {\n+\t\tSYS_LOG_ERR(\"Unconfigured device, conf\");\n+\t\treturn -ENODEV;\n \t}\n \n-\treturn -ENODEV;\n-}\n-\n-static struct usb_ep_cfg_data netusb_ep_data[] = {\n-\t/* Configuration ECM */\n-\t{\n-\t\t.ep_cb = ecm_int_in,\n-\t\t.ep_addr = CONFIG_CDC_ECM_INT_EP_ADDR\n-\t},\n-\t{\n-\t\t.ep_cb = ecm_bulk_out,\n-\t\t.ep_addr = CONFIG_CDC_ECM_OUT_EP_ADDR\n-\t},\n-\t{\n-\t\t.ep_cb = ecm_bulk_in,\n-\t\t.ep_addr = CONFIG_CDC_ECM_IN_EP_ADDR\n-\t},\n-};\n+\tif (!net->func) {\n+\t\tSYS_LOG_ERR(\"No netusb function selected\");\n+\t\treturn -ENODEV;\n+\t}\n \n-static int netusb_connect_media(void)\n-{\n-\tif (!netusb.func[netusb.conf_index]->connect_media) {\n-\t\treturn -ENOTSUP;\n+\tret = net->func->send_pkt(pkt);\n+\tif (ret) {\n+\t\tSYS_LOG_ERR(\"No netusb function selected\");\n+\t\treturn ret;\n \t}\n \n-\treturn netusb.func[netusb.conf_index]->connect_media(true);\n+\tnet_pkt_unref(pkt);\n+\n+\treturn 0;\n }\n \n-static int netusb_disconnect_media(void)\n+int netusb_recv(struct net_pkt *pkt)\n {\n-\tif (!netusb.func[netusb.conf_index]->connect_media) {\n-\t\treturn -ENOTSUP;\n-\t}\n+\tSYS_LOG_DBG(\"Recv pkt, len %u\", net_pkt_get_len(pkt));\n \n-\treturn netusb.func[netusb.conf_index]->connect_media(false);\n+\treturn net_recv_data(netusb0.iface, pkt);\n }\n \n static void netusb_status_configured(u8_t *conf)\n {\n \tSYS_LOG_INF(\"Enable configuration number %u\", *conf);\n \n-\tnetusb.conf = *conf;\n+\tnetusb0.conf = *conf;\n \n \tswitch (*conf) {\n \tcase 1:\n-\t\tnetusb.conf_index = 0;\n-\t\teth_emu_up();\n-\t\tnetusb_connect_media();","path":"subsys/usb/class/netusb/netusb.c","position":107,"original_position":107,"commit_id":"65de4ea7843f937b0760604ed82a9963ef0fcba3","original_commit_id":"65de4ea7843f937b0760604ed82a9963ef0fcba3","user":{"login":"finikorg","id":3072104,"avatar_url":"https://avatars2.githubusercontent.com/u/3072104?v=4","gravatar_id":"","url":"https://api.github.com/users/finikorg","html_url":"https://github.com/finikorg","followers_url":"https://api.github.com/users/finikorg/followers","following_url":"https://api.github.com/users/finikorg/following{/other_user}","gists_url":"https://api.github.com/users/finikorg/gists{/gist_id}","starred_url":"https://api.github.com/users/finikorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finikorg/subscriptions","organizations_url":"https://api.github.com/users/finikorg/orgs","repos_url":"https://api.github.com/users/finikorg/repos","events_url":"https://api.github.com/users/finikorg/events{/privacy}","received_events_url":"https://api.github.com/users/finikorg/received_events","type":"User","site_admin":false},"body":"connect_media() callback is needed for RNDIS and probably other protocol, is it needed for EEM? Are you developing EEM at the moment?","created_at":"2017-10-31T12:22:28Z","updated_at":"2017-10-31T12:22:29Z","html_url":"https://github.com/zephyrproject-rtos/zephyr/pull/4647#discussion_r147975127","pull_request_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/4647","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/comments/147975127"},"html":{"href":"https://github.com/zephyrproject-rtos/zephyr/pull/4647#discussion_r147975127"},"pull_request":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/4647"}}},"pull_request":{"url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/4647","id":149756894,"html_url":"https://github.com/zephyrproject-rtos/zephyr/pull/4647","diff_url":"https://github.com/zephyrproject-rtos/zephyr/pull/4647.diff","patch_url":"https://github.com/zephyrproject-rtos/zephyr/pull/4647.patch","issue_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/4647","number":4647,"state":"open","locked":false,"title":"usb: netusb: Rework netusb/ecm","user":{"login":"loicpoulain","id":18325002,"avatar_url":"https://avatars3.githubusercontent.com/u/18325002?v=4","gravatar_id":"","url":"https://api.github.com/users/loicpoulain","html_url":"https://github.com/loicpoulain","followers_url":"https://api.github.com/users/loicpoulain/followers","following_url":"https://api.github.com/users/loicpoulain/following{/other_user}","gists_url":"https://api.github.com/users/loicpoulain/gists{/gist_id}","starred_url":"https://api.github.com/users/loicpoulain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loicpoulain/subscriptions","organizations_url":"https://api.github.com/users/loicpoulain/orgs","repos_url":"https://api.github.com/users/loicpoulain/repos","events_url":"https://api.github.com/users/loicpoulain/events{/privacy}","received_events_url":"https://api.github.com/users/loicpoulain/received_events","type":"User","site_admin":false},"body":"1st chapter:\r\n- Create netusb device context (netusb0)\r\n- Move ECM specific code to function_ecmc.c\r\n- Remove eth_emu overhead\r\n- Create unique device instance from netusb\r\n- Create unique interface for all net usb functions\r\n  which contains config and callbacks (netusb_function).\r\n- Remove dead code\r\n- Fix memory leak on pkt send (missing unref)\r\n\r\nSigned-off-by: Loic Poulain <loic.poulain@linaro.org>","created_at":"2017-10-31T11:15:03Z","updated_at":"2017-10-31T12:22:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"102e3296e624f45fc910347bd25346eec0e33860","assignee":null,"assignees":[],"requested_reviewers":[{"login":"andyross","id":300115,"avatar_url":"https://avatars1.githubusercontent.com/u/300115?v=4","gravatar_id":"","url":"https://api.github.com/users/andyross","html_url":"https://github.com/andyross","followers_url":"https://api.github.com/users/andyross/followers","following_url":"https://api.github.com/users/andyross/following{/other_user}","gists_url":"https://api.github.com/users/andyross/gists{/gist_id}","starred_url":"https://api.github.com/users/andyross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyross/subscriptions","organizations_url":"https://api.github.com/users/andyross/orgs","repos_url":"https://api.github.com/users/andyross/repos","events_url":"https://api.github.com/users/andyross/events{/privacy}","received_events_url":"https://api.github.com/users/andyross/received_events","type":"User","site_admin":false},{"login":"jfischer-phytec-iot","id":9864546,"avatar_url":"https://avatars3.githubusercontent.com/u/9864546?v=4","gravatar_id":"","url":"https://api.github.com/users/jfischer-phytec-iot","html_url":"https://github.com/jfischer-phytec-iot","followers_url":"https://api.github.com/users/jfischer-phytec-iot/followers","following_url":"https://api.github.com/users/jfischer-phytec-iot/following{/other_user}","gists_url":"https://api.github.com/users/jfischer-phytec-iot/gists{/gist_id}","starred_url":"https://api.github.com/users/jfischer-phytec-iot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfischer-phytec-iot/subscriptions","organizations_url":"https://api.github.com/users/jfischer-phytec-iot/orgs","repos_url":"https://api.github.com/users/jfischer-phytec-iot/repos","events_url":"https://api.github.com/users/jfischer-phytec-iot/events{/privacy}","received_events_url":"https://api.github.com/users/jfischer-phytec-iot/received_events","type":"User","site_admin":false},{"login":"youvedeep","id":27796270,"avatar_url":"https://avatars0.githubusercontent.com/u/27796270?v=4","gravatar_id":"","url":"https://api.github.com/users/youvedeep","html_url":"https://github.com/youvedeep","followers_url":"https://api.github.com/users/youvedeep/followers","following_url":"https://api.github.com/users/youvedeep/following{/other_user}","gists_url":"https://api.github.com/users/youvedeep/gists{/gist_id}","starred_url":"https://api.github.com/users/youvedeep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youvedeep/subscriptions","organizations_url":"https://api.github.com/users/youvedeep/orgs","repos_url":"https://api.github.com/users/youvedeep/repos","events_url":"https://api.github.com/users/youvedeep/events{/privacy}","received_events_url":"https://api.github.com/users/youvedeep/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/4647/commits","review_comments_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/4647/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/4647/comments","statuses_url":"https://api.github.com/repos/zephyrproject-rtos/zephyr/statuses/65de4ea7843f937b0760604ed82a9963ef0fcba3","head":{"label":"loicpoulain:usb-clean","ref":"usb-clean","sha":"65de4ea7843f937b0760604ed82a9963ef0fcba3","user":{"login":"loicpoulain","id":18325002,"avatar_url":"https://avatars3.githubusercontent.com/u/18325002?v=4","gravatar_id":"","url":"https://api.github.com/users/loicpoulain","html_url":"https://github.com/loicpoulain","followers_url":"https://api.github.com/users/loicpoulain/followers","following_url":"https://api.github.com/users/loicpoulain/following{/other_user}","gists_url":"https://api.github.com/users/loicpoulain/gists{/gist_id}","starred_url":"https://api.github.com/users/loicpoulain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loicpoulain/subscriptions","organizations_url":"https://api.github.com/users/loicpoulain/orgs","repos_url":"https://api.github.com/users/loicpoulain/repos","events_url":"https://api.github.com/users/loicpoulain/events{/privacy}","received_events_url":"https://api.github.com/users/loicpoulain/received_events","type":"User","site_admin":false},"repo":{"id":98891824,"name":"zephyr","full_name":"loicpoulain/zephyr","owner":{"login":"loicpoulain","id":18325002,"avatar_url":"https://avatars3.githubusercontent.com/u/18325002?v=4","gravatar_id":"","url":"https://api.github.com/users/loicpoulain","html_url":"https://github.com/loicpoulain","followers_url":"https://api.github.com/users/loicpoulain/followers","following_url":"https://api.github.com/users/loicpoulain/following{/other_user}","gists_url":"https://api.github.com/users/loicpoulain/gists{/gist_id}","starred_url":"https://api.github.com/users/loicpoulain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loicpoulain/subscriptions","organizations_url":"https://api.github.com/users/loicpoulain/orgs","repos_url":"https://api.github.com/users/loicpoulain/repos","events_url":"https://api.github.com/users/loicpoulain/events{/privacy}","received_events_url":"https://api.github.com/users/loicpoulain/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/loicpoulain/zephyr","description":"Primary GIT Repository for the Zephyr Project","fork":true,"url":"https://api.github.com/repos/loicpoulain/zephyr","forks_url":"https://api.github.com/repos/loicpoulain/zephyr/forks","keys_url":"https://api.github.com/repos/loicpoulain/zephyr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/loicpoulain/zephyr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/loicpoulain/zephyr/teams","hooks_url":"https://api.github.com/repos/loicpoulain/zephyr/hooks","issue_events_url":"https://api.github.com/repos/loicpoulain/zephyr/issues/events{/number}","events_url":"https://api.github.com/repos/loicpoulain/zephyr/events","assignees_url":"https://api.github.com/repos/loicpoulain/zephyr/assignees{/user}","branches_url":"https://api.github.com/repos/loicpoulain/zephyr/branches{/branch}","tags_url":"https://api.github.com/repos/loicpoulain/zephyr/tags","blobs_url":"https://api.github.com/repos/loicpoulain/zephyr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/loicpoulain/zephyr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/loicpoulain/zephyr/git/refs{/sha}","trees_url":"https://api.github.com/repos/loicpoulain/zephyr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/loicpoulain/zephyr/statuses/{sha}","languages_url":"https://api.github.com/repos/loicpoulain/zephyr/languages","stargazers_url":"https://api.github.com/repos/loicpoulain/zephyr/stargazers","contributors_url":"https://api.github.com/repos/loicpoulain/zephyr/contributors","subscribers_url":"https://api.github.com/repos/loicpoulain/zephyr/subscribers","subscription_url":"https://api.github.com/repos/loicpoulain/zephyr/subscription","commits_url":"https://api.github.com/repos/loicpoulain/zephyr/commits{/sha}","git_commits_url":"https://api.github.com/repos/loicpoulain/zephyr/git/commits{/sha}","comments_url":"https://api.github.com/repos/loicpoulain/zephyr/comments{/number}","issue_comment_url":"https://api.github.com/repos/loicpoulain/zephyr/issues/comments{/number}","contents_url":"https://api.github.com/repos/loicpoulain/zephyr/contents/{+path}","compare_url":"https://api.github.com/repos/loicpoulain/zephyr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/loicpoulain/zephyr/merges","archive_url":"https://api.github.com/repos/loicpoulain/zephyr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/loicpoulain/zephyr/downloads","issues_url":"https://api.github.com/repos/loicpoulain/zephyr/issues{/number}","pulls_url":"https://api.github.com/repos/loicpoulain/zephyr/pulls{/number}","milestones_url":"https://api.github.com/repos/loicpoulain/zephyr/milestones{/number}","notifications_url":"https://api.github.com/repos/loicpoulain/zephyr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/loicpoulain/zephyr/labels{/name}","releases_url":"https://api.github.com/repos/loicpoulain/zephyr/releases{/id}","deployments_url":"https://api.github.com/repos/loicpoulain/zephyr/deployments","created_at":"2017-07-31T13:30:53Z","updated_at":"2017-07-31T13:31:29Z","pushed_at":"2017-10-31T11:38:15Z","git_url":"git://github.com/loicpoulain/zephyr.git","ssh_url":"git@github.com:loicpoulain/zephyr.git","clone_url":"https://github.com/loicpoulain/zephyr.git","svn_url":"https://github.com/loicpoulain/zephyr","homepage":"http://zephyrproject.org/doc","size":90936,"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,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"zephyrproject-rtos:master","ref":"master","sha":"86272907d8b284a38bed907a2c68b1b14cae47e1","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":"2017-10-31T05:25:47Z","pushed_at":"2017-10-31T11:54:10Z","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":93136,"stargazers_count":428,"watchers_count":428,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":331,"mirror_url":null,"archived":false,"open_issues_count":709,"forks":331,"open_issues":709,"watchers":428,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/4647"},"html":{"href":"https://github.com/zephyrproject-rtos/zephyr/pull/4647"},"issue":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/4647"},"comments":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/issues/4647/comments"},"review_comments":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/pulls/4647/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/4647/commits"},"statuses":{"href":"https://api.github.com/repos/zephyrproject-rtos/zephyr/statuses/65de4ea7843f937b0760604ed82a9963ef0fcba3"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"finikorg"}}