@beanjs/nrf-bluetooth-mesh
v1.0.6
Published
Capacitor plugin for Bluetooth Mesh, based on nRF Mesh Libraries
Downloads
477
Readme
nrf-bluetooth-mesh
Capacitor plugin for Bluetooth Mesh, based on nRF Mesh Libraries
improve from https://github.com/lebrislo/nrf-bluetooth-mesh-plugin
Install
npm install @beanjs/nrf-bluetooth-mesh
npx cap sync
API
checkPermissions()
requestPermissions()
isBluetoothEnabled()
requestBluetoothEnable()
initMeshNetwork()
exportMeshNetwork()
importMeshNetwork(...)
getMeshNetwork()
createAppKey()
removeAppKey(...)
getNode(...)
createGroup(...)
removeGroup(...)
getGroup(...)
scanMeshDevices(...)
getProvisioningCapabilities(...)
provisionDevice(...)
unprovisionDevice(...)
getCompositionData(...)
getDefaultTTL(...)
setDefaultTTL(...)
getNetworkTransmit(...)
setNetworkTransmit(...)
addAppKey(...)
delAppKey(...)
getAppKeys(...)
bindAppKey(...)
unbindAppKey(...)
subscribe(...)
unsubscribe(...)
unsubscribeAll(...)
publish(...)
getOnOff(...)
setOnOff(...)
getSensor(...)
getSensorDescriptor(...)
getSensorColumn(...)
getSensorSeries(...)
getSensorCadence(...)
getSensorSettings(...)
getSensorSetting(...)
setSensorSetting(...)
addListener(string, ...)
removeAllListeners()
- Interfaces
checkPermissions()
checkPermissions() => Promise<Permissions>
Returns: Promise<Permissions>
requestPermissions()
requestPermissions() => Promise<Permissions>
Returns: Promise<Permissions>
isBluetoothEnabled()
isBluetoothEnabled() => Promise<BluetoothState>
Returns: Promise<BluetoothState>
requestBluetoothEnable()
requestBluetoothEnable() => Promise<BluetoothState>
Returns: Promise<BluetoothState>
initMeshNetwork()
initMeshNetwork() => Promise<void>
exportMeshNetwork()
exportMeshNetwork() => Promise<MeshNetworkExport>
Returns: Promise<MeshNetworkExport>
importMeshNetwork(...)
importMeshNetwork(network: MeshNetworkExport) => Promise<void>
| Param | Type |
| ------------- | --------------------------------------------------------------- |
| network
| MeshNetworkExport |
getMeshNetwork()
getMeshNetwork() => Promise<MeshNetwork>
Returns: Promise<MeshNetwork>
createAppKey()
createAppKey() => Promise<MeshAppKey>
Returns: Promise<MeshAppKey>
removeAppKey(...)
removeAppKey(options: { index: number; }) => Promise<void>
| Param | Type |
| ------------- | ------------------------------- |
| options
| { index: number; } |
getNode(...)
getNode(options: { unicastAddress: number; }) => Promise<MeshNode | undefined>
| Param | Type |
| ------------- | ---------------------------------------- |
| options
| { unicastAddress: number; } |
Returns: Promise<MeshNode>
createGroup(...)
createGroup(options: { name: string; }) => Promise<MeshGroup>
| Param | Type |
| ------------- | ------------------------------ |
| options
| { name: string; } |
Returns: Promise<MeshGroup>
removeGroup(...)
removeGroup(options: { groupAddress: number; }) => Promise<void>
| Param | Type |
| ------------- | -------------------------------------- |
| options
| { groupAddress: number; } |
getGroup(...)
getGroup(options: { groupAddress: number; }) => Promise<MeshGroup | undefined>
| Param | Type |
| ------------- | -------------------------------------- |
| options
| { groupAddress: number; } |
Returns: Promise<MeshGroup>
scanMeshDevices(...)
scanMeshDevices(options: { timeout: number; }) => Promise<ScanMeshDevices>
| Param | Type |
| ------------- | --------------------------------- |
| options
| { timeout: number; } |
Returns: Promise<ScanMeshDevices>
getProvisioningCapabilities(...)
getProvisioningCapabilities(options: { macAddress: string; uuid: string; }) => Promise<ProvisioningCapabilities>
| Param | Type |
| ------------- | -------------------------------------------------- |
| options
| { macAddress: string; uuid: string; } |
Returns: Promise<ProvisioningCapabilities>
provisionDevice(...)
provisionDevice(options: { macAddress: string; uuid: string; }) => Promise<ProvisioningStatus>
| Param | Type |
| ------------- | -------------------------------------------------- |
| options
| { macAddress: string; uuid: string; } |
Returns: Promise<ProvisioningStatus>
unprovisionDevice(...)
unprovisionDevice(options: { unicastAddress: number; }) => Promise<NodeResetStatus>
| Param | Type |
| ------------- | ---------------------------------------- |
| options
| { unicastAddress: number; } |
Returns: Promise<NodeResetStatus>
getCompositionData(...)
getCompositionData(options: { unicastAddress: number; }) => Promise<CompositionDataStatus>
| Param | Type |
| ------------- | ---------------------------------------- |
| options
| { unicastAddress: number; } |
Returns: Promise<CompositionDataStatus>
getDefaultTTL(...)
getDefaultTTL(options: { unicastAddress: number; }) => Promise<DefaultTTLStatus>
| Param | Type |
| ------------- | ---------------------------------------- |
| options
| { unicastAddress: number; } |
Returns: Promise<DefaultTTLStatus>
setDefaultTTL(...)
setDefaultTTL(options: { unicastAddress: number; ttl: number; }) => Promise<DefaultTTLStatus>
| Param | Type |
| ------------- | ----------------------------------------------------- |
| options
| { unicastAddress: number; ttl: number; } |
Returns: Promise<DefaultTTLStatus>
getNetworkTransmit(...)
getNetworkTransmit(options: { unicastAddress: number; }) => Promise<NetworkTransmitStatus>
| Param | Type |
| ------------- | ---------------------------------------- |
| options
| { unicastAddress: number; } |
Returns: Promise<NetworkTransmitStatus>
setNetworkTransmit(...)
setNetworkTransmit(options: { unicastAddress: number; networkTransmitCount: number; networkTransmitIntervalSteps: number; }) => Promise<NetworkTransmitStatus>
| Param | Type |
| ------------- | ------------------------------------------------------------------------------------------------------------ |
| options
| { unicastAddress: number; networkTransmitCount: number; networkTransmitIntervalSteps: number; } |
Returns: Promise<NetworkTransmitStatus>
addAppKey(...)
addAppKey(options: { unicastAddress: number; appKeyIndex: number; }) => Promise<AppKeyStatus>
| Param | Type |
| ------------- | ------------------------------------------------------------- |
| options
| { unicastAddress: number; appKeyIndex: number; } |
Returns: Promise<AppKeyStatus>
delAppKey(...)
delAppKey(options: { unicastAddress: number; appKeyIndex: number; }) => Promise<AppKeyStatus>
| Param | Type |
| ------------- | ------------------------------------------------------------- |
| options
| { unicastAddress: number; appKeyIndex: number; } |
Returns: Promise<AppKeyStatus>
getAppKeys(...)
getAppKeys(options: { unicastAddress: number; }) => Promise<AppKeyListStatus>
| Param | Type |
| ------------- | ---------------------------------------- |
| options
| { unicastAddress: number; } |
Returns: Promise<AppKeyListStatus>
bindAppKey(...)
bindAppKey(options: { unicastAddress: number; elementAddress: number; modelId: number; appKeyIndex: number; }) => Promise<ModelAppStatus>
| Param | Type |
| ------------- | ------------------------------------------------------------------------------------------------------ |
| options
| { unicastAddress: number; elementAddress: number; modelId: number; appKeyIndex: number; } |
Returns: Promise<ModelAppStatus>
unbindAppKey(...)
unbindAppKey(options: { unicastAddress: number; elementAddress: number; modelId: number; appKeyIndex: number; }) => Promise<ModelAppStatus>
| Param | Type |
| ------------- | ------------------------------------------------------------------------------------------------------ |
| options
| { unicastAddress: number; elementAddress: number; modelId: number; appKeyIndex: number; } |
Returns: Promise<ModelAppStatus>
subscribe(...)
subscribe(options: { unicastAddress: number; elementAddress: number; subscriptionAddress: number; modelId: number; }) => Promise<ModelSubscribeStatus>
| Param | Type |
| ------------- | -------------------------------------------------------------------------------------------------------------- |
| options
| { unicastAddress: number; elementAddress: number; subscriptionAddress: number; modelId: number; } |
Returns: Promise<ModelSubscribeStatus>
unsubscribe(...)
unsubscribe(options: { unicastAddress: number; elementAddress: number; subscriptionAddress: number; modelId: number; }) => Promise<ModelSubscribeStatus>
| Param | Type |
| ------------- | -------------------------------------------------------------------------------------------------------------- |
| options
| { unicastAddress: number; elementAddress: number; subscriptionAddress: number; modelId: number; } |
Returns: Promise<ModelSubscribeStatus>
unsubscribeAll(...)
unsubscribeAll(options: { unicastAddress: number; elementAddress: number; subscriptionAddress: number; }) => Promise<ModelSubscribeStatus>
| Param | Type |
| ------------- | --------------------------------------------------------------------------------------------- |
| options
| { unicastAddress: number; elementAddress: number; subscriptionAddress: number; } |
Returns: Promise<ModelSubscribeStatus>
publish(...)
publish(options: { unicastAddress: number; elementAddress: number; modelId: number; appKeyIndex?: number; publishAddress?: number; credentialFlag?: boolean; publishTtl?: boolean; publicationSteps?: boolean; publicationResolution?: boolean; retransmitCount?: boolean; retransmitIntervalSteps?: boolean; }) => Promise<ModelPublishStatus>
| Param | Type |
| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| options
| { unicastAddress: number; elementAddress: number; modelId: number; appKeyIndex?: number; publishAddress?: number; credentialFlag?: boolean; publishTtl?: boolean; publicationSteps?: boolean; publicationResolution?: boolean; retransmitCount?: boolean; retransmitIntervalSteps?: boolean; } |
Returns: Promise<ModelPublishStatus>
getOnOff(...)
getOnOff(options: { elementAddress: number; appKeyIndex: number; }) => Promise<OnOffStatus>
| Param | Type |
| ------------- | ------------------------------------------------------------- |
| options
| { elementAddress: number; appKeyIndex: number; } |
Returns: Promise<OnOffStatus>
setOnOff(...)
setOnOff(options: { elementAddress: number; appKeyIndex: number; onOff?: boolean; acknowledgement?: boolean; transitionSteps?: number; transitionResolution?: number; delay?: number; }) => Promise<OnOffStatus>
| Param | Type |
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| options
| { elementAddress: number; appKeyIndex: number; onOff?: boolean; acknowledgement?: boolean; transitionSteps?: number; transitionResolution?: number; delay?: number; } |
Returns: Promise<OnOffStatus>
getSensor(...)
getSensor(options: { elementAddress: number; appKeyIndex: number; propertyId?: number; }) => Promise<SensorStatus>
| Param | Type |
| ------------- | ---------------------------------------------------------------------------------- |
| options
| { elementAddress: number; appKeyIndex: number; propertyId?: number; } |
Returns: Promise<SensorStatus>
getSensorDescriptor(...)
getSensorDescriptor(options: { elementAddress: number; appKeyIndex: number; propertyId?: number; }) => Promise<SensorDescriptorStatus>
| Param | Type |
| ------------- | ---------------------------------------------------------------------------------- |
| options
| { elementAddress: number; appKeyIndex: number; propertyId?: number; } |
Returns: Promise<SensorDescriptorStatus>
getSensorColumn(...)
getSensorColumn(options: { elementAddress: number; appKeyIndex: number; propertyId: number; rawValueX: Array<number>; }) => Promise<SensorColumnStatus>
| Param | Type |
| ------------- | ------------------------------------------------------------------------------------------------------ |
| options
| { elementAddress: number; appKeyIndex: number; propertyId: number; rawValueX: number[]; } |
Returns: Promise<SensorColumnStatus>
getSensorSeries(...)
getSensorSeries(options: { elementAddress: number; appKeyIndex: number; propertyId: number; rawValueX1?: Array<number>; rawValueX2?: Array<number>; }) => Promise<SensorSeriesStatus>
| Param | Type |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| options
| { elementAddress: number; appKeyIndex: number; propertyId: number; rawValueX1?: number[]; rawValueX2?: number[]; } |
Returns: Promise<SensorSeriesStatus>
getSensorCadence(...)
getSensorCadence(options: { elementAddress: number; appKeyIndex: number; propertyId: number; }) => Promise<SensorCadenceStatus>
| Param | Type |
| ------------- | --------------------------------------------------------------------------------- |
| options
| { elementAddress: number; appKeyIndex: number; propertyId: number; } |
Returns: Promise<SensorCadenceStatus>
getSensorSettings(...)
getSensorSettings(options: { elementAddress: number; appKeyIndex: number; propertyId: number; }) => Promise<SensorSettingsStatus>
| Param | Type |
| ------------- | --------------------------------------------------------------------------------- |
| options
| { elementAddress: number; appKeyIndex: number; propertyId: number; } |
Returns: Promise<SensorSettingsStatus>
getSensorSetting(...)
getSensorSetting(options: { elementAddress: number; appKeyIndex: number; propertyId: number; sensorSettingPropertyId: number; }) => Promise<SensorSettingStatus>
| Param | Type |
| ------------- | ------------------------------------------------------------------------------------------------------------------ |
| options
| { elementAddress: number; appKeyIndex: number; propertyId: number; sensorSettingPropertyId: number; } |
Returns: Promise<SensorSettingStatus>
setSensorSetting(...)
setSensorSetting(options: { elementAddress: number; appKeyIndex: number; propertyId: number; sensorSettingPropertyId: number; values: Array<number>; acknowledgement?: boolean; }) => Promise<SensorSettingStatus>
| Param | Type |
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| options
| { elementAddress: number; appKeyIndex: number; propertyId: number; sensorSettingPropertyId: number; values: number[]; acknowledgement?: boolean; } |
Returns: Promise<SensorSettingStatus>
addListener(string, ...)
addListener(eventName: string, listenerFunc: (event: any) => void) => Promise<PluginListenerHandle>
| Param | Type |
| ------------------ | ------------------------------------ |
| eventName
| string |
| listenerFunc
| (event: any) => void |
Returns: Promise<PluginListenerHandle>
removeAllListeners()
removeAllListeners() => Promise<void>
Interfaces
Permissions
BluetoothState
| Prop | Type |
| ------------- | -------------------- |
| enabled
| boolean |
MeshNetworkExport
| Prop | Type |
| ----------------- | ------------------- |
| meshNetwork
| string |
MeshNetwork
| Prop | Type |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| name
| string |
| lastModified
| string |
| provisioners
| Array<MeshProvisioner> |
| netKeys
| Array<MeshNetKey> |
| appKeys
| Array<MeshAppKey> |
| nodes
| Array<MeshNode> |
| networkExclusions
| Array<{ ivIndex: number; addresses: Array<number>; }> |
Array
| Prop | Type | Description |
| ------------ | ------------------- | ------------------------------------------------------------------------------------------------------ |
| length
| number | Gets or sets the length of the array. This is a number one higher than the highest index in the array. |
| Method | Signature | Description | | ------------------ | ----------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | toString | () => string | Returns a string representation of an array. | | toLocaleString | () => string | Returns a string representation of an array. The elements are converted to string using their toLocalString methods. | | pop | () => T | undefined | Removes the last element from an array and returns it. If the array is empty, undefined is returned and the array is not modified. | | push | (...items: T[]) => number | Appends new elements to the end of an array, and returns the new length of the array. | | concat | (...items: ConcatArray<T>[]) => T[] | Combines two or more arrays. This method returns a new array without modifying any existing arrays. | | concat | (...items: (T | ConcatArray<T>)[]) => T[] | Combines two or more arrays. This method returns a new array without modifying any existing arrays. | | join | (separator?: string | undefined) => string | Adds all the elements of an array into a string, separated by the specified separator string. | | reverse | () => T[] | Reverses the elements in an array in place. This method mutates the array and returns a reference to the same array. | | shift | () => T | undefined | Removes the first element from an array and returns it. If the array is empty, undefined is returned and the array is not modified. | | slice | (start?: number | undefined, end?: number | undefined) => T[] | Returns a copy of a section of an array. For both start and end, a negative index can be used to indicate an offset from the end of the array. For example, -2 refers to the second to last element of the array. | | sort | (compareFn?: ((a: T, b: T) => number) | undefined) => this | Sorts an array in place. This method mutates the array and returns a reference to the same array. | | splice | (start: number, deleteCount?: number | undefined) => T[] | Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements. | | splice | (start: number, deleteCount: number, ...items: T[]) => T[] | Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements. | | unshift | (...items: T[]) => number | Inserts new elements at the start of an array, and returns the new length of the array. | | indexOf | (searchElement: T, fromIndex?: number | undefined) => number | Returns the index of the first occurrence of a value in an array, or -1 if it is not present. | | lastIndexOf | (searchElement: T, fromIndex?: number | undefined) => number | Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present. | | every | <S extends T>(predicate: (value: T, index: number, array: T[]) => value is S, thisArg?: any) => this is S[] | Determines whether all the members of an array satisfy the specified test. | | every | (predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any) => boolean | Determines whether all the members of an array satisfy the specified test. | | some | (predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any) => boolean | Determines whether the specified callback function returns true for any element of an array. | | forEach | (callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any) => void | Performs the specified action for each element in an array. | | map | <U>(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any) => U[] | Calls a defined callback function on each element of an array, and returns an array that contains the results. | | filter | <S extends T>(predicate: (value: T, index: number, array: T[]) => value is S, thisArg?: any) => S[] | Returns the elements of an array that meet the condition specified in a callback function. | | filter | (predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any) => T[] | Returns the elements of an array that meet the condition specified in a callback function. | | reduce | (callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T) => T | Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function. | | reduce | (callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue: T) => T | | | reduce | <U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U) => U | Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function. | | reduceRight | (callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T) => T | Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function. | | reduceRight | (callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue: T) => T | | | reduceRight | <U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U) => U | Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function. |
ConcatArray
| Prop | Type |
| ------------ | ------------------- |
| length
| number |
| Method | Signature | | --------- | ------------------------------------------------------------------ | | join | (separator?: string | undefined) => string | | slice | (start?: number | undefined, end?: number | undefined) => T[] |
MeshProvisioner
| Prop | Type |
| -------------------- | ------------------------------------------------------------- |
| name
| string |
| ttl
| number |
| unicastAddress
| number |
| unicast
| [{ lowerAddress: number; highAddress: number; }] |
| group
| [{ lowerAddress: number; highAddress: number; }] |
| scene
| [{ firstScene: number; lastScene: number; }] |
MeshNetKey
| Prop | Type |
| ------------------ | ----------------------------------- |
| name
| string |
| key
| string |
| oldKey
| string |
| index
| number |
| phase
| number |
| security
| 'secure' | 'insecure' |
| lastModified
| string |
MeshAppKey
| Prop | Type |
| ---------------------- | ------------------- |
| name
| string |
| index
| number |
| key
| string |
| oldKey
| string |
| boundNetKeyIndex
| number |
MeshNode
| Prop | Type |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| name
| string |
| deviceKey
| string |
| unicastAddress
| number |
| security
| string |
| ttl
| number |
| excluded
| boolean |
| features
| { friend: number; lowPower: number; proxy: number; relay: number; } |
| netKeys
| Array<{ index: number; updated: boolean; }> |
| appKeys
| Array<{ index: number; updated: boolean; }> |
| elements
| Array<{ name: string; elementAddress: number; location: number; models: Array<{ modelId: number; bind: Array<number>; subscribe: Array<number>; publish: number; }>; }> |
| networkTransmit
| { count: number; interval: number; steps: number; } |
| cid
| string |
| pid
| string |
| vid
| string |
| crpl
| string |
MeshGroup
| Prop | Type |
| ------------- | ------------------- |
| name
| string |
| address
| number |
| devices
| number |
ScanMeshDevices
| Prop | Type |
| ------------------- | ----------------------------------------------------------------------------------------------------- |
| unprovisioned
| Array<UnprovisionedDevice> |
| provisioned
| Array<ProvisionedDevice> |
| proxy
| Array<ProxyDevice> |
UnprovisionedDevice
| Prop | Type |
| ---------------- | ------------------- |
| uuid
| string |
| name
| string |
| rssi
| number |
| macAddress
| string |
ProvisionedDevice
| Prop | Type |
| --------------------------- | ------------------------------------------------------------------------------------ |
| name
| string |
| provisionedTime
| string |
| unicastAddress
| number |
| security
| boolean |
| deviceKey
| string |
| companyIdentifier
| string |
| productIdentifier
| string |
| productVersion
| string |
| replayProtectionCount
| string |
| nodeFeaturesSupported
| { relay: boolean; proxy: boolean; friend: boolean; lowPower: boolean; } |
| nodeFeatures
| { relay: boolean; proxy: boolean; friend: boolean; lowPower: boolean; } |
ProxyDevice
| Prop | Type |
| ---------------- | ------------------- |
| name
| string |
| rssi
| number |
| macAddress
| string |
ProvisioningCapabilities
| Prop | Type |
| ----------------------- | ----------------------------------------------------- |
| numberOfElements
| number |
| availableOOBTypes
| Array<string> |
| algorithms
| number |
| publicKeyType
| number |
| staticOobTypes
| number |
| outputOobSize
| number |
| outputOobActions
| number |
| inputOobSize
| number |
| inputOobActions
| number |
ProvisioningStatus
| Prop | Type |
| -------------------------- | -------------------- |
| provisioningComplete
| boolean |
| uuid
| string |
| unicastAddress
| number |
NodeResetStatus
| Prop | Type |
| ---------- | ---------------------------------------------------- |
| data
| { status: number; statusName: string; } |
CompositionDataStatus
| Prop | Type |
| ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| data
| { status: number; statusName: string; companyIdentifier: string; productIdentifier: string; productVersion: string; nodeFeaturesSupported: { relay: boolean; proxy: boolean; friend: boolean; lowPower: boolean; }; elements: { name: string; elementAddress: number; sigModelCount: number; vendorModelCount: number; location: number; models: { modelId: number; modelName: string; boundAppKeyIndexes: number[]; }[]; }[]; } |
DefaultTTLStatus
| Prop | Type |
| ---------- | ----------------------------------------------------------------- |
| data
| { status: number; statusName: string; ttl: number; } |
NetworkTransmitStatus
| Prop | Type |
| ---------- | ------------------------------------------------------------------------------------------------------------------------ |
| data
| { status: number; statusName: string; networkTransmitCount: number; networkTransmitIntervalSteps: number; } |
AppKeyStatus
| Prop | Type |
| ---------- | ---------------------------------------------------------------------------------------------- |
| data
| { status: number; statusName: string; netKeyIndex: number; appKeyIndex: number; } |
AppKeyListStatus
| Prop | Type |
| ---------- | -------------------------------------------------------------------------------------------------- |
| data
| { status: number; statusName: string; netKeyIndex: number; appKeyIndexes: number[]; } |
ModelAppStatus
| Prop | Type |
| ---------- | ------------------------------------------------------------------------------------------------------------------ |
| data
| { status: number; statusName: string; elementAddress: number; modelId: number; appKeyIndex: number; } |
ModelSubscribeStatus
| Prop | Type |
| ---------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| data
| { status: number; statusName: string; elementAddress: number; subscriptionAddress: number; modelIdentifier: number; } |
ModelPublishStatus
| Prop | Type |
| ---------------------------- | -------------------- |
| status
| number |
| statusName
| string |
| elementAddress
| number |
| publishAddress
| number |
| appKeyIndex
| number |
| credentialFlag
| boolean |
| publishTtl
| number |
| publicationSteps
| number |
| publicationResolution
| number |
| publishRetransmitCount
| number |
| modelId
| number |
OnOffStatus
| Prop | Type |
| ---------- | -------------------------------- |
| data
| { onOff: boolean; } |
SensorStatus
| Prop | Type |
| ---------- | ----------------------------------------------------- |
| data
| Array<number> |
SensorDescriptorStatus
| Prop | Type |
| ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| data
| Array<{ propertyId: number; positiveTolerance: number; negativeTolerance: number; samplingFunction: number; measurementPeriod: number; updateInterval: number; }> |
SensorColumnStatus
| Prop | Type |
| ---------- | ------------------------------------------------------- |
| data
| { propertyId: number; columns: number[]; } |
SensorSeriesStatus
| Prop | Type |
| ---------- | ------------------------------------------------------ |
| data
| { propertyId: number; series: number[]; } |
SensorCadenceStatus
| Prop | Type |
| ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| data
| { propertyId: number; periodDivisor?: number; triggerType?: number; minInterval?: number; triggerDeltaDown?: number[]; triggerDeltaUp?: number[]; fastCadenceLow?: number[]; fastCadenceHigh?: number[]; } |
SensorSettingsStatus
| Prop | Type |
| ---------- | -------------------------------------------------------- |
| data
| { propertyId: number; settings: number[]; } |
SensorSettingStatus
| Prop | Type |
| ---------- | ----------------------------------------------------------------------------------------------------------------------------- |
| data
| { propertyId: number; sensorSettingPropertyId: number; sensorSettingAccess?: number; sensorSetting?: number[]; } |
PluginListenerHandle
| Prop | Type |
| ------------ | ----------------------------------------- |
| remove
| () => Promise<void> |