1、Start scan and in onScanLockSuccess callback select the lock witch is in setting mode to init.
TTLockClient.getDefault().initLock(device, new InitLockCallback() { @Override public void onInitLockSuccess(String lockData) { //init success } @Override public void onFail(LockError error) { //failed }});2、Request cloud API:Init Lock in the onInitLockSuccess callback method to upload the lock data to cloud server and bind it to a user account.