Added mbusio, a client for Modbus TCP
authorRick van Rein <rick@openfortress.nl>
Thu, 18 Jul 2019 14:35:56 +0000 (16:35 +0200)
committerRick van Rein <rick@openfortress.nl>
Thu, 18 Jul 2019 14:35:56 +0000 (16:35 +0200)
commit90b4a84e545279ca24b5064a6e8f1dcf4d749e94
treecd0a2f435cfb7ded2a7da45e2a4d6b56f46b5e48
parentba85d23cd659b85b2cfa604737077db92196196b
Added mbusio, a client for Modbus TCP
Communicate in terms of SLAVE,FUNCTION,DATA in binary
 - mbusio adds MBAP header except for the SLAVE address
 - Modbus TCP multiplexes, removes MBAP header, adds Modbus RTU checksums
 - mbusio expects its responses in the order of its queries
 - mbusio checks txnid and protoid but not SLAVE address in the response
Makefile
mbusio.c [new file with mode: 0644]
socket.c [new file with mode: 0644]
socket.h [new file with mode: 0644]