setId

abstract suspend fun setId(deviceId: String, poolId: String): CommandResponse

Sets the connection pool ID to the specified 4-character hexadecimal value.

Return

A CommandResponse indicating the success or failure of the operation.

Parameters

deviceId

The identifier of the target device.

poolId

The 4-character hexadecimal connection pool ID.


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

Callback-based version of setId for Java interoperability.

Parameters

deviceId

The identifier of the target device.

poolId

The 4-character hexadecimal connection pool ID.

callback

Callback to receive CommandResponse.