NodeSyntax Property

The syntax of the selected node.

Syntax

ANSI (Cross Platform)
int GetNodeSyntax();

Unicode (Windows)
INT GetNodeSyntax();

Possible Values

STX_BOOLEAN(1), 
STX_INTEGER(2),
STX_BIT_STRING(3),
STX_OCTET_STRING(4),
STX_NULL(5),
STX_OBJECT_ID(6),
STX_ENUMERATED(10),
STX_SEQUENCE_OF(15),
STX_SEQUENCE(16),
STX_SET(17),
STX_CHOICE(18),
STX_NETWORK_ADDRESS(21),
STX_IP_ADDRESS(64),
STX_COUNTER(65),
STX_GAUGE(66),
STX_TIME_TICKS(67),
STX_OPAQUE(68),
STX_NSAP(69),
STX_COUNTER_64(70),
STX_UINTEGER(71),
STX_UNKNOWN(59)
@property (nonatomic,readonly,assign,getter=nodeSyntax) int nodeSyntax;
- (int)nodeSyntax;

Possible Values

STX_BOOLEAN(1), 
STX_INTEGER(2),
STX_BIT_STRING(3),
STX_OCTET_STRING(4),
STX_NULL(5),
STX_OBJECT_ID(6),
STX_ENUMERATED(10),
STX_SEQUENCE_OF(15),
STX_SEQUENCE(16),
STX_SET(17),
STX_CHOICE(18),
STX_NETWORK_ADDRESS(21),
STX_IP_ADDRESS(64),
STX_COUNTER(65),
STX_GAUGE(66),
STX_TIME_TICKS(67),
STX_OPAQUE(68),
STX_NSAP(69),
STX_COUNTER_64(70),
STX_UINTEGER(71),
STX_UNKNOWN(59)
#define PID_MIBBROWSER_NODESYNTAX 11

IPWORKSSNMP_EXTERNAL void* IPWORKSSNMP_CALL IPWorksSNMP_MibBrowser_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

Default Value

6

Remarks

The syntax defines what type of data the selected node contains. Common data types include:

Boolean (1) Boolean variable.
Integer (2) A 32-bit signed integer.
OctetString (4) An octet string variable that is binary or textual data.
Null (5) NULL value.
ObjectId (6) Object identifier.
IpAddress (64) A 32-bit Internet address (aaa.bbb.ccc.ddd)
Counter (65) A counter that increases until it reaches a maximum value of (2^32).
Gauge (66) A non-negative int that can increase or decrease, but never exceed a maximum value.
TimeTicks (67) A counter that measures time in hundredths of a second.
Opaque (68) This type supports the capability to pass ASN.1 syntax.
Counter64 (70) A counter that increases until it reaches a maximum value of (2^64).
UInteger (71) A 32-bit unsigned integer.

Additional type definitions can be found in the SNMP RFC's.

This property is read-only.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks SNMP 2020 C++ Edition - Version 20.0 [Build 8202]