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.
Switching between Send and Receive mode for RS485 BACnet MSTP
-
Hi, I am using BACnet4J to set up a BACnet MSTP device (My company has purchased a commercial license for the library).
For my device, it is required to switch the RS485 chipset between receiving and sending mode. It can be done via a pin that we can set to HIGH or LOW.
Could I please request for your advice for the best place to do this in BACnet4J library. I tried to do this in the sendFrame method in MstpNode class. But I had to insert a delay before switching the device back to listening mode in order to allow time for the full packet to be sent out. This is not ideal as different requests have different sizes and therefore require more time to be sent.
Appreciate your help
Thanks
Tuan