resetId

abstract suspend fun resetId(deviceId: String): CommandResponse

Resets the connection pool ID to the default '0000'.

Return

A CommandResponse indicating the success or failure of the operation.

Parameters

deviceId

The identifier of the target device.


abstract fun resetId(deviceId: String, callback: (Result<CommandResponse>) -> Unit)

Callback-based version of resetId for Java interoperability.

Parameters

deviceId

The identifier of the target device.

callback

Callback to receive CommandResponse.