Hello, I understand and, I am going to use MIB to define the structure of my data.
It is strong damage that in PDU the syntax ASN1 already does not define this type of raw data. ... I have just thought that I can prove every byte by proving that the 1st bit is not used what will give an ascii (rough method). Thank you Laurent > Message du 10/07/08 à 22h32 > De : "Mike Ayers" <[EMAIL PROTECTED]> > A : [EMAIL PROTECTED] > Copie à : net-snmp-users@lists.sourceforge.net > Objet : RE: SNMP expertise > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, July 08, 2008 1:35 AM > > > I understand want you mean but this is my asn1 structure. > > > > In the vabind struct i have a choice for "string" that is -> > > OCTET STRING. > > > > But as you see it doesn't mean what kind of octet string. > > No, nor should it. By declaring your data as OCTET STRING, you promise > to give SNMP 8 bit data units (commonly called "bytes"). SNMP promises to > preserve the order of those octets and the bits within them. That's it. > SNMP neither knows nor cares what will be done with the octets, it just > passes them around. The content of the data is an application issue, not an > SNMP issue. > > You may be intereted in adding a DISPLAY-HINT to your MIB - see > RFC2579, section 3.1. Also, look at the manpage for snmpcmd (i.e., the > manpage that documents net-snmp common flags), in the "OUTPUT OPTIONS" > section. > > > HTH, > > Mike > ____________________________________________________ La route des vacances en quelques clics grâce à Voila ! http://itineraire.voila.fr/itineraire.html ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users