• K
    kishorevenki

    Hi Philip,

    I got the issue, If the local device is bind to other than 0.0.0.0 say for example 192.168.1.133 with the correct broadcast address 192.168.1.255, local device is not responding with I-Am. Local Device expects bind address should be 0.0.0.0. But every time we cannot set 0.0.0,.0 as bind address if we have multiple IP port, and would prefer to bind it one one particular address.

    After some search, I noticed that same issue has been discussed in detail in the following post: https://forum.infiniteautomation.com/post/23468

    However I am not finding the fix for the issue in that thread. In that thread it was mentioned that issue#43 is fix for it. But after understanding the description, fix for issue#43 is not the for for the current issue So please share the fix for the issue mentioned in the above thread.

    Thanks & Regards,
    Kishore

    posted in BACnet4J general discussion read more
  • K
    kishorevenki

    Hi,

    After the debugging I-AM is sent from the code. At line 648 DefaultTransport.java call is passed onto ur.getservice().handle(localdevice, from) wherein it sends I-Am. However at the outset it seems this line is skipped to execute hence there was no I-Am..

    Further the I-A,m is always sent as broadcast messages through the above mentioned code.. To avoid network traffic it is advisable to send unicast I-Am. So if we implement the same in the device Listener of our application, first Unicast I-Am would be sent. Subsequently once again the service.handle() would be executed resulting immediate I-Am as broadcast.

    So how to avoid two I-Am messages?

    Thanks & Regards,
    Kishore

    posted in BACnet4J general discussion read more
  • K
    kishorevenki

    Hello,

    If the recipient list of Notification Class object of the local device is configured with (Network Number and MAC Address), BACnet4J is not sending Who-Is-Router-To-Network service to get the router address so that event notification can be sent.

    Please help to resolve this issue.

    Thanks & Regards,
    Kishore

    posted in BACnet4J general discussion read more
  • K
    kishorevenki

    Hi,

    Could you please explain with example on how to configure IPV6 as the default transport for the local device? Are there any other settings to be configured for IPV6?

    Thanks & regards,
    Kishore

    posted in BACnet4J general discussion read more
  • K
    kishorevenki

    Hi Phildunlap,

    Even after binding to 0.0.0.0, I-Am message is not sent automatically for Who-Is broadcast message.

    posted in BACnet4J general discussion read more
  • K
    kishorevenki

    Please set the protocol services supported property of device object accordingly. This property is string of bits, setting 1 in any position indicates that the service in the corresponding position is supported.

    posted in BACnet4J general discussion read more
  • K
    kishorevenki

    Hi,

    When tried to write Present_Value of AV, BV, MSV objects and High_Limit, Low_Limit, etc we are getting write-access-denied error response? In fact for the above three commandable mixin is added.

    So how to make a property writeable and how to make a property not writeable?

    Regards,
    Kishore

    posted in BACnet4J general discussion read more
  • K
    kishorevenki

    Hi phildunlap,

    Based on your suggestion I did debugging.

    • UTC_Offset is getting updated when localDevice.writePropertyInternal(pid, value) during the initialize time. ;. After the analysis, I noticed that at 622nd line in BACnetObject.java ( l.propertyChange(pid, oldValue,, value) the value is right;y updated.

    • But when from 3rd property client ReadProprty (Device Object. UTC_Offset) is sent, the local device is returning the value of the timeZone and not with set value of UTC_Offset.. I could not debug using break point when asked from external device.with ReadProperty or other services. Please guide me where to set the break point, which will help me to debug and furnish you with more information.

    • Further I believe there is error in the value of UTC_Offset as per the time zone. For example if the time zone is - 7 hours, then the value of the UTC_Offset should be +420 and not -420. This is because as per BACnet local date / time is calculated based on the formula (GMT - UTC offset). So in the above example if UTC_Offset is -420 for - 7 hours. then the actual time would be if GMT equals 0;00 hours, 0 - (-420) equals 0 + 420 which means + 7 hours. and is wrong.

    Thanks,
    Kishore

    posted in BACnet4J general discussion read more
  • K
    kishorevenki

    Hi phildunlap,

    I also face similar problem. My problem is

    • UTC_Offset set during creation of LocalDevice is not getting updated to the utc_offset property of the device. Though Simple Ack is received while writing the UTC_Offset property from 3rd party client, but when read it always responds with old value.. Here the expected behavior is UTC_Offset, should be updated.

    • When TimeSynch message is sent either via broadcast or to localDevice, the local date and time should change accordingly. But it always shows the system clock which is incorrect. I think carnecro is also facing the same issue.

    • Above issue is faced for UTCTime Synch as well. Here one more problem is UTC_Offset cannot be changed through BACnet. .

    posted in BACnet4J general discussion read more
  • K
    kishorevenki

    Since the initialize() command was not executed, localDevice was not initialized. So the above issues are faced. Once the port is closed, local; device was initialized and was updated with objects, services and property values.

    However I-Am response has not received for Who-Is.

    Thanks & regards,
    Kishore

    posted in BACnet4J general discussion read more