Merged revision(s) 3206 from branches/releases/bacnet-stack-0-8-0:

Removed case in MS/TP data expecting reply to not expect a ConfirmedRequest PDU reply. Bug #59. Thank you, Govind!
........
This commit is contained in:
skarg
2018-12-13 17:50:25 +00:00
parent 56290fe877
commit 0386af099f
10 changed files with 0 additions and 82 deletions
-8
View File
@@ -269,14 +269,6 @@ static bool dlmstp_compare_data_expecting_reply(uint8_t * request_pdu,
confirmed, simple ack, abort, reject, error */
reply.pdu_type = reply_pdu[offset] & 0xF0;
switch (reply.pdu_type) {
case PDU_TYPE_CONFIRMED_SERVICE_REQUEST:
reply.invoke_id = reply_pdu[offset + 2];
/* segmented message? */
if (reply_pdu[offset] & BIT(3))
reply.service_choice = reply_pdu[offset + 5];
else
reply.service_choice = reply_pdu[offset + 3];
break;
case PDU_TYPE_SIMPLE_ACK:
reply.invoke_id = reply_pdu[offset + 1];
reply.service_choice = reply_pdu[offset + 2];