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
embedded systems - modbus - registers
embedded systems - bacnet - specific messages
MC6802 - interrupts
microprocessors - microchip pics - pic assembly language
embedded systems - bacnet - BVLC
embedded systems - modbus - crc calculation
embedded systems - bacnet - APDU Header
care:programming
embedded systems - bacnet - Property Identifier
microprocessors - microchip pics - pk2cmd installation
microprocessors - microchip pics - references
microsoft windows xp - configuration notes
Raspberry PI - configure static IP address
MC6802 - assembler
Raspberry PI - write disk image to sd card
programming - windows - WM_WINDOWPOSCHANGING
Raspberry PI - VNC
filename:embedded systems - bacnet - tag
filename:embedded%20systems%20%2D%20bacnet%20%2D%20tag
last edit:March 12 2016 01:39:38 (3894 days ago)
ct = 1794244952.000000 = November 09 2026 17:22:32
ft = 1457746778.000000 = March 12 2016 01:39:38
dt = 336498174.000000