> I try snmpgetnext utility. MIB - 1.3.6.1.2.1.17.4.3.1.1 > response: > SNMPv2-SMI::mib-2.17.4.3.1.1.0.1.108.166.23.107 = Hex-STRING: 00 01 6C A6 > 17 6B > ... > response like this - #0#1'l|'#$17'k' (what is it?) > > Synapse bug if mib value is Hex-STRING??? Or my mistake?
value is not hex-string. Datatype is OctetString. It is just sequence of some byte values. It can hold some binary datas or readable strings. Synapse returns data in plain form, even it is not writeable string. (because you can read any byte value from the string...) Your utility detect non-printable values in the octetstring and try to write it in the hexadecimal form. You can print returned value in the similar form, when you convert value by Strtohex function in the synautil unit. See the source of this function too, you can see here how to access each byte in the string. -- Lukas Gebauer. http://synapse.ararat.cz/ - Synapse Delphi and Kylix TCP/IP Library http://geoget.ararat.cz/ - Geocaching solution ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public