Dave, Thanks for your great help. All are clear now. -Richard
Dave Shield wrote:
If I register my Unsigned32 as ASN_INTEGER=0x02,
Use ASN_UNSIGNED.
when I set it to a value > 0x7FFFFFFF, then the callback gives me a type of 0x42.
Yes - that's ASN_UNSIGNED (see <net-snmp/library/snmp_impl.h>)
This works fine only that my mib browser shows the type of the param as gauge.
Yes - The SMI syntax types Unsigned32 and Gauge32 are on-the-wire identical. See the ASN.1 definitions in RFC 2578
Am I doing something wrong?
No.
Dave
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
