OtaSoftwareUpdateRequestorTrait.ProviderLocation

class OtaSoftwareUpdateRequestorTrait.ProviderLocation : ClusterStruct


A fabric-scoped location of an OTA provider on a given fabric.

Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

ProviderLocation(
    providerNodeId: ULong,
    endpoint: UShort,
    fabricIndex: UByte
)

Creates the ProviderLocation class.

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

UShort

The endpoint ID for the provider node that implements the OTA Provider cluster.

UByte

The identifier for the fabric where the OTA provider is located.

ULong

Public constructors

ProviderLocation

ProviderLocation(
    providerNodeId: ULong,
    endpoint: UShort,
    fabricIndex: UByte
)

Creates the ProviderLocation class.

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

endpoint

val endpointUShort

The endpoint ID for the provider node that implements the OTA Provider cluster.

fabricIndex

val fabricIndexUByte

The identifier for the fabric where the OTA provider is located.

providerNodeId

val providerNodeIdULong