GeneralDiagnosticsTrait.PayloadTestRequestCommand.Request

class GeneralDiagnosticsTrait.PayloadTestRequestCommand.Request : ClusterStruct


Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Request(enableKey: ByteArray, value: UByte, count: UShort)

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public constructors

Request

Request(enableKey: ByteArray = ByteArray(0), value: UByte, count: UShort)

Public functions

getDescriptor

@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

Public properties

count

val countUShort

enableKey

val enableKeyByteArray

value

val valueUByte