Fixed the NDPU encoding for confirmed COV notifications (#917)
This commit is contained in:
@@ -472,7 +472,9 @@ static bool cov_send_request(
|
||||
return status;
|
||||
}
|
||||
datalink_get_my_address(&my_address);
|
||||
npdu_encode_npdu_data(&npdu_data, false, MESSAGE_PRIORITY_NORMAL);
|
||||
npdu_encode_npdu_data(
|
||||
&npdu_data, cov_subscription->flag.issueConfirmedNotifications,
|
||||
MESSAGE_PRIORITY_NORMAL);
|
||||
pdu_len = npdu_encode_pdu(
|
||||
&Handler_Transmit_Buffer[0], dest, &my_address, &npdu_data);
|
||||
/* load the COV data structure for outgoing message */
|
||||
@@ -486,7 +488,6 @@ 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