{"action":"created","issue":{"url":"https://api.github.com/repos/AdvancedClimateSystems/uModbus/issues/51","repository_url":"https://api.github.com/repos/AdvancedClimateSystems/uModbus","labels_url":"https://api.github.com/repos/AdvancedClimateSystems/uModbus/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/AdvancedClimateSystems/uModbus/issues/51/comments","events_url":"https://api.github.com/repos/AdvancedClimateSystems/uModbus/issues/51/events","html_url":"https://github.com/AdvancedClimateSystems/uModbus/issues/51","id":258753320,"number":51,"title":"Modbus RTU over TCP ","user":{"login":"ccatterina","id":9085116,"avatar_url":"https://avatars3.githubusercontent.com/u/9085116?v=4","gravatar_id":"","url":"https://api.github.com/users/ccatterina","html_url":"https://github.com/ccatterina","followers_url":"https://api.github.com/users/ccatterina/followers","following_url":"https://api.github.com/users/ccatterina/following{/other_user}","gists_url":"https://api.github.com/users/ccatterina/gists{/gist_id}","starred_url":"https://api.github.com/users/ccatterina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccatterina/subscriptions","organizations_url":"https://api.github.com/users/ccatterina/orgs","repos_url":"https://api.github.com/users/ccatterina/repos","events_url":"https://api.github.com/users/ccatterina/events{/privacy}","received_events_url":"https://api.github.com/users/ccatterina/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-09-19T09:24:55Z","updated_at":"2017-09-19T15:51:02Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nIs there a way to send RTU messages through TCP?\r\nI need this functionality because we usually convert all the serial devices with rs485/ethernet converter.\r\n"},"comment":{"url":"https://api.github.com/repos/AdvancedClimateSystems/uModbus/issues/comments/330584125","html_url":"https://github.com/AdvancedClimateSystems/uModbus/issues/51#issuecomment-330584125","issue_url":"https://api.github.com/repos/AdvancedClimateSystems/uModbus/issues/51","id":330584125,"user":{"login":"OrangeTux","id":1565144,"avatar_url":"https://avatars3.githubusercontent.com/u/1565144?v=4","gravatar_id":"","url":"https://api.github.com/users/OrangeTux","html_url":"https://github.com/OrangeTux","followers_url":"https://api.github.com/users/OrangeTux/followers","following_url":"https://api.github.com/users/OrangeTux/following{/other_user}","gists_url":"https://api.github.com/users/OrangeTux/gists{/gist_id}","starred_url":"https://api.github.com/users/OrangeTux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OrangeTux/subscriptions","organizations_url":"https://api.github.com/users/OrangeTux/orgs","repos_url":"https://api.github.com/users/OrangeTux/repos","events_url":"https://api.github.com/users/OrangeTux/events{/privacy}","received_events_url":"https://api.github.com/users/OrangeTux/received_events","type":"User","site_admin":false},"created_at":"2017-09-19T15:51:02Z","updated_at":"2017-09-19T15:51:02Z","author_association":"OWNER","body":"This is no problem. I've build one myself using the building blocks that uModbus provides. \r\n\r\nAs you may know Modbus RTU and Modbus TCP have a few bytes in common, the PDU. As shown in [this image](http://www.simplymodbus.ca/images/adu_pdu.PNG).\r\n\r\nTo convert a Modbus TCP request into a Modbus RTU request you need to strip the MBAP header and add a CRC. After you receive the RTU response you need remove the CRC and prepend the message with the MBAP header and return that.\r\n\r\n"}}
{"actor":{"display_login":"OrangeTux"}}