Interface CharacteristicProps

Hierarchy

  • CharacteristicProps

Properties

adminOnlyAccess?: Access[]
description?: string
format: string
maxDataLen?: number

Maximum number of characters when format is DATA. Default is 2097152 characters.

maxLen?: number

Maximum number of characters when format is STRING. Default is 64 characters. Maximum allowed is 256 characters.

maxValue?: number

Defines the maximum value for a numeric characteristic

minStep?: number
minValue?: number

Defines the minimum value for a numeric characteristic

perms: Perms[]
unit?: string
validValueRanges?: [min: number, max: number]

Two element array where the first value specifies the lowest valid value and the second element specifies the highest valid value.

validValues?: number[]

Defines an array of valid values to be used for the characteristic.