mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-08-25 00:30:37 +02:00
Mi Band 8: Handle user info ack
This commit is contained in:
parent
44be081e86
commit
becb10e9f8
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user