Skip to content

Commit

Permalink
changes for v1.0.12 - add subscription of led to gateway nodemanagement
Browse files Browse the repository at this point in the history
  • Loading branch information
NamidM committed Jun 7, 2022
1 parent 7e911dd commit b8e9bf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/datagram.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (device *DeviceModel) CreateNodeManagement(isGateway bool) *FeatureModel {
subscriptions := []string{}
bindings := []string{}
if isGateway {
subscriptions = append(subscriptions, []string{"ActuatorSwitch", "Measurement", "NodeManagement"}...)
subscriptions = append(subscriptions, []string{"ActuatorSwitch", "MeasurementTemp", "MeasurementSolar", "MeasurementBattery", "Measurement", "NodeManagement", "ActuatorSwitch1", "ActuatorSwitch2"}...)
bindings = append(bindings, []string{"ActuatorSwitch", "ActuatorSwitch1", "ActuatorSwitch2"}...)
}
return &FeatureModel{
Expand Down

0 comments on commit b8e9bf6

Please sign in to comment.