handover FrmPayload to model parsers too

This commit is contained in:
2023-12-27 12:00:02 +01:00
parent e209598f9e
commit 57c63adeb2
5 changed files with 10 additions and 6 deletions

View File

@ -177,7 +177,7 @@ type emuMessage1 struct {
func Parse(fPort int, decodedPayload []byte, variables *map[string]database.VariableType, _ *database.Device) error {
func Parse(fPort int, decodedPayload []byte, _ string, variables *map[string]database.VariableType, _ *database.Device) error {
//log.Printf("Parse input: %d, %s", fPort, decodedPayload)
switch fPort {
case 1: