Bugfix/print property name units lighting (#313)

* Fix EPICS property name proprietary range

* Fix Lighting Command decode length

* add function to determine property name and units proprietary range

* improve test coverage for AI, AO, AV, BI, BO, BV, LO

* refactor common property encoding to proplist module

* add decoder for priority array

Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
This commit is contained in:
Steve Karg
2022-07-29 17:11:38 -05:00
committed by GitHub
parent 731e951106
commit a945588340
18 changed files with 622 additions and 309 deletions
+4
View File
@@ -545,8 +545,10 @@ typedef enum {
/* Enumerated values 0-511 are reserved for definition by ASHRAE. */
/* Enumerated values 512-4194303 may be used by others subject to the */
/* procedures and constraints described in Clause 23. */
PROP_RESERVED_RANGE_MAX = 511,
PROP_PROPRIETARY_RANGE_MIN = 512,
PROP_PROPRIETARY_RANGE_MAX = 4194303,
PROP_RESERVED_RANGE_MIN2 = 4194304,
/* enumerations 4194304-4194327 are defined in Addendum 2020cc */
PROP_MAX_BVLC_LENGTH_ACCEPTED = 4194304,
PROP_MAX_NPDU_LENGTH_ACCEPTED = 4194305,
@@ -1295,6 +1297,8 @@ typedef enum BACnetObjectType {
OBJECT_AUDIT_REPORTER = 62, /* Addendum 135-2016bi */
OBJECT_COLOR = 63, /* Addendum 135-2020ca */
OBJECT_COLOR_TEMPERATURE = 64, /* Addendum 135-2020ca */
BACNET_OBJECT_TYPE_LAST = OBJECT_COLOR_TEMPERATURE,
BACNET_OBJECT_TYPE_RESERVED_MAX = 127,
/* Enumerated values 0-127 are reserved for definition by ASHRAE. */
/* Enumerated values 128-1023 may be used by others subject to */
/* the procedures and constraints described in Clause 23. */