[SNMP4J] problem with declaring octet Variable

Jon Ruano jon.ruano at gmail.com
Mon Jan 12 15:26:22 CET 2009


Ali,

That 31 30 31 30 31 31 31 30 are the hex expression for the ASCII
codes of 10101010.
I'd convert that OID to byte and use the OctetString( byte [] )
constructor instead.

Jon

> I think I have problem with var2 how can I set the value with type octet
> such that the octet looks like "10101110" and not 31 30 31 30 31 31 31 30.



More information about the SNMP4J mailing list