Decode SNMP Packet into ASCII

txt = snmp.decode(packet, [ip], [name])

Decodes a binary SNMP trap packet, and returns an ASCII representation.

Parameter Type Description
packet string Binary SNMP packet
ip string IP address
name string Name
Returns Type Description
txt string ASCII representation