{"action":"opened","number":33,"pull_request":{"url":"https://api.github.com/repos/ARMmbed/dapjs/pulls/33","id":205692492,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1NjkyNDky","html_url":"https://github.com/ARMmbed/dapjs/pull/33","diff_url":"https://github.com/ARMmbed/dapjs/pull/33.diff","patch_url":"https://github.com/ARMmbed/dapjs/pull/33.patch","issue_url":"https://api.github.com/repos/ARMmbed/dapjs/issues/33","number":33,"state":"open","locked":false,"title":"Fix serial data reading.","user":{"login":"arekzaluski","id":13417215,"node_id":"MDQ6VXNlcjEzNDE3MjE1","avatar_url":"https://avatars2.githubusercontent.com/u/13417215?v=4","gravatar_id":"","url":"https://api.github.com/users/arekzaluski","html_url":"https://github.com/arekzaluski","followers_url":"https://api.github.com/users/arekzaluski/followers","following_url":"https://api.github.com/users/arekzaluski/following{/other_user}","gists_url":"https://api.github.com/users/arekzaluski/gists{/gist_id}","starred_url":"https://api.github.com/users/arekzaluski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arekzaluski/subscriptions","organizations_url":"https://api.github.com/users/arekzaluski/orgs","repos_url":"https://api.github.com/users/arekzaluski/repos","events_url":"https://api.github.com/users/arekzaluski/events{/privacy}","received_events_url":"https://api.github.com/users/arekzaluski/received_events","type":"User","site_admin":false},"body":"Usb and Webusb transport layer returns extra data in serial buffer. With this fix dapjs will read only the amount of data that is returned by DAPLink.\r\nIt needs to be investigated why buffer is not cleaned properly when usb and webusb transport is being used. Issue can't be reproduced for node hid layer.","created_at":"2018-08-02T10:45:22Z","updated_at":"2018-08-02T10:45:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ARMmbed/dapjs/pulls/33/commits","review_comments_url":"https://api.github.com/repos/ARMmbed/dapjs/pulls/33/comments","review_comment_url":"https://api.github.com/repos/ARMmbed/dapjs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ARMmbed/dapjs/issues/33/comments","statuses_url":"https://api.github.com/repos/ARMmbed/dapjs/statuses/5219a6831a423e7c553c542897a12f79f198903c","head":{"label":"ARMmbed:b/fix-serial","ref":"b/fix-serial","sha":"5219a6831a423e7c553c542897a12f79f198903c","user":{"login":"ARMmbed","id":8916057,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg5MTYwNTc=","avatar_url":"https://avatars3.githubusercontent.com/u/8916057?v=4","gravatar_id":"","url":"https://api.github.com/users/ARMmbed","html_url":"https://github.com/ARMmbed","followers_url":"https://api.github.com/users/ARMmbed/followers","following_url":"https://api.github.com/users/ARMmbed/following{/other_user}","gists_url":"https://api.github.com/users/ARMmbed/gists{/gist_id}","starred_url":"https://api.github.com/users/ARMmbed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ARMmbed/subscriptions","organizations_url":"https://api.github.com/users/ARMmbed/orgs","repos_url":"https://api.github.com/users/ARMmbed/repos","events_url":"https://api.github.com/users/ARMmbed/events{/privacy}","received_events_url":"https://api.github.com/users/ARMmbed/received_events","type":"Organization","site_admin":false},"repo":{"id":97221346,"node_id":"MDEwOlJlcG9zaXRvcnk5NzIyMTM0Ng==","name":"dapjs","full_name":"ARMmbed/dapjs","owner":{"login":"ARMmbed","id":8916057,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg5MTYwNTc=","avatar_url":"https://avatars3.githubusercontent.com/u/8916057?v=4","gravatar_id":"","url":"https://api.github.com/users/ARMmbed","html_url":"https://github.com/ARMmbed","followers_url":"https://api.github.com/users/ARMmbed/followers","following_url":"https://api.github.com/users/ARMmbed/following{/other_user}","gists_url":"https://api.github.com/users/ARMmbed/gists{/gist_id}","starred_url":"https://api.github.com/users/ARMmbed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ARMmbed/subscriptions","organizations_url":"https://api.github.com/users/ARMmbed/orgs","repos_url":"https://api.github.com/users/ARMmbed/repos","events_url":"https://api.github.com/users/ARMmbed/events{/privacy}","received_events_url":"https://api.github.com/users/ARMmbed/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ARMmbed/dapjs","description":"JavaScript interface to CMSIS-DAP","fork":false,"url":"https://api.github.com/repos/ARMmbed/dapjs","forks_url":"https://api.github.com/repos/ARMmbed/dapjs/forks","keys_url":"https://api.github.com/repos/ARMmbed/dapjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ARMmbed/dapjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ARMmbed/dapjs/teams","hooks_url":"https://api.github.com/repos/ARMmbed/dapjs/hooks","issue_events_url":"https://api.github.com/repos/ARMmbed/dapjs/issues/events{/number}","events_url":"https://api.github.com/repos/ARMmbed/dapjs/events","assignees_url":"https://api.github.com/repos/ARMmbed/dapjs/assignees{/user}","branches_url":"https://api.github.com/repos/ARMmbed/dapjs/branches{/branch}","tags_url":"https://api.github.com/repos/ARMmbed/dapjs/tags","blobs_url":"https://api.github.com/repos/ARMmbed/dapjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ARMmbed/dapjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ARMmbed/dapjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/ARMmbed/dapjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ARMmbed/dapjs/statuses/{sha}","languages_url":"https://api.github.com/repos/ARMmbed/dapjs/languages","stargazers_url":"https://api.github.com/repos/ARMmbed/dapjs/stargazers","contributors_url":"https://api.github.com/repos/ARMmbed/dapjs/contributors","subscribers_url":"https://api.github.com/repos/ARMmbed/dapjs/subscribers","subscription_url":"https://api.github.com/repos/ARMmbed/dapjs/subscription","commits_url":"https://api.github.com/repos/ARMmbed/dapjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/ARMmbed/dapjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/ARMmbed/dapjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/ARMmbed/dapjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/ARMmbed/dapjs/contents/{+path}","compare_url":"https://api.github.com/repos/ARMmbed/dapjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ARMmbed/dapjs/merges","archive_url":"https://api.github.com/repos/ARMmbed/dapjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ARMmbed/dapjs/downloads","issues_url":"https://api.github.com/repos/ARMmbed/dapjs/issues{/number}","pulls_url":"https://api.github.com/repos/ARMmbed/dapjs/pulls{/number}","milestones_url":"https://api.github.com/repos/ARMmbed/dapjs/milestones{/number}","notifications_url":"https://api.github.com/repos/ARMmbed/dapjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ARMmbed/dapjs/labels{/name}","releases_url":"https://api.github.com/repos/ARMmbed/dapjs/releases{/id}","deployments_url":"https://api.github.com/repos/ARMmbed/dapjs/deployments","created_at":"2017-07-14T10:15:45Z","updated_at":"2018-07-21T13:08:20Z","pushed_at":"2018-08-02T10:41:02Z","git_url":"git://github.com/ARMmbed/dapjs.git","ssh_url":"git@github.com:ARMmbed/dapjs.git","clone_url":"https://github.com/ARMmbed/dapjs.git","svn_url":"https://github.com/ARMmbed/dapjs","homepage":"https://armmbed.github.io/dapjs","size":1284,"stargazers_count":12,"watchers_count":12,"language":"TypeScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":4,"open_issues":4,"watchers":12,"default_branch":"master"}},"base":{"label":"ARMmbed:master","ref":"master","sha":"04abeffdfa2fc0117ceef37262c06e0541000fca","user":{"login":"ARMmbed","id":8916057,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg5MTYwNTc=","avatar_url":"https://avatars3.githubusercontent.com/u/8916057?v=4","gravatar_id":"","url":"https://api.github.com/users/ARMmbed","html_url":"https://github.com/ARMmbed","followers_url":"https://api.github.com/users/ARMmbed/followers","following_url":"https://api.github.com/users/ARMmbed/following{/other_user}","gists_url":"https://api.github.com/users/ARMmbed/gists{/gist_id}","starred_url":"https://api.github.com/users/ARMmbed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ARMmbed/subscriptions","organizations_url":"https://api.github.com/users/ARMmbed/orgs","repos_url":"https://api.github.com/users/ARMmbed/repos","events_url":"https://api.github.com/users/ARMmbed/events{/privacy}","received_events_url":"https://api.github.com/users/ARMmbed/received_events","type":"Organization","site_admin":false},"repo":{"id":97221346,"node_id":"MDEwOlJlcG9zaXRvcnk5NzIyMTM0Ng==","name":"dapjs","full_name":"ARMmbed/dapjs","owner":{"login":"ARMmbed","id":8916057,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg5MTYwNTc=","avatar_url":"https://avatars3.githubusercontent.com/u/8916057?v=4","gravatar_id":"","url":"https://api.github.com/users/ARMmbed","html_url":"https://github.com/ARMmbed","followers_url":"https://api.github.com/users/ARMmbed/followers","following_url":"https://api.github.com/users/ARMmbed/following{/other_user}","gists_url":"https://api.github.com/users/ARMmbed/gists{/gist_id}","starred_url":"https://api.github.com/users/ARMmbed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ARMmbed/subscriptions","organizations_url":"https://api.github.com/users/ARMmbed/orgs","repos_url":"https://api.github.com/users/ARMmbed/repos","events_url":"https://api.github.com/users/ARMmbed/events{/privacy}","received_events_url":"https://api.github.com/users/ARMmbed/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ARMmbed/dapjs","description":"JavaScript interface to CMSIS-DAP","fork":false,"url":"https://api.github.com/repos/ARMmbed/dapjs","forks_url":"https://api.github.com/repos/ARMmbed/dapjs/forks","keys_url":"https://api.github.com/repos/ARMmbed/dapjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ARMmbed/dapjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ARMmbed/dapjs/teams","hooks_url":"https://api.github.com/repos/ARMmbed/dapjs/hooks","issue_events_url":"https://api.github.com/repos/ARMmbed/dapjs/issues/events{/number}","events_url":"https://api.github.com/repos/ARMmbed/dapjs/events","assignees_url":"https://api.github.com/repos/ARMmbed/dapjs/assignees{/user}","branches_url":"https://api.github.com/repos/ARMmbed/dapjs/branches{/branch}","tags_url":"https://api.github.com/repos/ARMmbed/dapjs/tags","blobs_url":"https://api.github.com/repos/ARMmbed/dapjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ARMmbed/dapjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ARMmbed/dapjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/ARMmbed/dapjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ARMmbed/dapjs/statuses/{sha}","languages_url":"https://api.github.com/repos/ARMmbed/dapjs/languages","stargazers_url":"https://api.github.com/repos/ARMmbed/dapjs/stargazers","contributors_url":"https://api.github.com/repos/ARMmbed/dapjs/contributors","subscribers_url":"https://api.github.com/repos/ARMmbed/dapjs/subscribers","subscription_url":"https://api.github.com/repos/ARMmbed/dapjs/subscription","commits_url":"https://api.github.com/repos/ARMmbed/dapjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/ARMmbed/dapjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/ARMmbed/dapjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/ARMmbed/dapjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/ARMmbed/dapjs/contents/{+path}","compare_url":"https://api.github.com/repos/ARMmbed/dapjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ARMmbed/dapjs/merges","archive_url":"https://api.github.com/repos/ARMmbed/dapjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ARMmbed/dapjs/downloads","issues_url":"https://api.github.com/repos/ARMmbed/dapjs/issues{/number}","pulls_url":"https://api.github.com/repos/ARMmbed/dapjs/pulls{/number}","milestones_url":"https://api.github.com/repos/ARMmbed/dapjs/milestones{/number}","notifications_url":"https://api.github.com/repos/ARMmbed/dapjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ARMmbed/dapjs/labels{/name}","releases_url":"https://api.github.com/repos/ARMmbed/dapjs/releases{/id}","deployments_url":"https://api.github.com/repos/ARMmbed/dapjs/deployments","created_at":"2017-07-14T10:15:45Z","updated_at":"2018-07-21T13:08:20Z","pushed_at":"2018-08-02T10:41:02Z","git_url":"git://github.com/ARMmbed/dapjs.git","ssh_url":"git@github.com:ARMmbed/dapjs.git","clone_url":"https://github.com/ARMmbed/dapjs.git","svn_url":"https://github.com/ARMmbed/dapjs","homepage":"https://armmbed.github.io/dapjs","size":1284,"stargazers_count":12,"watchers_count":12,"language":"TypeScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":4,"open_issues":4,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ARMmbed/dapjs/pulls/33"},"html":{"href":"https://github.com/ARMmbed/dapjs/pull/33"},"issue":{"href":"https://api.github.com/repos/ARMmbed/dapjs/issues/33"},"comments":{"href":"https://api.github.com/repos/ARMmbed/dapjs/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/ARMmbed/dapjs/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/ARMmbed/dapjs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ARMmbed/dapjs/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/ARMmbed/dapjs/statuses/5219a6831a423e7c553c542897a12f79f198903c"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":4,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"arekzaluski"}}