.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "SML_SERVER" "1" "" "Volkszaehler project" "User Commands" .hy .SH NAME .PP sml_server - makes libsml functionality available on the command line .SH SYNOPSIS .PP \f[B]sml_server\f[R] [\f[B]-v\f[R]] [\f[B]-h\f[R]] [\f[B]-s\f[R]] \f[I]device\f[R]|\f[I]file\f[R] .SH DESCRIPTION .PP The sml_server reads binary SML data from the given device or file. If a - is given, stdin is used. This data is then displayed in human readable form. .TP \f[B]-v\f[R] This enables verbose output. .TP \f[B]-h\f[R] This shows the help. .TP \f[B]-s\f[R] will print the first sml message and then exit (single) .SH EXAMPLES .PP Assuming there is a meter connected to ttyUSB0 you can display the transmitted data. .IP .nf \f[C] $ sml_server /dev/ttyUSB0 129-129:199.130.3*255#ISK# 1-0:0.0.9*255#06 49 53 4b 01 0b cb 28 e6 1d # 1-0:1.8.0*255#10973297.0#Wh 1-0:1.8.1*255#10973297.0#Wh 1-0:1.8.2*255#0.0#Wh 1-0:16.7.0*255#144#W \&... \f[R] .fi .SH NOTE .PP The sml_server is intended as a tool for development and testing and as an example. It was not developed for production use. .SH COPYRIGHT .PP The sml_server program is Copyright (C) Juri Glass, Mathias Runge, Nadim El Sayed and others. .SH SEE ALSO .PP libsml-testing (https://github.com/devZer0/libsml-testing) is a collection of test data from real life smart meters. It also has usage examples. .SH AUTHORS Joachim Zobel .