connect
open override fun connect(serialNumber: String, deviceCertificate: DeviceCertificate, keepConnection: Boolean, secureConnectionListener: ILockConnectionListener)
Initiates a secure connection to the lock.
Parameters
serial Number
Serial number of the device ex. 12345678-901234
device Certificate
A certificate required for secure connection to the device.
keep Connection
If true, maintains the connection after initial setup; if false, connection has timeout @see DEFAULT_TIMEOUT_FOR_SCANNING.
secure Connection Listener
Callback interface for lock connection changes and updates.