• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Realize Connection and object exists check

    BACnet4J general discussion
    check connectio
    2
    4
    1.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      cenk
      last edited by

      Hi
      I defined cov subscribe. I can see change of value in covNotificationReceived method.

      localDevice.send(remoteDevice, new SubscribeCOVRequest(new UnsignedInteger(4),
                      			new ObjectIdentifier(ObjectType.analogValue, 1),, Boolean.FALSE, null)).get();
      
      

      When The application running, remote device can be shutdown or connection broken or Object can be deleted on remote device. How can be checked this situations in the application. How can be realized in the application.

      1 Reply Last reply Reply Quote 0
      • phildunlapP
        phildunlap
        last edited by

        Hi cenk,

        Your COV subscription needs to be resent periodically to be in conformance to the spec. Is failure to receive an ACK to the COV subscription sufficient, or do you need to know sooner than your COV resubscribe period? If more often, you'll probably need to make additional requests to the remote device, to see if it is responding.

        1 Reply Last reply Reply Quote 0
        • C
          cenk
          last edited by

          Hi,

          So sorry I am not sure understand exactly. To check that everything is ok, I have to remove subscription and subscription again periodically? For example each 1 min
          For removing subscription

          localDevice.send(remoteDevice, new SubscribeCOVRequest(new UnsignedInteger(4),
                          			new ObjectIdentifier(ObjectType.analogValue, 1), null null)).get();
          

          And after subscription again

          localDevice.send(remoteDevice, new SubscribeCOVRequest(new UnsignedInteger(4),
                          			new ObjectIdentifier(ObjectType.analogValue, 1),, Boolean.FALSE, null)).get();
          

          Is it ok?

          Is there any example for this issue

          Thankyou for your help.

          1 Reply Last reply Reply Quote 0
          • phildunlapP
            phildunlap
            last edited by

            I am saying the only way to detect a spontaneous disconnection, which I think it what you're asking, is to send a request of some sort and have it time out.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post