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

@ -26,7 +26,7 @@ type message struct {
Dis2 int `json:"dis2"`
}
func Parse(fPort int, decodedPayload []byte, variables *map[string]database.VariableType, device *database.Device) error {
func Parse(fPort int, decodedPayload []byte, _ string, variables *map[string]database.VariableType, device *database.Device) error {
if fPort != 2 {
return fmt.Errorf("Unexpected fPort %d", fPort)
}