校准
  1. mTTLockAPI.connect(mKey.getLockMac());
    

  2. @Override
    public void onDeviceConnected(ExtendedBluetoothDevice extendedBluetoothDevice) {
    	
    	// uid为用户授权的openid,读取操作记录用来标识哪个用户的操作
    	mTTLockAPI.setLockTime(extendedBluetoothDevice, uid, curKey.getLockVersion(), curKey.getUnlockKey(), System.currentTimeMillis(), curKey.getLockFlagPos(), curKey.getAesKeystr(), curKey.getTimezoneRawOffset());
    
    }
    
    @Override
    public void onDeviceConnected(ExtendedBluetoothDevice extendedBluetoothDevice) {
    	
    	// uid equivalent to openid. In operateLog identify user
    	mTTLockAPI.setLockTime(extendedBluetoothDevice, uid, curKey.getLockVersion(), curKey.getUnlockKey(), System.currentTimeMillis(), curKey.getLockFlagPos(), curKey.getAesKeystr(), curKey.getTimezoneRawOffset());
    
    }
    

  3. @Override
    public void onSetLockTime(ExtendedBluetoothDevice extendedBluetoothDevice, Error error) {
    	
    	// 查看锁时间
    
    }
    
    @Override
    public void onSetLockTime(ExtendedBluetoothDevice extendedBluetoothDevice, Error error) {
    	
    	// Watch lock time
    
    }