ConfigModelPublicationSet

data class ConfigModelPublicationSet(val publish: Publish, val companyIdentifier: UShort?, val modelIdentifier: UShort, val elementAddress: UnicastAddress) : AcknowledgedConfigMessage, ConfigAnyModelMessage

This message is used to set the publication state of a model.

Constructors

Link copied to clipboard
constructor(publish: Publish, companyIdentifier: UShort?, modelIdentifier: UShort, elementAddress: UnicastAddress)

Types

Link copied to clipboard

Properties

Link copied to clipboard
open override val companyIdentifier: UShort?

Company identifier, as defined in Assigned Numbers, or nil, if the Model is defined in Bluetooth Mesh Model Specification.

Link copied to clipboard
open override val elementAddress: UnicastAddress

Unicast Address of the Model's parent Element.

Link copied to clipboard

Defines if the message should be sent as an acknowledged message.

Link copied to clipboard

Defines if the message should be sent or was sent as Segmented Access Message. By default, this returns false. To force segmentation for shorter messages return true despite payload length. If payload size is longer than 11 bytes this field is not checked as the message must be segmented.

Link copied to clipboard

Whether the message is a Vendor Message, or not.

Link copied to clipboard
open override val modelId: ModelId

32-bit Model identifier.

Link copied to clipboard
open override val modelIdentifier: UShort

16-bit Model identifier.

Link copied to clipboard
open override val opCode: UInt
Link copied to clipboard
open override val parameters: ByteArray

Access layer payload, including the Op Code.

Link copied to clipboard

Contains the publication state.

Link copied to clipboard
open override val responseOpCode: UInt

Op Code of the response message.

Link copied to clipboard

Defines if the message should be sent or has been sent using 32-bit or 64-bit TransMIC value. By default MeshMessageSecurity.Low is used. Only Segmented Access Messages can use 64-bit MIC. If the payload is shorter than 11 bytes, make sure you return true from MeshMessage.isSegmented, otherwise this field will be ignored.