added types for decoding write property
This commit is contained in:
@@ -46,6 +46,24 @@ typedef struct BACnet_Bit_String
|
||||
uint8_t value[MAX_BITSTRING_BYTES];
|
||||
} BACNET_BIT_STRING;
|
||||
|
||||
// date
|
||||
typedef struct BACnet_Date
|
||||
{
|
||||
uint8_t year;
|
||||
uint8_t month;
|
||||
uint8_t day;
|
||||
uint8_t wday;
|
||||
} BACNET_DATE;
|
||||
|
||||
// time
|
||||
typedef struct BACnet_Time
|
||||
{
|
||||
uint8_t hour;
|
||||
uint8_t min;
|
||||
uint8_t sec;
|
||||
uint8_t hundredths;
|
||||
} BACNET_TIME;
|
||||
|
||||
// from clause 20.2.1 General Rules for Encoding BACnet Tags
|
||||
// returns the number of apdu bytes consumed
|
||||
int encode_tag(uint8_t * apdu, uint8_t tag_number, bool context_specific,
|
||||
|
||||
Reference in New Issue
Block a user