• 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

    Can't read local device

    BACnet4J general discussion
    2
    4
    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.
    • S
      STAstefan
      last edited by

      Hello,

      I am trying to generate a local device and read it in YABE.
      The java application is a simple example of a NetworkBuilder and a local device.
      YABE is able to discover the device but when trying to read it i get the following error message:
      ERROR_CODE_REJECT_UNRECOGNIZED_SERVICE

      and the YABE log prints:
      ERVICE_CONFIRMED_READ_PROPERTY Error

      Here is my code:

      network = new IpNetworkBuilder().withPort(0xBAC5).withBroadcast("255.255.255.255",255).withReuseAddress(true).build();
              transport = new DefaultTransport(network);
              transport.setTimeout(500000);
              transport.setSegTimeout(15000);
      
              LocalDevice local = new LocalDevice(1, transport);
      
              try
              {
                  local.initialize();
              }catch (Exception e)
              {
      
              }
      

      Any help would be greatly appreciated.

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

        Hi STAstefan,

        Do you know if YABE is only trying to read from the device object? Do you have a wireshark of what YABE is sending?

        1 Reply Last reply Reply Quote 0
        • S
          STAstefan
          last edited by

          Hi,
          The problem seemed to be the fact that I tried (for test purposes) to run both YABE and my application on the same machine. Running it on two different machines in the network does the trick.

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

            Ah, yes, you wouldn't be able to bind the same port on the same machine in both applications. Thanks for sharing the resolution!

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