adding analog output object

This commit is contained in:
skarg
2005-05-14 15:36:51 +00:00
parent 5a9aa9ffec
commit 7f4f1a731b
8 changed files with 547 additions and 3 deletions
+8
View File
@@ -592,6 +592,14 @@ bool decode_boolean(uint32_t len_value)
return boolean_value;
}
// from clause 20.2.2 Encoding of a Null Value
// and 20.2.1 General Rules for Encoding BACnet Tags
// returns the number of apdu bytes consumed
int encode_tagged_null(uint8_t * apdu)
{
return encode_tag(&apdu[0], BACNET_APPLICATION_TAG_NULL, false, 0);
}
static uint8_t byte_reverse_bits(uint8_t in_byte)
{
uint8_t out_byte = 0;