Open harshpatel1408 opened 5 years ago
I have a similar issue as shown below. Did you figure out your issue? I am using BACNET_APPLICATION_TAG_REAL. Maybe since you were using BOOLEAN it was failing?
client.writeProperty('192.168.200.147', {type: 2, instance: 0}, 85, [
{type: bacnet.enum.ApplicationTags.BACNET_APPLICATION_TAG_REAL, value: 77.0}
], (err, value) => {
console.log('error: ', err);
console.log('value: ', value);
});
error: Error: BacnetAbort - Reason:0
at processAbort (/Users/internal/bacnet/node/node_modules/bacstack/lib/client.js:99:30)
at handlePdu (/Users/internal/bacnet/node/node_modules/bacstack/lib/client.js:313:9)
at handleNpdu (/Users/internal/bacnet/node/node_modules/bacstack/lib/client.js:342:5)
at self.receiveData (/Users/internal/bacnet/node/node_modules/bacstack/lib/client.js:353:7)
at Socket.<anonymous> (/Users/internal/bacnet/node/node_modules/bacstack/lib/transport.js:13:25)
at emitTwo (events.js:126:13)
at Socket.emit (events.js:214:7)
at UDP.onMessage [as onmessage] (dgram.js:659:8)
value: undefined
Please try wit the updated fork at https://github.com/BiancoRoyal/node-bacstack
Node Version:
8.16.0
Node BACstack Version:
0.0.1-beta.13
Here is my current code
I am passing all the value as per documentation but not able to write property.
Output: