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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user