Members
(readonly) ApplicationTag :ApplicationTag
- Source:
Type:
(constant) debug_1
- Source:
Turn an enum into a string suitable for debugging.
If value is not found in the enum the value itself is returned as string
Example
const s = bacnet.enum.getEnumName(
bacnet.enum.PropertyIdentifier,
bacnet.enum.PropertyIdentifier.PRESENT_VALUE
);
console.log(s); // "PRESENT_VALUE(85)"
(readonly) EnableDisable :EnableDisable
- Source:
Type:
(readonly) MaxApduLengthAccepted :MaxApduLengthAccepted
- Source:
Type:
(readonly) MaxSegmentsAccepted :MaxSegmentsAccepted
- Source:
Type:
(constant) process_1
- Source:
This script will discover all devices in the network and read out all
properties and deliver a JSON as device description
If a deviceId is given as first parameter then only this device is discovered
(readonly) ReinitializedState :ReinitializedState
- Source:
Type:
Methods
getAllPropertiesManually(address, objectId, callback, propList, result) → {*}
- Source:
Retrieve all properties manually because ReadPropertyMultiple is not available
Parameters:
| Name | Type | Description |
|---|---|---|
address |
||
objectId |
||
callback |
||
propList |
||
result |
Returns:
- Type
- *
parseDeviceObject(address, obj, parent, supportsMultiple, callback)
- Source:
Parse an object structure
Parameters:
| Name | Type | Description |
|---|---|---|
address |
||
obj |
||
parent |
||
supportsMultiple |
||
callback |
parseValue(address, parentType, value, supportsMultiple, callback)
- Source:
Parses a property value
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
address |
|||
parentType |
|||
value |
|||
supportsMultiple |
false
|
||
callback |
printResultObject(deviceId, obj)
- Source:
Print result info object
Parameters:
| Name | Type | Description |
|---|---|---|
deviceId |
||
obj |
setBit(buffer, i, bit, value)
- Source:
sets a bit in a buffer
Parameters:
| Name | Type | Description |
|---|---|---|
buffer |
||
i |
||
bit |
||
value |