Fetch position after sending a stop packet
This commit is contained in:
@@ -167,6 +167,8 @@ void onConnectionEstablished() {
|
|||||||
} else if (payload == "STOP") {
|
} else if (payload == "STOP") {
|
||||||
hubPacketBuilder.buildStopPacket(buffer, shadeID);
|
hubPacketBuilder.buildStopPacket(buffer, shadeID);
|
||||||
sendCommand(buffer);
|
sendCommand(buffer);
|
||||||
|
hubPacketBuilder.buildFetchPositionPacket(buffer, shadeID);
|
||||||
|
sendCommand(buffer);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user