Not getting values in some fields of SmiNode structure.

Hello,
I am using libsmi0.3.1 on Windows NT compiling with VC++ 6.0.
When I load SNMPv2-SMI, SNMPv2-TC, SNMPv2-CONFand SNMPv2-MIB mib modules given in the mibs\ietf folder, I am not getting correct values in the following fields of SmiNode structure: 1. format field always has a value 0x00000000"". 2. basetype and len in value field always have "SMI_BASETYPE_UNKNOWN" and 0. 3. units field always has a value 0x00000000"". 4. reference field always has a value 0x00000000"".
I am getting proper values in the other fields.
Can anyone suggest me what could be wrong?
Thanks and Regards, Yogesh

Yogeshwara G writes:
Yogeshwara> I am using libsmi0.3.1 on Windows NT compiling with VC++ Yogeshwara> 6.0.
Yogeshwara> When I load SNMPv2-SMI, SNMPv2-TC, SNMPv2-CONFand Yogeshwara> SNMPv2-MIB mib modules given in the mibs\ietf folder, I am Yogeshwara> not getting correct values in the following fields of Yogeshwara> SmiNode structure: 1. format field always has a value Yogeshwara> 0x00000000"". 2. basetype and len in value field always Yogeshwara> have "SMI_BASETYPE_UNKNOWN" and 0. 3. units field always Yogeshwara> has a value 0x00000000"". 4. reference field always has a Yogeshwara> value 0x00000000"".
Yogeshwara> I am getting proper values in the other fields.
The fields format, units and reference only have values if there are definitions for that particular node. You will get SMI_BASETYPE_UNKNOWN for those things where the base type is unknown.
Tell us precisely what you are doing, what you expected to happen and what you actually got. Otherwise, nobody can help.
/js
participants (2)
-
Juergen Schoenwaelder
-
Yogeshwara G