For Mi Band 1A (fw 5.15.7.14) we get 0xa for auth success #180

This commit is contained in:
cpfeiffer 2016-03-07 21:43:45 +01:00
parent 50dd7f5eba
commit be012eca8d
1 changed files with 1 additions and 0 deletions

View File

@ -778,6 +778,7 @@ public class MiBandSupport extends AbstractBTLEDeviceSupport {
GB.toast(getContext(), "Band needs pairing", Toast.LENGTH_LONG, GB.ERROR);
break;
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:
LOG.info("Band successfully authenticated");
// maybe we can perform the rest of the initialization from here