When putting together a confirmed COV Notification, the flag "data_expecting_reply" in npdu_data was not set to true for confirmedCOVnotifications. So in the dlmstp.c state machine, it would send the confirmedCOVNotification, but not wait for a reply. Instead it would send the Token right away. Thank you, Ettore Colicchio!

This commit is contained in:
skarg
2015-12-09 16:54:18 +00:00
parent 77553982bd
commit 97966c9310
+1
View File
@@ -489,6 +489,7 @@ static bool cov_send_request(
cov_data.timeRemaining = cov_subscription->lifetime;
cov_data.listOfValues = value_list;
if (cov_subscription->flag.issueConfirmedNotifications) {
npdu_data.data_expecting_reply = true;
invoke_id = tsm_next_free_invokeID();
if (invoke_id) {
cov_subscription->invokeID = invoke_id;