From c5661ba35f1cd72afa0c0cce45c568986b1d1bf2 Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Wed, 19 Dec 2012 11:30:17 +0100 Subject: [PATCH] Add mbus-tcp-raw-send to clean up script --- .gitignore | 1 + bin/Makefile.am | 1 + bin/libmbus.pod | 8 ++++++++ bin/mbus-tcp-raw-send.1 | 2 ++ clean.sh | 1 + 5 files changed, 13 insertions(+) create mode 100644 bin/mbus-tcp-raw-send.1 diff --git a/.gitignore b/.gitignore index 2bb98e8..2e10929 100644 --- a/.gitignore +++ b/.gitignore @@ -53,6 +53,7 @@ bin/mbus-serial-scan bin/mbus-serial-scan-secondary bin/mbus-serial-select-secondary bin/mbus-serial-switch-baudrate +bin/mbus-tcp-raw-send bin/mbus-tcp-request-data bin/mbus-tcp-request-data-multi-reply bin/mbus-tcp-scan diff --git a/bin/Makefile.am b/bin/Makefile.am index 3078f5b..82b8446 100644 --- a/bin/Makefile.am +++ b/bin/Makefile.am @@ -77,6 +77,7 @@ dist_man_MANS = libmbus.1 \ mbus-tcp-request-data-multi-reply.1 \ mbus-tcp-select-secondary.1 \ mbus-tcp-scan-secondary.1 \ + mbus-tcp-raw-send.1 \ mbus-serial-scan.1 \ mbus-serial-request-data.1 \ mbus-serial-request-data-multi-reply.1 \ diff --git a/bin/libmbus.pod b/bin/libmbus.pod index ecd109e..634e4ea 100644 --- a/bin/libmbus.pod +++ b/bin/libmbus.pod @@ -30,6 +30,8 @@ B [-b BAUDRATE] device secondary-mbus-address B host port secondary-mbus-address +B [-d] host port mbus-address [file] + =head1 DESCRIPTION B - attempts to switch the communication speed of @@ -52,6 +54,8 @@ Supports both primary and secondary address types. B, B - perform single secondary address select to check what device responds. +B - send a single raw hex frame to a MBus device. + =head1 OPTIONS There are following options/parameters: @@ -113,6 +117,10 @@ MBus secondary address of the device. Sixteen digit hexadecimal number. For serial communication, the baudrate to which the device should be switched. +=item B + +Path to an file with hex values. + =back diff --git a/bin/mbus-tcp-raw-send.1 b/bin/mbus-tcp-raw-send.1 new file mode 100644 index 0000000..df8a67a --- /dev/null +++ b/bin/mbus-tcp-raw-send.1 @@ -0,0 +1,2 @@ +.so man1/libmbus.1 + diff --git a/clean.sh b/clean.sh index fda07d3..4cfb33a 100755 --- a/clean.sh +++ b/clean.sh @@ -34,6 +34,7 @@ true \ && rm -f bin/mbus-serial-scan-secondary \ && rm -f bin/mbus-serial-select-secondary \ && rm -f bin/mbus-serial-switch-baudrate \ + && rm -f bin/mbus-tcp-raw-send \ && rm -f bin/mbus-tcp-request-data \ && rm -f bin/mbus-tcp-request-data-multi-reply \ && rm -f bin/mbus-tcp-scan \