You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You try to read instance 0 of object o, which is not a valid BACNET object. Try something like {objectId: {type: 8, instance: 4194303}, properties: [{id: 8}]}, which returns all properties from the device object.
The fact that you receive an error also indicates, that the device is reachable and acts according to specs.
I am trying to read the data of an analogInput device, but I always get an errorCode: 31
request
const requestArray = [{
objectId: {
type: 0,
instance: 0
},
properties: [{
id: 85
}]
}];
client.readPropertyMultiple('192.168.86.61', requestArray, (err, value) => {
console.log('value: ', JSON.stringify(value));
console.log('Error:', err);
});
response
value: {"len":15,"values":[{"objectId":{"type":0,"instance":0},"values":[{"id":85,"index":4294967295,"value":[{"type":105,"value":{"errorClass":1,"errorCode":31}}]}]}]}
Error: null
thanks
The text was updated successfully, but these errors were encountered: