1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-29 05:16:51 +01:00

Mi Band 8: Handle user info ack

This commit is contained in:
José Rebelo 2023-10-06 21:37:35 +01:00
parent 44be081e86
commit becb10e9f8

View File

@ -81,6 +81,9 @@ public class XiaomiHealthService extends AbstractXiaomiService {
@Override @Override
public void handleCommand(final XiaomiProto.Command cmd) { public void handleCommand(final XiaomiProto.Command cmd) {
switch (cmd.getSubtype()) { switch (cmd.getSubtype()) {
case CMD_SET_USER_INFO:
LOG.debug("Got user info set ack, status={}", cmd.getStatus());
return;
case CMD_CONFIG_SPO2_GET: case CMD_CONFIG_SPO2_GET:
handleSpo2Config(cmd.getHealth().getSpo2()); handleSpo2Config(cmd.getHealth().getSpo2());
return; return;