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.
BACNet MSTP communicate with FieldServer problem
-
I am testing out the Mango BACNet (v. 2.1.0) MSTP running against FieldServer. I got an error message when I tried to discover device objects. Please see the error message in the attachment. For BACNet IP, I can easily communicate with the FieldServer without any problem. The FieldServer works as a Modbus RTU to BACnet MSTP gateway. I can collect data by CAS BACNet Explorer through BACNet MSTP protocol.
Attachment: download link
-
Ray,
Can you post an excerpt from your log file around that time? That will help us in identifying where the problem is.
-
I got anther error message when I try to get the object list. Please check the attachment. Thanks !
Attachment: download link
-
Ray,
I'm not very familiar with BacNet but from what you've posted it appears that the module is expecting the Link service station value to be an octet string of the form:
x.x.x.x:yyyy where the :yyyy part is optional.
My guess is that this code is specific for the BACnet I/P system and is somehow getting confused when you are sending in the 3 or in the first case nothing at all. I found the section of code that is failing and changed it to work with MSTP addresses.
The changes will be included in the next release of the module (2.1.3). What version of Mango are you using? I may be able to compile the changes into a module that would be compatible with your core.
Thanks for letting us know about this,
Terry -
I tested on Mango 2.4.0. I ran the same test with DGBox BACNet MSTP has no problem at all.
-
Ray,
This bug fix will be included in the 2.5.0 release.
-
Thanks !