Updated Protocol_Revision requirements per the 135-2016 BACnet standard.
This commit is contained in:
@@ -90,13 +90,10 @@
|
|||||||
#elif (BACNET_PROTOCOL_REVISION == 13)
|
#elif (BACNET_PROTOCOL_REVISION == 13)
|
||||||
#define MAX_ASHRAE_OBJECT_TYPE 53
|
#define MAX_ASHRAE_OBJECT_TYPE 53
|
||||||
#define MAX_BACNET_SERVICES_SUPPORTED 40
|
#define MAX_BACNET_SERVICES_SUPPORTED 40
|
||||||
#elif (BACNET_PROTOCOL_REVISION == 14)
|
#elif (BACNET_PROTOCOL_REVISION == 14) || (BACNET_PROTOCOL_REVISION == 15)
|
||||||
/* from 135-2012 version of the BACnet Standard */
|
/* from 135-2012 version of the BACnet Standard */
|
||||||
#define MAX_ASHRAE_OBJECT_TYPE 55
|
#define MAX_ASHRAE_OBJECT_TYPE 55
|
||||||
#define MAX_BACNET_SERVICES_SUPPORTED 41
|
#define MAX_BACNET_SERVICES_SUPPORTED 41
|
||||||
#elif (BACNET_PROTOCOL_REVISION == 15)
|
|
||||||
#define MAX_ASHRAE_OBJECT_TYPE 55
|
|
||||||
#define MAX_BACNET_SERVICES_SUPPORTED 41
|
|
||||||
#elif (BACNET_PROTOCOL_REVISION == 16)
|
#elif (BACNET_PROTOCOL_REVISION == 16)
|
||||||
/* Addendum 135-2012an, 135-2012at, 135-2012au,
|
/* Addendum 135-2012an, 135-2012at, 135-2012au,
|
||||||
135-2012av, 135-2012aw, 135-2012ax, 135-2012az */
|
135-2012av, 135-2012aw, 135-2012ax, 135-2012az */
|
||||||
@@ -106,6 +103,10 @@
|
|||||||
/* Addendum 135-2012ai */
|
/* Addendum 135-2012ai */
|
||||||
#define MAX_ASHRAE_OBJECT_TYPE 57
|
#define MAX_ASHRAE_OBJECT_TYPE 57
|
||||||
#define MAX_BACNET_SERVICES_SUPPORTED 41
|
#define MAX_BACNET_SERVICES_SUPPORTED 41
|
||||||
|
#elif (BACNET_PROTOCOL_REVISION == 18) || (BACNET_PROTOCOL_REVISION == 15)
|
||||||
|
/* from 135-2016 version of the BACnet Standard */
|
||||||
|
#define MAX_ASHRAE_OBJECT_TYPE 60
|
||||||
|
#define MAX_BACNET_SERVICES_SUPPORTED 44
|
||||||
#else
|
#else
|
||||||
#error MAX_ASHRAE_OBJECT_TYPE and MAX_BACNET_SERVICES_SUPPORTED not defined!
|
#error MAX_ASHRAE_OBJECT_TYPE and MAX_BACNET_SERVICES_SUPPORTED not defined!
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user