Skip to content

Commit

Permalink
Version 2.1.6. Remove Bytes output. Add Identity. (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewHink authored Oct 28, 2021
1 parent 762039d commit ffa9d2f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

PLUGIN_NAME := modbus-ip
PLUGIN_VERSION := 2.1.5
PLUGIN_VERSION := 2.1.6
IMAGE_NAME := vaporio/modbus-ip-plugin
BIN_NAME := synse-modbus-ip-plugin

Expand Down
9 changes: 5 additions & 4 deletions pkg/outputs/outputs.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,10 @@ var (
},
}

// Bytes are arbitrary bytes.
Bytes = output.Output{
Name: "bytes",
Type: "bytes",
// Identity describes readings with identity outputs.
// Examples are model number and serial number.
Identity = output.Output{
Name: "identity",
Type: "identity",
}
)
2 changes: 1 addition & 1 deletion pkg/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func MakePlugin() *sdk.Plugin {
&outputs.VoltAmp,
&outputs.VAR,
&outputs.WattHour,
&outputs.Bytes,
&outputs.Identity,
)
if err != nil {
log.Fatal(err)
Expand Down

0 comments on commit ffa9d2f

Please sign in to comment.