Add mbus-tcp-raw-send to clean up script

This commit is contained in:
Stefan Wahren
2012-12-19 11:30:17 +01:00
parent 746e611236
commit c5661ba35f
5 changed files with 13 additions and 0 deletions

1
.gitignore vendored
View File

@ -53,6 +53,7 @@ bin/mbus-serial-scan
bin/mbus-serial-scan-secondary bin/mbus-serial-scan-secondary
bin/mbus-serial-select-secondary bin/mbus-serial-select-secondary
bin/mbus-serial-switch-baudrate bin/mbus-serial-switch-baudrate
bin/mbus-tcp-raw-send
bin/mbus-tcp-request-data bin/mbus-tcp-request-data
bin/mbus-tcp-request-data-multi-reply bin/mbus-tcp-request-data-multi-reply
bin/mbus-tcp-scan bin/mbus-tcp-scan

View File

@ -77,6 +77,7 @@ dist_man_MANS = libmbus.1 \
mbus-tcp-request-data-multi-reply.1 \ mbus-tcp-request-data-multi-reply.1 \
mbus-tcp-select-secondary.1 \ mbus-tcp-select-secondary.1 \
mbus-tcp-scan-secondary.1 \ mbus-tcp-scan-secondary.1 \
mbus-tcp-raw-send.1 \
mbus-serial-scan.1 \ mbus-serial-scan.1 \
mbus-serial-request-data.1 \ mbus-serial-request-data.1 \
mbus-serial-request-data-multi-reply.1 \ mbus-serial-request-data-multi-reply.1 \

View File

@ -30,6 +30,8 @@ B<mbus-serial-select-secondary> [-b BAUDRATE] device secondary-mbus-address
B<mbus-tcp-select-secondary> host port secondary-mbus-address B<mbus-tcp-select-secondary> host port secondary-mbus-address
B<mbus-tcp-raw-send> [-d] host port mbus-address [file]
=head1 DESCRIPTION =head1 DESCRIPTION
B<mbus-serial-switch-baudrate> - attempts to switch the communication speed of B<mbus-serial-switch-baudrate> - attempts to switch the communication speed of
@ -52,6 +54,8 @@ Supports both primary and secondary address types.
B<mbus-serial-select-secondary>, B<mbus-tcp-select-secondary> - perform single secondary B<mbus-serial-select-secondary>, B<mbus-tcp-select-secondary> - perform single secondary
address select to check what device responds. address select to check what device responds.
B<mbus-tcp-raw-send> - send a single raw hex frame to a MBus device.
=head1 OPTIONS =head1 OPTIONS
There are following options/parameters: 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. For serial communication, the baudrate to which the device should be switched.
=item B<file>
Path to an file with hex values.
=back =back

2
bin/mbus-tcp-raw-send.1 Normal file
View File

@ -0,0 +1,2 @@
.so man1/libmbus.1

View File

@ -34,6 +34,7 @@ true \
&& rm -f bin/mbus-serial-scan-secondary \ && rm -f bin/mbus-serial-scan-secondary \
&& rm -f bin/mbus-serial-select-secondary \ && rm -f bin/mbus-serial-select-secondary \
&& rm -f bin/mbus-serial-switch-baudrate \ && 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 \
&& rm -f bin/mbus-tcp-request-data-multi-reply \ && rm -f bin/mbus-tcp-request-data-multi-reply \
&& rm -f bin/mbus-tcp-scan \ && rm -f bin/mbus-tcp-scan \