MeshModelId

value class MeshModelId(val value: UInt)

Identifies a mesh model on an element.

Models are identified by either:

  • SIG model ID (16-bit): Standard models defined by Bluetooth SIG (0x0000-0xFFFF).

  • Vendor model ID (32-bit): (vendorId << 16) | modelId, for vendor-specific models.

The model ID is used to route incoming access messages to the correct model handler.

Constructors

Link copied to clipboard
constructor(value: UInt)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

True if this is a standard Bluetooth SIG-defined model.

Link copied to clipboard

The 16-bit SIG model ID (only valid when isSigModel is true).

Link copied to clipboard
val value: UInt
Link copied to clipboard

The 16-bit vendor company ID (only valid when isSigModel is false).

Link copied to clipboard

The vendor-assigned model ID (only valid when isSigModel is false).