diff --git a/cmd/res/profiles/modbus.test.device.profile.yml b/cmd/res/profiles/modbus.test.device.profile.yml index 300054d6..5ebaa537 100644 --- a/cmd/res/profiles/modbus.test.device.profile.yml +++ b/cmd/res/profiles/modbus.test.device.profile.yml @@ -16,7 +16,7 @@ deviceResources: properties: valueType: "Bool" readWrite: "RW" - scale: "1" + scale: 1 minimum: "0" maximum: "1" defaultValue: "0" @@ -29,7 +29,7 @@ deviceResources: properties: valueType: "Bool" readWrite: "RW" - scale: "1" + scale: 1 minimum: "0" maximum: "1" defaultValue: "0" @@ -42,7 +42,7 @@ deviceResources: properties: valueType: "Int16" readWrite: "RW" - scale: "1" + scale: 1 minimum: "0" maximum: "11" defaultValue: "0" @@ -55,7 +55,7 @@ deviceResources: properties: valueType: "Int32" readWrite: "RW" - scale: "1" + scale: 1 minimum: "0" maximum: "9" defaultValue: "0" @@ -68,7 +68,7 @@ deviceResources: properties: valueType: "Float32" readWrite: "R" - scale: "0.1" + scale: 0.1 - name: "Temperature" isHidden: true @@ -78,7 +78,7 @@ deviceResources: properties: valueType: "Float32" readWrite: "RW" - scale: "0.1" + scale: 0.1 deviceCommands: - diff --git a/go.mod b/go.mod index 73a18799..0ec26e62 100644 --- a/go.mod +++ b/go.mod @@ -3,8 +3,8 @@ module github.com/edgexfoundry/device-modbus-go go 1.20 require ( - github.com/edgexfoundry/device-sdk-go/v3 v3.0.0-dev.50 - github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.26 + github.com/edgexfoundry/device-sdk-go/v3 v3.0.0-dev.54 + github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.28 github.com/goburrow/modbus v0.1.0 github.com/spf13/cast v1.5.0 github.com/stretchr/testify v1.8.2 @@ -17,11 +17,11 @@ require ( github.com/cenkalti/backoff v2.2.1+incompatible // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/eclipse/paho.mqtt.golang v1.4.2 // indirect - github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.44 // indirect + github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.47 // indirect github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.7 // indirect - github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.16 // indirect + github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.18 // indirect github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.5 // indirect - github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.8 // indirect + github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.9 // indirect github.com/fatih/color v1.9.0 // indirect github.com/fxamacker/cbor/v2 v2.4.0 // indirect github.com/go-kit/log v0.2.1 // indirect diff --git a/go.sum b/go.sum index e47ca120..afcc0c49 100644 --- a/go.sum +++ b/go.sum @@ -27,20 +27,20 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/eclipse/paho.mqtt.golang v1.4.2 h1:66wOzfUHSSI1zamx7jR6yMEI5EuHnT1G6rNA5PM12m4= github.com/eclipse/paho.mqtt.golang v1.4.2/go.mod h1:JGt0RsEwEX+Xa/agj90YJ9d9DH2b7upDZMK9HRbFvCA= -github.com/edgexfoundry/device-sdk-go/v3 v3.0.0-dev.50 h1:v2vtVunOCcRJ9d6AI9zakHawNbdMLU2a4EHv+chfcs0= -github.com/edgexfoundry/device-sdk-go/v3 v3.0.0-dev.50/go.mod h1:zhdvWnfPu2cqVasAV1BClT9puUwS3D0JmJ6OFg7WPRQ= -github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.44 h1:bzROMV3XZzFB5uBFTeQRuqBQyHE8DJjHSl3UWoqacds= -github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.44/go.mod h1:qiG4HABtB+mnFBOby/ZUpIWcQD0TZa8jIG7p/jeVuzc= +github.com/edgexfoundry/device-sdk-go/v3 v3.0.0-dev.54 h1:v0agM9yGlu1036LQXzC0ImOah2zLaaUoho6ngdU2O3I= +github.com/edgexfoundry/device-sdk-go/v3 v3.0.0-dev.54/go.mod h1:GtXMlc0G7aXEXWhbW+7YwO9F1KA1qFRODhzfWFSWhoU= +github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.47 h1:KG2CAxu1BKwvT8vMONZC2bTUqJuwRY49XyUISAgjdfQ= +github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.47/go.mod h1:W26ejUzaSRzq/b/8oIdB8hKve4xW55XbCkfj8pvQNfE= github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.7 h1:pOH2GLDg1KB4EmAzo6IEvl4NEVFAw3ywxPUMa5Wi1Vw= github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.7/go.mod h1:ZZbOu7K0/P8B1VKhZygVujLQyhvWuPe0E2vC/k2yscw= -github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.26 h1:vTTaaM3NErQRoNQKkbQ9f9x/FMJqzZX6OAQuXvU6HN8= -github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.26/go.mod h1:QBzXOAoyLzBm5k9CshgH9CR9nWMNXxZjknBFMnGJN/A= -github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.16 h1:JdZiqZ6CAboZ3+GuWZLyXc42y8HfsH1CmsIKNPY+0PY= -github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.16/go.mod h1:3q+Ys51HwpR9/kOv6sT7+EwAANgOfFWi509sEP5iPEo= +github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.28 h1:aNHlmF2uPcwUr7VKvNVJXdxMDaI41j2laoGxZy5H95g= +github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.28/go.mod h1:SYoD+tmUP/zwWuuIySmsQSjPx6MHP+2w9FsLgm0IR7A= +github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.18 h1:8empqTOIVhKzebC3gnP9C0LGQvwXtHLJF8x8AqlTGLM= +github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.18/go.mod h1:Sf7lvKtICWRy0Tmvw+bV6L1wdXKRaTSmKmJKw4Caxe4= github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.5 h1:FUUfsQUKHJqSwOXEj0j/qAn+uoWzM8nV7IOapGf7D80= github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.5/go.mod h1:MroNeX/i6ymRu8cyuRB4U5zdBusyUpFhUphko6pInTQ= -github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.8 h1:rvoSu4fWQNAundG1eRKKCjZkzSBJQoYqCtEfzzV91CY= -github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.8/go.mod h1:tjny0Y2/sLTB9qx3pjvT9PfGHpEOdfej7pjV3s1zppk= +github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.9 h1:12UHZG/Nl+dfFOaNnC87ANP/FQ3rOXe0Z6NVlYdmYgU= +github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.9/go.mod h1:tjny0Y2/sLTB9qx3pjvT9PfGHpEOdfej7pjV3s1zppk= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU=