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

  • 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.


  • 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.


  • 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.


  • 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.