For Mi Band 1A (fw 5.15.7.14) we get 0xa for auth success #180
This commit is contained in:
parent
50dd7f5eba
commit
be012eca8d
|
@ -778,6 +778,7 @@ public class MiBandSupport extends AbstractBTLEDeviceSupport {
|
||||||
GB.toast(getContext(), "Band needs pairing", Toast.LENGTH_LONG, GB.ERROR);
|
GB.toast(getContext(), "Band needs pairing", Toast.LENGTH_LONG, GB.ERROR);
|
||||||
break;
|
break;
|
||||||
case MiBandService.NOTIFY_AUTHENTICATION_SUCCESS: // fall through -- not sure which one we get
|
case MiBandService.NOTIFY_AUTHENTICATION_SUCCESS: // fall through -- not sure which one we get
|
||||||
|
case MiBandService.NOTIFY_RESET_AUTHENTICATION_SUCCESS: // for Mi 1A
|
||||||
case MiBandService.NOTIFY_STATUS_MOTOR_AUTH_SUCCESS:
|
case MiBandService.NOTIFY_STATUS_MOTOR_AUTH_SUCCESS:
|
||||||
LOG.info("Band successfully authenticated");
|
LOG.info("Band successfully authenticated");
|
||||||
// maybe we can perform the rest of the initialization from here
|
// maybe we can perform the rest of the initialization from here
|
||||||
|
|
Loading…
Reference in New Issue