init

Constructs the ConfigModelPublicationSet message using the given parameters.

Return

A ConfigModelPublicationSet message or null if parameters are invalid.

Parameters

publish

Publish settings.

model

Model with the Publish settings.


Constructs the ConfigModelPublicationSet message using the given model.

Return

A ConfigModelPublicationSet message or null if parameters are invalid.

Parameters

model

The model to set the publication for.


open override fun init(parameters: ByteArray?): ConfigModelPublicationVirtualAddressSet?

Initializes the mesh message based on the given parameters.

Return

the decoded BaseMeshMessage.

Parameters

parameters

Byte array containing the payload of the mesh message.