connect For Adding
open override fun connectForAdding(serialNumber: String, keepConnection: Boolean, addLockConnectionListener: IAddLockConnectionListener)
Initiates an add lock connection to the lock.
This method is used to connect to the lock without a secure session, typically for the purpose of adding the lock to an account.
Parameters
serial Number
The serial number of the device, e.g., "12345678-901234".
keep Connection
If true, maintains the connection after the initial setup; if false, the connection has a timeout (see DEFAULT_TIMEOUT_FOR_SCANNING).
add Lock Connection Listener
Callback interface for lock connection changes.