Is there any type for u_int8?

"Lucian Romi" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi, I'm implementing a hex parameter has one byte only.
The value of it is 0x69. As this is a hex value, we don't want to define it
as Integer.
Also, it's one byte only, so from 0x0 to 0xff.
At the begining, I think OCTET STRING(size(1)) will work.
However, when I give it a one byte value like 0x69, it's showing ASCII
string "i" as result.
Surely 0x69 has ASCII value "i", but we don't want that. We just want it
showing 0x69 or 69.
Is there anyway to do that? Thanks!

------------------------------------------------------------------------------

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.