From 2c6c7630bf473e3d67e573c87988cbaeee539e8b Mon Sep 17 00:00:00 2001 From: skarg Date: Thu, 8 Oct 2015 16:02:40 +0000 Subject: [PATCH] Fixed datatype for WriteStatus property in the Channel Object to be enumerated. Thanks to David Fisher for noticing while at BACnet Plugfest! --- bacnet-stack/demo/object/channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacnet-stack/demo/object/channel.c b/bacnet-stack/demo/object/channel.c index de3724a9..26e9b23b 100644 --- a/bacnet-stack/demo/object/channel.c +++ b/bacnet-stack/demo/object/channel.c @@ -1399,7 +1399,7 @@ int Channel_Read_Property(BACNET_READ_PROPERTY_DATA * rpdata) (BACNET_WRITE_STATUS)Channel_Write_Status( rpdata->object_instance); apdu_len = - encode_application_unsigned(&apdu[0], unsigned_value); + encode_application_enumerated(&apdu[0], unsigned_value); break; case PROP_STATUS_FLAGS: bitstring_init(&bit_string);