Removed check for NPDU Priority on MS/TP outgoing matching messages since the stack currently doesn't support passing the NDPU Priority through, and every outgoing message is NORMAL. This was causing Reply-Postponed, which is not a good thing for high priority messages. Thank you, Ettore Colicchio!

This commit is contained in:
skarg
2015-12-02 20:20:33 +00:00
parent aa146827ea
commit 48d04c323f
9 changed files with 36 additions and 0 deletions
+4
View File
@@ -482,6 +482,9 @@ static bool dlmstp_compare_data_expecting_reply(
#endif
return false;
}
#if 0
/* the NDPU priority doesn't get passed through the stack, and
all outgoing messages have NORMAL priority */
if (request.npdu_data.priority != reply.npdu_data.priority) {
#if PRINT_ENABLED
fprintf(stderr,
@@ -489,6 +492,7 @@ static bool dlmstp_compare_data_expecting_reply(
#endif
return false;
}
#endif
if (!bacnet_address_same(&request.address, &reply.address)) {
#if PRINT_ENABLED
fprintf(stderr,
+4
View File
@@ -534,6 +534,9 @@ bool dlmstp_compare_data_expecting_reply(
#endif
return false;
}
#if 0
/* the NDPU priority doesn't get passed through the stack, and
all outgoing messages have NORMAL priority */
if (request.npdu_data.priority != reply.npdu_data.priority) {
#if PRINT_ENABLED
fprintf(stderr,
@@ -541,6 +544,7 @@ bool dlmstp_compare_data_expecting_reply(
#endif
return false;
}
#endif
if (!bacnet_address_same(&request.address, &reply.address)) {
#if PRINT_ENABLED
fprintf(stderr,