ThreadNetworkManagementTrait.ActivateEpskcModeCommand.Request

class ThreadNetworkManagementTrait.ActivateEpskcModeCommand.Request : ClusterStruct


The request payload for the ActivateEpskcMode command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Request(requestedDurationSeconds: OptionalValue<Short>)

Creates a request payload for the ActivateEpskcMode command.

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

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

Public properties

OptionalValue<Short>

The requested duration for which the ePSKc should be valid.

Public constructors

Request

Request(
    requestedDurationSeconds: OptionalValue<Short> = OptionalValue.absent()
)

Creates a request payload for the ActivateEpskcMode command.

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

requestedDurationSeconds

val requestedDurationSecondsOptionalValue<Short>

The requested duration for which the ePSKc should be valid. If this field isn't set, the duration defaults to 120 seconds.