{"action":"opened","number":769,"pull_request":{"url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/pulls/769","id":239393195,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5MzkzMTk1","html_url":"https://github.com/SCADA-LTS/Scada-LTS/pull/769","diff_url":"https://github.com/SCADA-LTS/Scada-LTS/pull/769.diff","patch_url":"https://github.com/SCADA-LTS/Scada-LTS/pull/769.patch","issue_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/issues/769","number":769,"state":"open","locked":false,"title":"New datasource for raw TCP socket communication","user":{"login":"danibeni","id":7302751,"node_id":"MDQ6VXNlcjczMDI3NTE=","avatar_url":"https://avatars3.githubusercontent.com/u/7302751?v=4","gravatar_id":"","url":"https://api.github.com/users/danibeni","html_url":"https://github.com/danibeni","followers_url":"https://api.github.com/users/danibeni/followers","following_url":"https://api.github.com/users/danibeni/following{/other_user}","gists_url":"https://api.github.com/users/danibeni/gists{/gist_id}","starred_url":"https://api.github.com/users/danibeni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danibeni/subscriptions","organizations_url":"https://api.github.com/users/danibeni/orgs","repos_url":"https://api.github.com/users/danibeni/repos","events_url":"https://api.github.com/users/danibeni/events{/privacy}","received_events_url":"https://api.github.com/users/danibeni/received_events","type":"User","site_admin":false},"body":"This new DataSource opens a TCP socket connection to the address and port where the TCP socket server is running and obtain data from the device. The DataSource can be configured to send commands with a concrete end characters format (end with CR, end with LF, end with CRLF, end with NULL character) and the response data is received until a concrete condition is met (received a number of characters, received a concrete character o a concrete time has elapsed).\r\n\r\nAdditionally, each DataPoint of Raw TCP Socket DataSource can be configured to:\r\n\r\n   - Receive the data from the TCP Socket server directly, without sending any command, if the Number of commands parameter is set to 0.\r\n    - Receive the data from the TCP Socket server after sending one command that can be an ASCII value, an HEX value or any of the following non printable characters: STX, ETX, ENQ, ACK, NAK\r\n    - Receive the data form the TCP Socket server after sendind two commands, checking that the received data after the first command corresponds to the expected response from the server. If the response is the expected one, the second command is sent to the server and the DataPoint value is updated with the response data from the server to that second command.\r\n\r\n","created_at":"2018-12-18T07:50:23Z","updated_at":"2018-12-18T07:50:23Z","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/SCADA-LTS/Scada-LTS/pulls/769/commits","review_comments_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/pulls/769/comments","review_comment_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/issues/769/comments","statuses_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/statuses/63865c341b8c3846119043428b94f9a77afb1a0a","head":{"label":"danibeni:develop","ref":"develop","sha":"63865c341b8c3846119043428b94f9a77afb1a0a","user":{"login":"danibeni","id":7302751,"node_id":"MDQ6VXNlcjczMDI3NTE=","avatar_url":"https://avatars3.githubusercontent.com/u/7302751?v=4","gravatar_id":"","url":"https://api.github.com/users/danibeni","html_url":"https://github.com/danibeni","followers_url":"https://api.github.com/users/danibeni/followers","following_url":"https://api.github.com/users/danibeni/following{/other_user}","gists_url":"https://api.github.com/users/danibeni/gists{/gist_id}","starred_url":"https://api.github.com/users/danibeni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danibeni/subscriptions","organizations_url":"https://api.github.com/users/danibeni/orgs","repos_url":"https://api.github.com/users/danibeni/repos","events_url":"https://api.github.com/users/danibeni/events{/privacy}","received_events_url":"https://api.github.com/users/danibeni/received_events","type":"User","site_admin":false},"repo":{"id":154366108,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQzNjYxMDg=","name":"Scada-LTS","full_name":"danibeni/Scada-LTS","private":false,"owner":{"login":"danibeni","id":7302751,"node_id":"MDQ6VXNlcjczMDI3NTE=","avatar_url":"https://avatars3.githubusercontent.com/u/7302751?v=4","gravatar_id":"","url":"https://api.github.com/users/danibeni","html_url":"https://github.com/danibeni","followers_url":"https://api.github.com/users/danibeni/followers","following_url":"https://api.github.com/users/danibeni/following{/other_user}","gists_url":"https://api.github.com/users/danibeni/gists{/gist_id}","starred_url":"https://api.github.com/users/danibeni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danibeni/subscriptions","organizations_url":"https://api.github.com/users/danibeni/orgs","repos_url":"https://api.github.com/users/danibeni/repos","events_url":"https://api.github.com/users/danibeni/events{/privacy}","received_events_url":"https://api.github.com/users/danibeni/received_events","type":"User","site_admin":false},"html_url":"https://github.com/danibeni/Scada-LTS","description":"Scada-LTS is an Open Source, web-based, multi-platform solution for building your own SCADA (Supervisory Control and Data Acquisiton) system.","fork":true,"url":"https://api.github.com/repos/danibeni/Scada-LTS","forks_url":"https://api.github.com/repos/danibeni/Scada-LTS/forks","keys_url":"https://api.github.com/repos/danibeni/Scada-LTS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danibeni/Scada-LTS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danibeni/Scada-LTS/teams","hooks_url":"https://api.github.com/repos/danibeni/Scada-LTS/hooks","issue_events_url":"https://api.github.com/repos/danibeni/Scada-LTS/issues/events{/number}","events_url":"https://api.github.com/repos/danibeni/Scada-LTS/events","assignees_url":"https://api.github.com/repos/danibeni/Scada-LTS/assignees{/user}","branches_url":"https://api.github.com/repos/danibeni/Scada-LTS/branches{/branch}","tags_url":"https://api.github.com/repos/danibeni/Scada-LTS/tags","blobs_url":"https://api.github.com/repos/danibeni/Scada-LTS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danibeni/Scada-LTS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danibeni/Scada-LTS/git/refs{/sha}","trees_url":"https://api.github.com/repos/danibeni/Scada-LTS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danibeni/Scada-LTS/statuses/{sha}","languages_url":"https://api.github.com/repos/danibeni/Scada-LTS/languages","stargazers_url":"https://api.github.com/repos/danibeni/Scada-LTS/stargazers","contributors_url":"https://api.github.com/repos/danibeni/Scada-LTS/contributors","subscribers_url":"https://api.github.com/repos/danibeni/Scada-LTS/subscribers","subscription_url":"https://api.github.com/repos/danibeni/Scada-LTS/subscription","commits_url":"https://api.github.com/repos/danibeni/Scada-LTS/commits{/sha}","git_commits_url":"https://api.github.com/repos/danibeni/Scada-LTS/git/commits{/sha}","comments_url":"https://api.github.com/repos/danibeni/Scada-LTS/comments{/number}","issue_comment_url":"https://api.github.com/repos/danibeni/Scada-LTS/issues/comments{/number}","contents_url":"https://api.github.com/repos/danibeni/Scada-LTS/contents/{+path}","compare_url":"https://api.github.com/repos/danibeni/Scada-LTS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danibeni/Scada-LTS/merges","archive_url":"https://api.github.com/repos/danibeni/Scada-LTS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danibeni/Scada-LTS/downloads","issues_url":"https://api.github.com/repos/danibeni/Scada-LTS/issues{/number}","pulls_url":"https://api.github.com/repos/danibeni/Scada-LTS/pulls{/number}","milestones_url":"https://api.github.com/repos/danibeni/Scada-LTS/milestones{/number}","notifications_url":"https://api.github.com/repos/danibeni/Scada-LTS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danibeni/Scada-LTS/labels{/name}","releases_url":"https://api.github.com/repos/danibeni/Scada-LTS/releases{/id}","deployments_url":"https://api.github.com/repos/danibeni/Scada-LTS/deployments","created_at":"2018-10-23T17:03:11Z","updated_at":"2018-12-17T18:35:55Z","pushed_at":"2018-12-17T18:35:53Z","git_url":"git://github.com/danibeni/Scada-LTS.git","ssh_url":"git@github.com:danibeni/Scada-LTS.git","clone_url":"https://github.com/danibeni/Scada-LTS.git","svn_url":"https://github.com/danibeni/Scada-LTS","homepage":"","size":82591,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"SCADA-LTS:develop","ref":"develop","sha":"50ab368b8042a99d8f892f80b97b0a0f1c965b3e","user":{"login":"SCADA-LTS","id":28291921,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MjkxOTIx","avatar_url":"https://avatars2.githubusercontent.com/u/28291921?v=4","gravatar_id":"","url":"https://api.github.com/users/SCADA-LTS","html_url":"https://github.com/SCADA-LTS","followers_url":"https://api.github.com/users/SCADA-LTS/followers","following_url":"https://api.github.com/users/SCADA-LTS/following{/other_user}","gists_url":"https://api.github.com/users/SCADA-LTS/gists{/gist_id}","starred_url":"https://api.github.com/users/SCADA-LTS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SCADA-LTS/subscriptions","organizations_url":"https://api.github.com/users/SCADA-LTS/orgs","repos_url":"https://api.github.com/users/SCADA-LTS/repos","events_url":"https://api.github.com/users/SCADA-LTS/events{/privacy}","received_events_url":"https://api.github.com/users/SCADA-LTS/received_events","type":"Organization","site_admin":false},"repo":{"id":62729823,"node_id":"MDEwOlJlcG9zaXRvcnk2MjcyOTgyMw==","name":"Scada-LTS","full_name":"SCADA-LTS/Scada-LTS","private":false,"owner":{"login":"SCADA-LTS","id":28291921,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MjkxOTIx","avatar_url":"https://avatars2.githubusercontent.com/u/28291921?v=4","gravatar_id":"","url":"https://api.github.com/users/SCADA-LTS","html_url":"https://github.com/SCADA-LTS","followers_url":"https://api.github.com/users/SCADA-LTS/followers","following_url":"https://api.github.com/users/SCADA-LTS/following{/other_user}","gists_url":"https://api.github.com/users/SCADA-LTS/gists{/gist_id}","starred_url":"https://api.github.com/users/SCADA-LTS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SCADA-LTS/subscriptions","organizations_url":"https://api.github.com/users/SCADA-LTS/orgs","repos_url":"https://api.github.com/users/SCADA-LTS/repos","events_url":"https://api.github.com/users/SCADA-LTS/events{/privacy}","received_events_url":"https://api.github.com/users/SCADA-LTS/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/SCADA-LTS/Scada-LTS","description":"Scada-LTS is an Open Source, web-based, multi-platform solution for building your own SCADA (Supervisory Control and Data Acquisiton) system.","fork":false,"url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS","forks_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/forks","keys_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/teams","hooks_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/hooks","issue_events_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/issues/events{/number}","events_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/events","assignees_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/assignees{/user}","branches_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/branches{/branch}","tags_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/tags","blobs_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/git/refs{/sha}","trees_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/statuses/{sha}","languages_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/languages","stargazers_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/stargazers","contributors_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/contributors","subscribers_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/subscribers","subscription_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/subscription","commits_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/commits{/sha}","git_commits_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/git/commits{/sha}","comments_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/comments{/number}","issue_comment_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/issues/comments{/number}","contents_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/contents/{+path}","compare_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/merges","archive_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/downloads","issues_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/issues{/number}","pulls_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/pulls{/number}","milestones_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/milestones{/number}","notifications_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/labels{/name}","releases_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/releases{/id}","deployments_url":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/deployments","created_at":"2016-07-06T15:00:08Z","updated_at":"2018-12-15T03:22:07Z","pushed_at":"2018-12-17T11:34:42Z","git_url":"git://github.com/SCADA-LTS/Scada-LTS.git","ssh_url":"git@github.com:SCADA-LTS/Scada-LTS.git","clone_url":"https://github.com/SCADA-LTS/Scada-LTS.git","svn_url":"https://github.com/SCADA-LTS/Scada-LTS","homepage":"","size":101664,"stargazers_count":120,"watchers_count":120,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":58,"mirror_url":null,"archived":false,"open_issues_count":137,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":58,"open_issues":137,"watchers":120,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/pulls/769"},"html":{"href":"https://github.com/SCADA-LTS/Scada-LTS/pull/769"},"issue":{"href":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/issues/769"},"comments":{"href":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/issues/769/comments"},"review_comments":{"href":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/pulls/769/comments"},"review_comment":{"href":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/pulls/769/commits"},"statuses":{"href":"https://api.github.com/repos/SCADA-LTS/Scada-LTS/statuses/63865c341b8c3846119043428b94f9a77afb1a0a"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":6,"additions":3202,"deletions":127,"changed_files":18}}
{"actor":{"display_login":"danibeni"}}