Skip to content

Commit

Permalink
fix device status report topic mismatch bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
ruizeng committed Dec 29, 2015
1 parent 63fe6c4 commit dde0d71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/device/device.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func (d *Device) reportStatus(client *MQTT.Client) {
return
}

client.Publish("d", 1, false, payload)
client.Publish("s", 1, false, payload)

}

Expand Down

0 comments on commit dde0d71

Please sign in to comment.