I have designed a program which sends a get request to a device
This returns integer values which when compare with the MIB file, are correct.

However I would like the program to return the String value of the request OID.

In the java API for SNMP4J there are functions which look like they do what I'm requesting but I've tried these and to no avail.

Here is some code -

                oid = new OID(OidArray[z]);
            }
            VariableBinding vb = new VariableBinding(oid);
            Pdu = new PDU();
            Pdu.add(vb);

so if I try

vb.toString();
//Or this
vb.toValueString();

None of these work and returned null.

eg - oid = 1.3.6.1.2.3.4.5.3.44.0 returns - 1.3.6.1.2.3.4.5.3.44.0 = 4
and 4 in the MIB file is QPSK which is the string value i would like returned

Thanks for your help
Kurt