• J
    Jinchun Wei

    This worked, thanks.
    Is there a specific rule which I could follow to decide in what cases should I bind actual IP, network address, or "0.0.0,0"?

    posted in BACnet4J general discussion read more
  • J
    Jinchun Wei

    Yes, I was binding the exact server IP.
    And I tried to bind the network address and now the server can neither receive broadcasting nor the direct messages.
    Am I defining the network as below:
    IpNetwork net = new IpNetworkBuilder().withLocalBindAddress("192.168.1.0")
    .withSubnet("192.168.1.0", 24)
    .withPort(47808)
    .build();
    Am I correct on this? Any other settings that I need to pay attention to?

    posted in BACnet4J general discussion read more
  • J
    Jinchun Wei

    I created an application on my linux server using BACnet4J library to talk to a few devices on my network. However, the application cannot recognize the 'I-Am' responses after sending the 'Who-Is' command out. A 'com.serotonin.bacnet4j.exception.BACnetTimeoutException: No response from instanceId xxxxx' would be threw out. However, the application can receive data which is sent directly to that linux server without any problem.
    Wireshark showed that the data was correctly received at 47808 port, so I guess there might be something wrong on the software side, but doesn't have any clue yet.
    Does anyone have some ideas on this issue?

    BTW, same application works pretty well when I put it on my windows PC, though.

    posted in BACnet4J general discussion read more