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
programming - DDE - PROGMAN DDE Server
electronics - LCD Display - HD44780 - initialization
O
microprocessors - MC6802 - signals
programming - sqlite3 - c interface - sqlite3_int64 sqlite3_last_insert_rowid(sqlite3*)
programming - windows - win32 constants
Bible passages - Hebrews 10-26:31
bible - random notes - 2012-06-10 Are you sure?
programming cgi - cookies
programming:windows:MoveWindow
filename:embedded systems - bacnet - tag
filename:embedded%20systems%20%2D%20bacnet%20%2D%20tag
last edit:March 11 2016 20:39:38 (2990 days ago)
ct = 1716083223.000000 = May 18 2024 21:47:03
ft = 1457746778.000000 = March 11 2016 20:39:38
dt = 258336445.000000