• 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

    How to temporarily disable acknowledgement for received ConfirmedCOVRequests?

    BACnet4J general discussion
    1
    2
    1.3k
    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.
    • W
      WhittlesJr
      last edited by

      I have a bit of a strange use case here. I'm developing an automated test system against a BACnet device. My test system is using Bacure (https://github.com/Frozenlock/bacure), a Clojure wrapper for BACnet4J, to interface with our device. (The device does NOT use BACnet4J, but my test system does.)

      I'm trying to figure out how to implement in Bacure the ability to turn off acknowledgement when we (the BACnet4J local device) receive a ConfirmedCOVNotificationRequest. (I think that's correct...)

      So basically, my test case is this:

      1. SubscribeCOV (Confirmed) on the remote device
      2. Change the value on the remote device to generate a COV notification
      3. Confirm COV is received on our local BACnet4J device
      4. Disable ACK on the local BACnet4J device
      5. Change the value on the remote device again to generate a COV notification
      6. The remote device will send multiple COV notifications (APDU retries + 1) because we never ACKed

      Anyone have any hints?

      1 Reply Last reply Reply Quote 0
      • W
        WhittlesJr
        last edited by

        I found a solution, although it's not ideal.

        If you disable communications via LocalDevice.setCommunicationControl after having subscribed, you get the behavior I'm looking for. This seems a bit heavy-handed when all I want to do is turn off acknowledgment for a single service, but it will do for the time being until someone shows me a better way.

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