[Logo] Serotonin Software Community
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
BacNet Setpoint write issue  XML
Forum Index » Development general discussion
Author Message
OldSmokey

Initiate

Joined: 10/07/2010 23:40:03
Messages: 8
Offline

Has anyone seen this issue with a BACnet write using a settable point?
It seems to appear for AV's and BV's.

'BacNetIP': com.serotonin.bacnet4j.apdu.SimpleACK cannot be cast to com.serotonin.bacnet4j.apdu.ComplexACK

mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1456
Offline

Are you using the latest version of the code?

Best regards,
Matthew Lohbihler
OldSmokey

Initiate

Joined: 10/07/2010 23:40:03
Messages: 8
Offline

That would be correct. Ver 1.9.0
It does change the value but then goes through the retries and timeout since it doesn't think it has received the acknowledgment. A wire shark capture doesn't show any issues with the packets. I have it connected via IP to a Johnson Controls Metasys NAE-55 network engine setup for BACNet IP and have tried it with a Delta Controls BACNet IP router/controller as well. So far this has been the only problem that I have had and have a custom page setup that is serving data to my Blackberry Phone.

 Filename Mango Ver.jpg [Disk] Download
 Description Version Screenshot
 Filesize 37 Kbytes
 Downloaded:  33 time(s)

mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1456
Offline

Can you post the message traces?

Best regards,
Matthew Lohbihler
OldSmokey

Initiate

Joined: 10/07/2010 23:40:03
Messages: 8
Offline

The wireshark captures?
mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1456
Offline

Yes please.

Best regards,
Matthew Lohbihler
OldSmokey

Initiate

Joined: 10/07/2010 23:40:03
Messages: 8
Offline

Here you go. The result is the same on two different servers at two different site locations. I tried to keep the capture as simple as possible so let me know if you need more.
 Filename Mango failure and Timeout.jpg [Disk] Download
 Description
 Filesize 91 Kbytes
 Downloaded:  26 time(s)

 Filename Mango write ack failure 7-30-2010.pcap [Disk] Download
 Description
 Filesize 1 Kbytes
 Downloaded:  53 time(s)

mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1456
Offline

Looks like some testing code may have snuck through. Can you try replacing your WEB-INF/lib/bacnet4J.jar file with the attached?
 Filename bacnet4J.jar [Disk] Download
 Description
 Filesize 445 Kbytes
 Downloaded:  27 time(s)


Best regards,
Matthew Lohbihler
OldSmokey

Initiate

Joined: 10/07/2010 23:40:03
Messages: 8
Offline

I believe that took care of it.
I'll continue to test it the next couple of weeks as time permits but right now it looks good.
Is there anything in the BACNet4J Java source download that needs updating so it doesn't get carried over into any of my other projects?

Thanks for your help,

Greg
mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1456
Offline

The source code currently in CVS is up to date. If you're using that, you should be good. The source zip file hasn't been updated since March.

Best regards,
Matthew Lohbihler
 
Forum Index » Development general discussion
Go to:   
Powered by JForum 2.1.9 © JForum Team