Fixed unit test checking for unknown property. Added reliability property to binary-value ReadProperty.

This commit is contained in:
Steve Karg
2024-04-04 12:26:14 -05:00
parent d1f92cbb8f
commit b8201dad26
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -733,6 +733,10 @@ int Binary_Value_Read_Property(BACNET_READ_PROPERTY_DATA *rpdata)
apdu_len = encode_application_enumerated(
&apdu[0], Binary_Value_Polarity(rpdata->object_instance));
break;
case PROP_RELIABILITY:
apdu_len = encode_application_enumerated(
&apdu[0], Binary_Value_Reliability(rpdata->object_instance));
break;
case PROP_DESCRIPTION:
characterstring_init_ansi(&char_string,
Binary_Value_Description(rpdata->object_instance));