Hi Maurice,
I think the BER (Basic Encoding Rules) isn't the problem here.
The BER encodes/decodes a numeric object identifier (i.e., an
array of usinged 32bit integer values) to/from a network encoding
that is independent from the byte and word order of a system.
What you are looking for is SNMP4J-SMI which provides
OID to object (last) name conversion and index to string
conversions.
If you have SNMP4J-SMI in place, OID.toString() will provide
you the value you are looking for.
Best regards,
Frank
Am 31.12.2013 17:18, schrieb Garcia, Maurice:
Hi,
I am trying to fully resolve the *snmpCommunityName* OID from BER to OID
I tried using all the methods in the OID Class and can't find anything
in the SMI class that can help..
Any suggestions???
/_Example:_/
I get this -> *snmpCommunityName.109.116.97.112.114.111.118*
But I want this -> *snmpCommunityName.'mtaprov1'*
*Thanks,*
*Maurice*
--
---
AGENT++
Maximilian-Kolbe-Str. 10
73257 Koengen, Germany
https://agentpp.com
Phone: +49 7024 8688230
Fax: +49 7024 8688231
_______________________________________________
SNMP4J mailing list
[email protected]
https://s16675406.onlinehome-server.info/mailman/listinfo/snmp4j