Status in source: unconfirmed.
Technical details
{
"smi_kind": "OBJECT-TYPE",
"definition": [
"dmsGraphicID",
"OBJECT-TYPE",
"SYNTAX",
"INTEGER",
"(",
"0",
".",
".",
"65535",
")",
"ACCESS",
"read-only",
"STATUS",
"mandatory",
"DESCRIPTION",
"\"<Definition> Each graphic that has been downloaded to a sign shall have a relatively unique ID. This ID shall be calculated using the CRC-16 algorithm Page 223 NTCIP 1203 v02.35 defined in ISO 3309 and the associated OER-encoded (as defined in NTCIP 1102) GraphicInfoList. The following definitions are used to define the above referenced GraphicInfoList. Complete definitions for these referenced objects, including size information, is contained elsewhere in this document. GraphicInfoList ::= SEQUENCE { number INTEGER(1..255), -- dmsGraphicNumber of the subject graphic height INTEGER(1..65535), -- dmsGraphicHeight of the subject graphic width INTEGER(1..65535), -- dmsGraphicWidth of the subject graphic type INTEGER (1..4), -- dmsGraphicType of the subject graphic transparentEnabled INTEGER(0..1) -- dmsGraphicTransparentEnabled of the graphic transparentColor OCTET STRING (SIZE(3)) -- dmsGraphicTransparentColor of the graphic -- if dmsGraphicType not color24bit, first octet is the -- transparent color and remaining octets are zero bitmap OCTET STRING (SIZE (Z)) -- the bitmap of the subject graphic } where Z = ((height * width) + 7) / 8 -- for monochrome1bit --(remaining bits are set to zero) Z = (height * width) -- for monochrome8bit or colorClassic Z = (height * width) * 3 -- for color24bit This gives a predictable byte stream for the GraphicInfoList: [number] -- 1 octet [height] -- 2 octets, MSB first [width] -- 2 octets, MSB first [type] -- 1 octet [transparentEnabled] -- 1 octet [transparentcolor] -- 3 octets (last 2 octets set to 0 if not color24bit) [bitmap] -- Z octets, according to height, width & color scheme Examples: Given the 10x6 bitmap - 84 92 63 08 C2 48 A1 70 = @OOOO@OO@O O@OO@OO@@O OO@@OOOO@O OO@@OOOO@O O@OO@OOO@O @OOOO@O@@@ OOOO 1) dmsGraphicNumber = 3 dmsGraphicHeight = 6 dmsGraphicWidth = 10 dmsGraphicType = 1 Page 224 NTCIP 1203 v02.35 dmsGraphicTransparentEnabled = 0 dmsGraphicTransparentColor = 1 dmsGraphicBitmap = 84 92 63 08 C2 48 A1 70 GraphicInfoList = 03 00 06 00 0A 01 00 01 00 00 84 92 63 08 C2 48 A1 70 dmsGraphicID = 0xB95A where 03 = dmsGraphicNumber 00 06 = dmsGraphicHeight 00 0A = dmsGraphicWidth 01 = dmsGraphicType (monochrome1bit) 00 = dmsGraphicTransparentEnabled 01 00 00 = dmsGraphicTransparentColor 84 92 63 08 C2 48 A1 70 = dmsGraphicBitmap 2) dmsGraphicNumber = 4 dmsGraphicHeight = 6 dmsGraphicWidth = 10 dmsGraphicType = 1 dmsGraphicTransparentEnabled = 0 dmsGraphicTransparentColor = 0 dmsGraphicBitmap = 84 92 63 08 C2 48 A1 70 GraphicInfoList = 04 00 06 00 0A 01 00 00 00 00 84 92 63 08 C2 48 A1 70 dmsGraphicID = 0xBFF5 where 04 = dmsGraphicNumber 00 06 = dmsGraphicHeight 00 0A = dmsGraphicWidth 01 = dmsGraphicType (monochrome1bit) 00 = dmsGraphicTransparentEnabled 00 00 00 = dmsGraphicTransparentColor 84 92 63 08 C2 48 A1 70 = dmsGraphicBitmap 3) A 4x4 pixel color classic graphic of the letter 'Z' in red dmsGraphicNumber = 5 dmsGraphicHeight = 4 dmsGraphicWidth = 4 dmsGraphicType = 3 dmsGraphicTransparentEnabled = 1 dmsGraphicTransparentColor = 7 dmsGraphicBitmap = 01 01 01 01 07 07 01 07 07 01 07 07 01 01 01 01 GraphicInfoList = 05 00 04 00 04 03 01 07 00 00 01 01 01 01 07 07 01 07 07 01 07 07 01 01 01 01 dmsGraphicID = 0x8FE0 where 05 = dmsGraphicNumber 00 04 = dmsGraphicHeight 00 04 = dmsGraphicWidth 03 = dmsGraphicType (colorClassic) 01 = dmsGraphicTransparentEnabled 07 00 00 = dmsGraphicTransparentColor (white) 01 01 01 01 07 07 01 07 07 01 07 07 01 01 01 01 = dmsGraphicBitmap Page 225 NTCIP 1203 v02.35 4) -- a 2x2 pixel square RGB graphic with green as the transparent color in the lower left pixel dmsGraphicNumber = 7 dmsGraphicHeight = 2 dmsGraphicWidth = 2 dmsGraphicType = 4 dmsGraphicTransparentEnabled = 1 dmsGraphicTransparentColor = 00 FF 00 dmsGraphicBitmap = FFFFFF FF00FF 00FF00 FF00FF GraphicInfoList = 07 00 02 00 02 04 01 00 FF 00 FFFFFF FF00FF 00FF00 FF00FF dmsGraphicID = 0x078D where 07 = dmsGraphicNumber 00 02 = dmsGraphicHeight 00 02 = dmsGraphicWidth 04 = dmsGraphicType (color24bit) 01 = dmsGraphicTransparentEnabled 00 FF 00 = dmsGraphicTransparentColor (green) FFFFFF FF00FF 00FF00 FF00FF = dmsGraphicBitmap <Object Identifier> 1.3.6.1.4.1.1206.4.2.3.9.10.6.1.7\"",
"::=",
"{",
"dmsGraphicEntry",
"7",
"}"
],
"syntax_tree": [
[
"SimpleSyntax",
"INTEGER",
[
"integerSubType",
[
[
0,
65535
]
]
]
],
null,
[
"MaxAccessPart",
"read-only"
],
[
"Status",
"mandatory"
],
[
"DESCRIPTION",
"<Definition> Each graphic that has been downloaded to a sign shall have a relatively unique ID. This ID shall be calculated using the CRC-16 algorithm Page 223 NTCIP 1203 v02.35 defined in ISO 3309 and the associated OER-encoded (as defined in NTCIP 1102) GraphicInfoList. The following definitions are used to define the above referenced GraphicInfoList. Complete definitions for these referenced objects, including size information, is contained elsewhere in this document. GraphicInfoList ::= SEQUENCE { number INTEGER(1..255), -- dmsGraphicNumber of the subject graphic height INTEGER(1..65535), -- dmsGraphicHeight of the subject graphic width INTEGER(1..65535), -- dmsGraphicWidth of the subject graphic type INTEGER (1..4), -- dmsGraphicType of the subject graphic transparentEnabled INTEGER(0..1) -- dmsGraphicTransparentEnabled of the graphic transparentColor OCTET STRING (SIZE(3)) -- dmsGraphicTransparentColor of the graphic -- if dmsGraphicType not color24bit, first octet is the -- transparent color and remaining octets are zero bitmap OCTET STRING (SIZE (Z)) -- the bitmap of the subject graphic } where Z = ((height * width) + 7) / 8 -- for monochrome1bit --(remaining bits are set to zero) Z = (height * width) -- for monochrome8bit or colorClassic Z = (height * width) * 3 -- for color24bit This gives a predictable byte stream for the GraphicInfoList: [number] -- 1 octet [height] -- 2 octets, MSB first [width] -- 2 octets, MSB first [type] -- 1 octet [transparentEnabled] -- 1 octet [transparentcolor] -- 3 octets (last 2 octets set to 0 if not color24bit) [bitmap] -- Z octets, according to height, width & color scheme Examples: Given the 10x6 bitmap - 84 92 63 08 C2 48 A1 70 = @OOOO@OO@O O@OO@OO@@O OO@@OOOO@O OO@@OOOO@O O@OO@OOO@O @OOOO@O@@@ OOOO 1) dmsGraphicNumber = 3 dmsGraphicHeight = 6 dmsGraphicWidth = 10 dmsGraphicType = 1 Page 224 NTCIP 1203 v02.35 dmsGraphicTransparentEnabled = 0 dmsGraphicTransparentColor = 1 dmsGraphicBitmap = 84 92 63 08 C2 48 A1 70 GraphicInfoList = 03 00 06 00 0A 01 00 01 00 00 84 92 63 08 C2 48 A1 70 dmsGraphicID = 0xB95A where 03 = dmsGraphicNumber 00 06 = dmsGraphicHeight 00 0A = dmsGraphicWidth 01 = dmsGraphicType (monochrome1bit) 00 = dmsGraphicTransparentEnabled 01 00 00 = dmsGraphicTransparentColor 84 92 63 08 C2 48 A1 70 = dmsGraphicBitmap 2) dmsGraphicNumber = 4 dmsGraphicHeight = 6 dmsGraphicWidth = 10 dmsGraphicType = 1 dmsGraphicTransparentEnabled = 0 dmsGraphicTransparentColor = 0 dmsGraphicBitmap = 84 92 63 08 C2 48 A1 70 GraphicInfoList = 04 00 06 00 0A 01 00 00 00 00 84 92 63 08 C2 48 A1 70 dmsGraphicID = 0xBFF5 where 04 = dmsGraphicNumber 00 06 = dmsGraphicHeight 00 0A = dmsGraphicWidth 01 = dmsGraphicType (monochrome1bit) 00 = dmsGraphicTransparentEnabled 00 00 00 = dmsGraphicTransparentColor 84 92 63 08 C2 48 A1 70 = dmsGraphicBitmap 3) A 4x4 pixel color classic graphic of the letter 'Z' in red dmsGraphicNumber = 5 dmsGraphicHeight = 4 dmsGraphicWidth = 4 dmsGraphicType = 3 dmsGraphicTransparentEnabled = 1 dmsGraphicTransparentColor = 7 dmsGraphicBitmap = 01 01 01 01 07 07 01 07 07 01 07 07 01 01 01 01 GraphicInfoList = 05 00 04 00 04 03 01 07 00 00 01 01 01 01 07 07 01 07 07 01 07 07 01 01 01 01 dmsGraphicID = 0x8FE0 where 05 = dmsGraphicNumber 00 04 = dmsGraphicHeight 00 04 = dmsGraphicWidth 03 = dmsGraphicType (colorClassic) 01 = dmsGraphicTransparentEnabled 07 00 00 = dmsGraphicTransparentColor (white) 01 01 01 01 07 07 01 07 07 01 07 07 01 01 01 01 = dmsGraphicBitmap Page 225 NTCIP 1203 v02.35 4) -- a 2x2 pixel square RGB graphic with green as the transparent color in the lower left pixel dmsGraphicNumber = 7 dmsGraphicHeight = 2 dmsGraphicWidth = 2 dmsGraphicType = 4 dmsGraphicTransparentEnabled = 1 dmsGraphicTransparentColor = 00 FF 00 dmsGraphicBitmap = FFFFFF FF00FF 00FF00 FF00FF GraphicInfoList = 07 00 02 00 02 04 01 00 FF 00 FFFFFF FF00FF 00FF00 FF00FF dmsGraphicID = 0x078D where 07 = dmsGraphicNumber 00 02 = dmsGraphicHeight 00 02 = dmsGraphicWidth 04 = dmsGraphicType (color24bit) 01 = dmsGraphicTransparentEnabled 00 FF 00 = dmsGraphicTransparentColor (green) FFFFFF FF00FF 00FF00 FF00FF = dmsGraphicBitmap <Object Identifier> 1.3.6.1.4.1.1206.4.2.3.9.10.6.1.7"
],
null,
null,
null,
null
]
}