• Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    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

    Execute multiple bacnet services

    BACnet4J general discussion
    2
    7
    2483
    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.
    • M
      mark33333 last edited by

      Hi
      is it possible to execute multiple services for different bacnet devices simultaneously?

      execute multiple of RequestService (each one for different bacnet device) at once and then listen for answer from them?

      or is it must be:

      execute in sequence send RequestService to 1 device and wait for Ack and then send for another device?

      1 Reply Last reply Reply Quote 0
      • M
        mlohbihler last edited by

        The former. Different threads can be used to send messages simultaneously. In fact, multiple messages can be sent to the same device simultaneously. If you want to do this in a single thread, i.e. send the messages and then pick up responses, it is possible, but not necessarily simple.

        Best regards,
        Matthew

        1 Reply Last reply Reply Quote 0
        • M
          mark33333 last edited by

          thanks
          Just one more question. I'm wondering if it is possible to configure each device on different local port:
          first device on local port 47808
          second on local port 47809
          third on local port 47810
          etc... (to prevent local port number conflicts)
          and send messages (each message, RequestService in one thread) to all devices simultaneously with "segmentation supported"?
          Can segments from one communiaction thread be mixed with segments from another communication (with another divice) in that case?

          1 Reply Last reply Reply Quote 0
          • M
            mlohbihler last edited by

            I'm wondering if it is possible to configure each device on different local port:

            Yes. It messes a bit with discovery broadcasts though.

            and send messages (each message, RequestService in one thread) to all devices simultaneously with "segmentation supported"?

            Yes.

            Can segments from one communiaction thread be mixed with segments from another communication (with another divice) in that case?

            ? Not sure what you're after here. Segmentation is required because UDP packet size is limited. A segment is just a part of a larger message; without the other segments it's useless.

            Best regards,
            Matthew

            1 Reply Last reply Reply Quote 0
            • M
              mark33333 last edited by

              Thank you for quick response and sorry for my English it could be better.

              Can segments from one communiaction thread be mixed with segments from another communication (with another divice) in that case?
              I don't understand how segments are assign to message when they are received not in order.
              first device on local port 47808
              second on local port 47809
              third on local port 47810
              Segments send from devices could be received not in order. Eg:

              1. message1.segment1
              2. message2.segment1
              3. message3.segment1
              4. message1.segment2
              5. message2.segment2
              6. message3.segment2
                Does any of that segments could be assigned to wrong message or even ommited (and corrupt whole RequestServiceAck)?
              1 Reply Last reply Reply Quote 0
              • M
                mlohbihler last edited by

                I don't understand how segments are assign to message when they are received not in order.

                It's been a while since i wrote that stuff, but it works.

                Does any of that segments could be assigned to wrong message or even ommited (and corrupt whole RequestServiceAck)?

                Sure, stuff could get corrupted, but it should be handled properly. If you find otherwise, let me know.

                Best regards,
                Matthew

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