{"action":"created","issue":{"url":"https://api.github.com/repos/node-modbus/stream/issues/18","repository_url":"https://api.github.com/repos/node-modbus/stream","labels_url":"https://api.github.com/repos/node-modbus/stream/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/node-modbus/stream/issues/18/comments","events_url":"https://api.github.com/repos/node-modbus/stream/issues/18/events","html_url":"https://github.com/node-modbus/stream/issues/18","id":313274803,"number":18,"title":"[Help] How to get incoming-data ?","user":{"login":"taimaiduc","id":10907980,"avatar_url":"https://avatars2.githubusercontent.com/u/10907980?v=4","gravatar_id":"","url":"https://api.github.com/users/taimaiduc","html_url":"https://github.com/taimaiduc","followers_url":"https://api.github.com/users/taimaiduc/followers","following_url":"https://api.github.com/users/taimaiduc/following{/other_user}","gists_url":"https://api.github.com/users/taimaiduc/gists{/gist_id}","starred_url":"https://api.github.com/users/taimaiduc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taimaiduc/subscriptions","organizations_url":"https://api.github.com/users/taimaiduc/orgs","repos_url":"https://api.github.com/users/taimaiduc/repos","events_url":"https://api.github.com/users/taimaiduc/events{/privacy}","received_events_url":"https://api.github.com/users/taimaiduc/received_events","type":"User","site_admin":false},"labels":[{"id":572139542,"url":"https://api.github.com/repos/node-modbus/stream/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":{"login":"dresende","id":157494,"avatar_url":"https://avatars0.githubusercontent.com/u/157494?v=4","gravatar_id":"","url":"https://api.github.com/users/dresende","html_url":"https://github.com/dresende","followers_url":"https://api.github.com/users/dresende/followers","following_url":"https://api.github.com/users/dresende/following{/other_user}","gists_url":"https://api.github.com/users/dresende/gists{/gist_id}","starred_url":"https://api.github.com/users/dresende/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dresende/subscriptions","organizations_url":"https://api.github.com/users/dresende/orgs","repos_url":"https://api.github.com/users/dresende/repos","events_url":"https://api.github.com/users/dresende/events{/privacy}","received_events_url":"https://api.github.com/users/dresende/received_events","type":"User","site_admin":false},"assignees":[{"login":"dresende","id":157494,"avatar_url":"https://avatars0.githubusercontent.com/u/157494?v=4","gravatar_id":"","url":"https://api.github.com/users/dresende","html_url":"https://github.com/dresende","followers_url":"https://api.github.com/users/dresende/followers","following_url":"https://api.github.com/users/dresende/following{/other_user}","gists_url":"https://api.github.com/users/dresende/gists{/gist_id}","starred_url":"https://api.github.com/users/dresende/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dresende/subscriptions","organizations_url":"https://api.github.com/users/dresende/orgs","repos_url":"https://api.github.com/users/dresende/repos","events_url":"https://api.github.com/users/dresende/events{/privacy}","received_events_url":"https://api.github.com/users/dresende/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-04-11T11:00:53Z","updated_at":"2018-04-13T14:52:01Z","closed_at":null,"author_association":"NONE","body":"```js\r\nvar modbus = require(\"modbus-stream\");\r\n\r\nmodbus.tcp.server({ debug: \"server\" }, (connection) => {\r\nconnection.readCoils({from: 1, to: 40}, (err, info) => {\r\n   console.log(info.response.data);\r\n    });\r\n}).listen(502, () => {\r\n    // ready\r\n});\r\n```\r\n**info.response.data is incoming-data ?**"},"comment":{"url":"https://api.github.com/repos/node-modbus/stream/issues/comments/381160638","html_url":"https://github.com/node-modbus/stream/issues/18#issuecomment-381160638","issue_url":"https://api.github.com/repos/node-modbus/stream/issues/18","id":381160638,"user":{"login":"dresende","id":157494,"avatar_url":"https://avatars0.githubusercontent.com/u/157494?v=4","gravatar_id":"","url":"https://api.github.com/users/dresende","html_url":"https://github.com/dresende","followers_url":"https://api.github.com/users/dresende/followers","following_url":"https://api.github.com/users/dresende/following{/other_user}","gists_url":"https://api.github.com/users/dresende/gists{/gist_id}","starred_url":"https://api.github.com/users/dresende/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dresende/subscriptions","organizations_url":"https://api.github.com/users/dresende/orgs","repos_url":"https://api.github.com/users/dresende/repos","events_url":"https://api.github.com/users/dresende/events{/privacy}","received_events_url":"https://api.github.com/users/dresende/received_events","type":"User","site_admin":false},"created_at":"2018-04-13T14:52:01Z","updated_at":"2018-04-13T14:52:01Z","author_association":"OWNER","body":"If you're debugging something, you can change the `debug` property to a text string and see the full packet."}}
{"actor":{"display_login":"dresende"}}