[AGENT++] problem with SYNTAX BITS

Frank Fock fock at agentpp.com
Mon Aug 31 17:23:42 CEST 2009


Hi Jean-Philippe,

This is most likely a bug in MG-Soft's MIB Browser.
Try MIB Explorer from http://www.agentpp.com
instead. I do not think that you will have to
change your code or design.

Best regards,
Frank

Jacquemin, Jean-Philippe wrote:
> Hi All,
> 
> Has anyone experienced problems with the bitfields ?
> 
> In my MIB file I use the syntax:
> 
> SYNTAX BITS
> {
>   noError(0),
>   error1(1),
>   error2(2),
>   error3(3),
>   error4(4)
> }
> 
> but instead of reading it as a bitfield, the MIB-Browser I use (from
> MG-Soft) interpretes it as an Integer. Combination of error is therefore
> not possbile.
> 
> In my SnmpAgent I only use 2 classes : SnmpInt32 and OctetStr.
> 
> Could it be that because all my numerical leaves are Integers that this
> bitfield is intepreted only as an integer ??
> 
> 
> Thanks in advance,
> 
> Jean-Philippe
> 
> 
> DISCLAIMER:
> Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
> 
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp

-- 
AGENT++
http://www.agentpp.com
http://www.snmp4j.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the AGENTPP mailing list