Git Product home page Git Product logo

Comments (2)

shomaglasang avatar shomaglasang commented on August 12, 2024

device object list
index 0, returns the number of object instances
request:

'{"objectType":"8","objectInstance":"5678","property":"76","deviceInstance":"5678","mac":"10.104.0.11:47900", "index":"0"}'

response:

bacnet/cmd_result/read_value/device/5678/object_list: { "value" : "22" , "deviceInstance" : "5678" , "mac" : "10.104.0.11:47900" , "index" : "0" }

no index, returns the list of object instances
request:

'{"objectType":"8","objectInstance":"5678","property":"76","deviceInstance":"5678","mac":"10.104.0.11:47900"}'

response:

bacnet/cmd_result/read_value/device/5678/object_list: { "value" : [["device", "5679"],["analog-input", "1"],["analog-input", "2"],["analog-output", "1"],["analog-output", "2"],["analog-value", "1"],["analog-value", "2"],["analog-value", "3"],["analog-value", "4"],["analog-value", "5"],["analog-value", "6"],["binary-input", "1"],["binary-input", "2"],["binary-input", "3"],["binary-input", "4"],["binary-output", "1"],["binary-output", "2"],["binary-value", "1"],["binary-value", "2"],["binary-value", "3"],["binary-value", "4"],["binary-value", "5"]] , "deviceInstance" : "5678" , "mac" : "10.104.0.11:47900" }

index 1, returns the first object instance
request:

'{"objectType":"8","objectInstance":"5678","property":"76","deviceInstance":"5678","mac":"10.104.0.11:47900", "index":"1"}'

response:

bacnet/cmd_result/read_value/device/5678/object_list: { "value" : ["device", "5679"] , "deviceInstance" : "5678" , "mac" : "10.104.0.11:47900" , "index" : "1" }

index 22, returns the last object instance
request:

'{"objectType":"8","objectInstance":"5678","property":"76","deviceInstance":"5678","mac":"10.104.0.11:47900", "index":"22"}'

response:

bacnet/cmd_result/read_value/device/5678/object_list: { "value" : ["binary-value", "5"] , "deviceInstance" : "5678" , "mac" : "10.104.0.11:47900" , "index" : "22" }

using timeout, 120 sec
request:

'{"objectType":"8","objectInstance":"5678","property":"76","deviceInstance":"5678","mac":"10.104.0.11:47900", "index":"22", "timeout":"120"}'

from driver-bacnet.

shomaglasang avatar shomaglasang commented on August 12, 2024

Index and timeout already supported. Closing this case.

from driver-bacnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.