Fix MSTP slave FSM for Data-Expecting-Reply frames (#538)
* Fix MSTP subordinate nodes Data-Expecting-Reply handling --------- Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
This commit is contained in:
@@ -1309,7 +1309,10 @@ uint16_t dlmstp_receive(BACNET_ADDRESS *src, /* source address */
|
||||
}
|
||||
/* if there is a packet that needs processed, do it now. */
|
||||
if (MSTP_Flag.ReceivePacketPending) {
|
||||
MSTP_Flag.ReceivePacketPending = false;
|
||||
if (This_Station <= 127) {
|
||||
/* master nodes clear immediately */
|
||||
MSTP_Flag.ReceivePacketPending = false;
|
||||
}
|
||||
pdu_len = DataLength;
|
||||
src->mac_len = 1;
|
||||
src->mac[0] = SourceAddress;
|
||||
|
||||
Reference in New Issue
Block a user