VendorModelId

data class VendorModelId(val companyId: UShort, val modelId: UShort)

Support for vendor-specific mesh models.

Vendor models use 32-bit model IDs: (vendorId << 16) | vendorModelId. Opcodes for vendor models use 3-byte encoding (0xC00000-0xFFFFFF).

To use a vendor model, create a VendorModelHandler and register it with the com.atruedev.kmpble.mesh.models.ModelDispatcher.

Constructors

Link copied to clipboard
constructor(companyId: UShort, modelId: UShort)

Properties

Link copied to clipboard

SIG-assigned company ID.

Link copied to clipboard

Combined 32-bit mesh model ID.

Link copied to clipboard

Vendor-assigned model identifier.

Link copied to clipboard

Opcode base for this vendor model (upper 2 bytes are vendorId).