Corrected Abort or Reject code that is generated during ReadPropertyMultiple (seen during reading Object_List).

This commit is contained in:
skarg
2011-02-24 18:07:38 +00:00
parent 5f21d866f6
commit 59823dde09
+2 -1
View File
@@ -135,7 +135,8 @@ static int RPM_Encode_Property(
len = Device_Read_Property(&rpdata);
if (len < 0) {
if ((len == BACNET_STATUS_ABORT) || (len == BACNET_STATUS_REJECT)) {
/* pass on aborts and rejects for now */
rpmdata->error_code = rpdata.error_code;
/* pass along aborts and rejects for now */
return len; /* Ie, Abort */
}
/* error was returned - encode that for the response */