added pdu type enumerations

This commit is contained in:
skarg
2005-03-09 21:20:40 +00:00
parent 5ee0cb6e5c
commit 5b4c6bbf74
+13
View File
@@ -624,6 +624,19 @@ typedef enum {
BACNET_APPLICATION_TAG_RESERVED3 = 15,
} BACNET_APPLICATION_TAG;
// note: these are not the real values,
// but are shifted left for easy encoding
typedef enum {
PDU_TYPE_CONFIRMED_SERVICE_REQUEST = 0,
PDU_TYPE_UNCONFIRMED_SERVICE_REQUEST = 0x10,
PDU_TYPE_SIMPLE_ACK = 0x20,
PDU_TYPE_COMPLEX_ACK = 0x30,
PDU_TYPE_SEGMENT_ACK = 0x40,
PDU_TYPE_ERROR = 0x50,
PDU_TYPE_REJECT = 0x60,
PDU_TYPE_ABORT = 0x70
} BACNET_PDU_TYPE;
typedef enum
{
// Alarm and Event Services