author | Eric Sandeen <sandeen@sandeen.net> | |
Wed, 10 Dec 2014 21:38:09 +0000 (15:38 -0600) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Fri, 16 Jan 2015 21:46:08 +0000 (22:46 +0100) | ||
commit | de9cbff39b893f445d678c0a3bc3f8fb0456f42b | |
tree | 539304c8376651bef2b7da11ae4ff02dfac75b34 | tree | snapshot |
parent | 21f35cd8376a29cbea8e1d0c690b0f9125cffdcd | commit | diff |
add Modbus/RTU support to modbus plugin
This allows access to a local RS-485 serial port
via the modbus plugin by specifying i.e.
Device "/dev/ttyUSB0"
Baudrate 38400
in a <Host> block.
For now it assumes 8N1; adding another config option
to support other configurations could be done later.
Lightly tested on my local setup.
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
This allows access to a local RS-485 serial port
via the modbus plugin by specifying i.e.
Device "/dev/ttyUSB0"
Baudrate 38400
in a <Host> block.
For now it assumes 8N1; adding another config option
to support other configurations could be done later.
Lightly tested on my local setup.
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
src/collectd.conf.pod | diff | blob | history | |
src/modbus.c | diff | blob | history |