up: embedded systems - bacnet  
embedded systems - bacnet - tagWhat links here?
|--7--|--6--|--5--|--4--|--3--|--2--|--1--|--0--|
|      tag number       |class|   len/val/type  |
|-----|-----|-----|-----|-----|-----|-----|-----|


Tag numbers 0 - 14 are contained in bits 7 through 4.
A tag number of 15 indicates an extended tag is held in the following byte.

The tag length is contained in bits 2 through 0.
A length of 5 indicates and extended length is held in the following byte, or the byte following the extended tag number, if one exists.
If the extended length contains 254, the extended length is contained in the following two bytes.
If the extended length contains 255, the extended length is contained in the following four bytes.
(who dreamed this stuff up?)

class = 0 => application tag
class = 1 => context specific tag

If the tag is an application tag, then the tag number indicates the type, shown below, and the meaning is position dependent in the context of the whole message.
Tag Types
0Null
1Boolean
2Unsigned Integer
3Signed Integer
4Real (ANSI 754 Floating Point)
5Double (ANSI 754 Double)
6Octet String
7Character String
8Bit String
9Enumerated
10Date
11Time
12BACnet Object Identifier
13Reserved
14Reserved
15Reserved
embedded systems - bacnet - tag
electronics - Antennas
materials
linux - change file permissions
microprocessors - microchip 16F84A - option register
microprocessors - microchip pics - labx 20
microprocessors - microchip 16F84A - portb
Machines
programming:windows:WM_SETTEXT
main
working with plastic
filename:embedded systems - bacnet - tag
filename:embedded%20systems%20%2D%20bacnet%20%2D%20tag
last edit:March 11 2016 20:39:38 (3650 days ago)
ct = 1773153181.000000 = March 10 2026 10:33:01
ft = 1457746778.000000 = March 11 2016 20:39:38
dt = 315406403.000000