{"action":"closed","number":13,"pull_request":{"url":"https://api.github.com/repos/kamalmostafa/minimodem/pulls/13","id":33482006,"html_url":"https://github.com/kamalmostafa/minimodem/pull/13","diff_url":"https://github.com/kamalmostafa/minimodem/pull/13.diff","patch_url":"https://github.com/kamalmostafa/minimodem/pull/13.patch","issue_url":"https://api.github.com/repos/kamalmostafa/minimodem/issues/13","number":13,"state":"closed","locked":false,"title":"Add non-blocking capability with --tx-carrier","user":{"login":"aquila12","id":6117158,"avatar_url":"https://avatars.githubusercontent.com/u/6117158?v=3","gravatar_id":"","url":"https://api.github.com/users/aquila12","html_url":"https://github.com/aquila12","followers_url":"https://api.github.com/users/aquila12/followers","following_url":"https://api.github.com/users/aquila12/following{/other_user}","gists_url":"https://api.github.com/users/aquila12/gists{/gist_id}","starred_url":"https://api.github.com/users/aquila12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aquila12/subscriptions","organizations_url":"https://api.github.com/users/aquila12/orgs","repos_url":"https://api.github.com/users/aquila12/repos","events_url":"https://api.github.com/users/aquila12/events{/privacy}","received_events_url":"https://api.github.com/users/aquila12/received_events","type":"User","site_admin":false},"body":"I've added a non-blocking capability, using read() in place of getchar(), and using select() to check whether there is data on the input.  This means a carrier tone can persist on the line if desired, even when waiting for input data.\r\n\r\nTo cope with the 'idle' line state, I've used a value of 2 in tx_transmitting to signal that the preamble has been set, where 1 now reflects that the carrier has been present for the necessary time.  This enables sync bytes to be sent before actual data, even when the carrier is being transmitted.","created_at":"2015-04-16T19:00:54Z","updated_at":"2015-04-22T23:59:28Z","closed_at":"2015-04-22T23:59:28Z","merged_at":"2015-04-22T23:59:28Z","merge_commit_sha":"eaa7162618dfcac5fb2827b3eee6e2d84b8c7f3b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kamalmostafa/minimodem/pulls/13/commits","review_comments_url":"https://api.github.com/repos/kamalmostafa/minimodem/pulls/13/comments","review_comment_url":"https://api.github.com/repos/kamalmostafa/minimodem/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kamalmostafa/minimodem/issues/13/comments","statuses_url":"https://api.github.com/repos/kamalmostafa/minimodem/statuses/8915ce1525e716707afbb335f364d47ae11a6339","head":{"label":"aquila12:master","ref":"master","sha":"8915ce1525e716707afbb335f364d47ae11a6339","user":{"login":"aquila12","id":6117158,"avatar_url":"https://avatars.githubusercontent.com/u/6117158?v=3","gravatar_id":"","url":"https://api.github.com/users/aquila12","html_url":"https://github.com/aquila12","followers_url":"https://api.github.com/users/aquila12/followers","following_url":"https://api.github.com/users/aquila12/following{/other_user}","gists_url":"https://api.github.com/users/aquila12/gists{/gist_id}","starred_url":"https://api.github.com/users/aquila12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aquila12/subscriptions","organizations_url":"https://api.github.com/users/aquila12/orgs","repos_url":"https://api.github.com/users/aquila12/repos","events_url":"https://api.github.com/users/aquila12/events{/privacy}","received_events_url":"https://api.github.com/users/aquila12/received_events","type":"User","site_admin":false},"repo":{"id":34074358,"name":"minimodem","full_name":"aquila12/minimodem","owner":{"login":"aquila12","id":6117158,"avatar_url":"https://avatars.githubusercontent.com/u/6117158?v=3","gravatar_id":"","url":"https://api.github.com/users/aquila12","html_url":"https://github.com/aquila12","followers_url":"https://api.github.com/users/aquila12/followers","following_url":"https://api.github.com/users/aquila12/following{/other_user}","gists_url":"https://api.github.com/users/aquila12/gists{/gist_id}","starred_url":"https://api.github.com/users/aquila12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aquila12/subscriptions","organizations_url":"https://api.github.com/users/aquila12/orgs","repos_url":"https://api.github.com/users/aquila12/repos","events_url":"https://api.github.com/users/aquila12/events{/privacy}","received_events_url":"https://api.github.com/users/aquila12/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aquila12/minimodem","description":"general-purpose software audio FSK modem","fork":true,"url":"https://api.github.com/repos/aquila12/minimodem","forks_url":"https://api.github.com/repos/aquila12/minimodem/forks","keys_url":"https://api.github.com/repos/aquila12/minimodem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aquila12/minimodem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aquila12/minimodem/teams","hooks_url":"https://api.github.com/repos/aquila12/minimodem/hooks","issue_events_url":"https://api.github.com/repos/aquila12/minimodem/issues/events{/number}","events_url":"https://api.github.com/repos/aquila12/minimodem/events","assignees_url":"https://api.github.com/repos/aquila12/minimodem/assignees{/user}","branches_url":"https://api.github.com/repos/aquila12/minimodem/branches{/branch}","tags_url":"https://api.github.com/repos/aquila12/minimodem/tags","blobs_url":"https://api.github.com/repos/aquila12/minimodem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aquila12/minimodem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aquila12/minimodem/git/refs{/sha}","trees_url":"https://api.github.com/repos/aquila12/minimodem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aquila12/minimodem/statuses/{sha}","languages_url":"https://api.github.com/repos/aquila12/minimodem/languages","stargazers_url":"https://api.github.com/repos/aquila12/minimodem/stargazers","contributors_url":"https://api.github.com/repos/aquila12/minimodem/contributors","subscribers_url":"https://api.github.com/repos/aquila12/minimodem/subscribers","subscription_url":"https://api.github.com/repos/aquila12/minimodem/subscription","commits_url":"https://api.github.com/repos/aquila12/minimodem/commits{/sha}","git_commits_url":"https://api.github.com/repos/aquila12/minimodem/git/commits{/sha}","comments_url":"https://api.github.com/repos/aquila12/minimodem/comments{/number}","issue_comment_url":"https://api.github.com/repos/aquila12/minimodem/issues/comments{/number}","contents_url":"https://api.github.com/repos/aquila12/minimodem/contents/{+path}","compare_url":"https://api.github.com/repos/aquila12/minimodem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aquila12/minimodem/merges","archive_url":"https://api.github.com/repos/aquila12/minimodem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aquila12/minimodem/downloads","issues_url":"https://api.github.com/repos/aquila12/minimodem/issues{/number}","pulls_url":"https://api.github.com/repos/aquila12/minimodem/pulls{/number}","milestones_url":"https://api.github.com/repos/aquila12/minimodem/milestones{/number}","notifications_url":"https://api.github.com/repos/aquila12/minimodem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aquila12/minimodem/labels{/name}","releases_url":"https://api.github.com/repos/aquila12/minimodem/releases{/id}","created_at":"2015-04-16T18:51:28Z","updated_at":"2015-04-22T16:51:05Z","pushed_at":"2015-04-22T16:51:04Z","git_url":"git://github.com/aquila12/minimodem.git","ssh_url":"git@github.com:aquila12/minimodem.git","clone_url":"https://github.com/aquila12/minimodem.git","svn_url":"https://github.com/aquila12/minimodem","homepage":null,"size":529,"stargazers_count":1,"watchers_count":1,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"kamalmostafa:master","ref":"master","sha":"49bfa06f8e53ef0508f8be96da9cd1d97850d0c1","user":{"login":"kamalmostafa","id":1181534,"avatar_url":"https://avatars.githubusercontent.com/u/1181534?v=3","gravatar_id":"","url":"https://api.github.com/users/kamalmostafa","html_url":"https://github.com/kamalmostafa","followers_url":"https://api.github.com/users/kamalmostafa/followers","following_url":"https://api.github.com/users/kamalmostafa/following{/other_user}","gists_url":"https://api.github.com/users/kamalmostafa/gists{/gist_id}","starred_url":"https://api.github.com/users/kamalmostafa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamalmostafa/subscriptions","organizations_url":"https://api.github.com/users/kamalmostafa/orgs","repos_url":"https://api.github.com/users/kamalmostafa/repos","events_url":"https://api.github.com/users/kamalmostafa/events{/privacy}","received_events_url":"https://api.github.com/users/kamalmostafa/received_events","type":"User","site_admin":false},"repo":{"id":16520281,"name":"minimodem","full_name":"kamalmostafa/minimodem","owner":{"login":"kamalmostafa","id":1181534,"avatar_url":"https://avatars.githubusercontent.com/u/1181534?v=3","gravatar_id":"","url":"https://api.github.com/users/kamalmostafa","html_url":"https://github.com/kamalmostafa","followers_url":"https://api.github.com/users/kamalmostafa/followers","following_url":"https://api.github.com/users/kamalmostafa/following{/other_user}","gists_url":"https://api.github.com/users/kamalmostafa/gists{/gist_id}","starred_url":"https://api.github.com/users/kamalmostafa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamalmostafa/subscriptions","organizations_url":"https://api.github.com/users/kamalmostafa/orgs","repos_url":"https://api.github.com/users/kamalmostafa/repos","events_url":"https://api.github.com/users/kamalmostafa/events{/privacy}","received_events_url":"https://api.github.com/users/kamalmostafa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kamalmostafa/minimodem","description":"general-purpose software audio FSK modem","fork":false,"url":"https://api.github.com/repos/kamalmostafa/minimodem","forks_url":"https://api.github.com/repos/kamalmostafa/minimodem/forks","keys_url":"https://api.github.com/repos/kamalmostafa/minimodem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kamalmostafa/minimodem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kamalmostafa/minimodem/teams","hooks_url":"https://api.github.com/repos/kamalmostafa/minimodem/hooks","issue_events_url":"https://api.github.com/repos/kamalmostafa/minimodem/issues/events{/number}","events_url":"https://api.github.com/repos/kamalmostafa/minimodem/events","assignees_url":"https://api.github.com/repos/kamalmostafa/minimodem/assignees{/user}","branches_url":"https://api.github.com/repos/kamalmostafa/minimodem/branches{/branch}","tags_url":"https://api.github.com/repos/kamalmostafa/minimodem/tags","blobs_url":"https://api.github.com/repos/kamalmostafa/minimodem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kamalmostafa/minimodem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kamalmostafa/minimodem/git/refs{/sha}","trees_url":"https://api.github.com/repos/kamalmostafa/minimodem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kamalmostafa/minimodem/statuses/{sha}","languages_url":"https://api.github.com/repos/kamalmostafa/minimodem/languages","stargazers_url":"https://api.github.com/repos/kamalmostafa/minimodem/stargazers","contributors_url":"https://api.github.com/repos/kamalmostafa/minimodem/contributors","subscribers_url":"https://api.github.com/repos/kamalmostafa/minimodem/subscribers","subscription_url":"https://api.github.com/repos/kamalmostafa/minimodem/subscription","commits_url":"https://api.github.com/repos/kamalmostafa/minimodem/commits{/sha}","git_commits_url":"https://api.github.com/repos/kamalmostafa/minimodem/git/commits{/sha}","comments_url":"https://api.github.com/repos/kamalmostafa/minimodem/comments{/number}","issue_comment_url":"https://api.github.com/repos/kamalmostafa/minimodem/issues/comments{/number}","contents_url":"https://api.github.com/repos/kamalmostafa/minimodem/contents/{+path}","compare_url":"https://api.github.com/repos/kamalmostafa/minimodem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kamalmostafa/minimodem/merges","archive_url":"https://api.github.com/repos/kamalmostafa/minimodem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kamalmostafa/minimodem/downloads","issues_url":"https://api.github.com/repos/kamalmostafa/minimodem/issues{/number}","pulls_url":"https://api.github.com/repos/kamalmostafa/minimodem/pulls{/number}","milestones_url":"https://api.github.com/repos/kamalmostafa/minimodem/milestones{/number}","notifications_url":"https://api.github.com/repos/kamalmostafa/minimodem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kamalmostafa/minimodem/labels{/name}","releases_url":"https://api.github.com/repos/kamalmostafa/minimodem/releases{/id}","created_at":"2014-02-04T17:59:32Z","updated_at":"2015-04-22T23:59:28Z","pushed_at":"2015-04-22T23:59:28Z","git_url":"git://github.com/kamalmostafa/minimodem.git","ssh_url":"git@github.com:kamalmostafa/minimodem.git","clone_url":"https://github.com/kamalmostafa/minimodem.git","svn_url":"https://github.com/kamalmostafa/minimodem","homepage":null,"size":875,"stargazers_count":71,"watchers_count":71,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":3,"forks":12,"open_issues":3,"watchers":71,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kamalmostafa/minimodem/pulls/13"},"html":{"href":"https://github.com/kamalmostafa/minimodem/pull/13"},"issue":{"href":"https://api.github.com/repos/kamalmostafa/minimodem/issues/13"},"comments":{"href":"https://api.github.com/repos/kamalmostafa/minimodem/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/kamalmostafa/minimodem/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/kamalmostafa/minimodem/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kamalmostafa/minimodem/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/kamalmostafa/minimodem/statuses/8915ce1525e716707afbb335f364d47ae11a6339"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"kamalmostafa","id":1181534,"avatar_url":"https://avatars.githubusercontent.com/u/1181534?v=3","gravatar_id":"","url":"https://api.github.com/users/kamalmostafa","html_url":"https://github.com/kamalmostafa","followers_url":"https://api.github.com/users/kamalmostafa/followers","following_url":"https://api.github.com/users/kamalmostafa/following{/other_user}","gists_url":"https://api.github.com/users/kamalmostafa/gists{/gist_id}","starred_url":"https://api.github.com/users/kamalmostafa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamalmostafa/subscriptions","organizations_url":"https://api.github.com/users/kamalmostafa/orgs","repos_url":"https://api.github.com/users/kamalmostafa/repos","events_url":"https://api.github.com/users/kamalmostafa/events{/privacy}","received_events_url":"https://api.github.com/users/kamalmostafa/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":2,"additions":84,"deletions":29,"changed_files":3}}