2
0

feat(all): send messages as parts

This commit is contained in:
Pierre CLEMENT
2018-03-23 23:08:53 +01:00
parent 1828e35a4d
commit df64a9521c
5 changed files with 38 additions and 17 deletions

View File

@@ -21,7 +21,7 @@ class Magnet extends GatewaySubdevice_1.GatewaySubdevice {
super.handleMessage(msg);
if (msg.isReadAck() || msg.isReport()) {
let data = msg.data;
// mintime
// TODO: mintime
if (this.status !== data.status) {
this.status = data.status;
this.emit('values-updated', this.sid);