RFC1157, RFC1905 and/or RFC2272 should be studied carefully
before using this module,
The module
-define(SNMP_USE_V3, true). -include_lib("snmp/include/snmp_types.hrl").
Encoding and decoding must be done explicitly when writing your own Net if process.
Decodes a list of bytes into an SNMP Message. Note, if there
is a v3 message, the
Decodes a list of bytes into an SNMP Message, but does not
decode the data part of the Message. That means, data is still
a list of bytes, normally an encoded
Decodes a list of bytes into an SNMP Pdu.
Decodes a list of bytes into an SNMP ScopedPdu.
Decodes a list of bytes into either a scoped pdu record, or - if the scoped pdu was encrypted - to a list of bytes.
Decodes a list of bytes into an SNMP UsmSecurityParameters
Encodes an encrypted SNMP ScopedPdu into an OCTET STRING
that can be used as the
This function should be used whenever the
Encodes a message record to a list of bytes.
Encodes an SNMP Pdu into a list of bytes.
Encodes an SNMP ScopedPdu into a list of bytes, which can be
encrypted, and after encryption, encoded with
a call to
Encodes SNMP UsmSecurityParameters into a list of bytes.