1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-23 16:53:04 +02:00

Ack data even if it has been received already

This commit is contained in:
Erik Johansson
2018-11-26 21:01:02 +01:00
parent 93ccf50cd2
commit 660af298d7

View File

@@ -350,9 +350,10 @@ public class BluetoothBeurerSanitas extends BluetoothCommunication {
remoteUsers.add(new RemoteUser(decodeUserId(data, 4), name, year));
Timber.d("Received user %d/%d: %s (%d)", current, count, name, year);
sendAck(data);
}
sendAck(data);
if (current != count) {
return;
}