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();

so if I try

//Or this

None of these work and returned null.

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

Thanks for your help