Download SNMP Specification and User Manual

Transcript
SNMP Specification and User Manual
5.3.9
stxSNMP_TrapAgentSend ( aulTrapOID )
Description
Immediately sends out a SNMPv2-TRAP Enterprise conform Trap message.
Uses the given OID, searches it inside the registered MIBs and sends OID & OIDValue out, together with SNMPv2-TRAP-OID and Timestamp..
Parameter
UINT32_stx FPTR_stx aulTrapOID
Reference to an array describing the OID as sequence of unsigned long words. The
sequence must be null-terminated. The OID has to exist in one of the registered MIB
modules.
Return Value
BOOL_stx
TRUE_stx if anything works well, FALSE_stx on parameter error, or OID not found or
insufficient memory or UDP-Tx failed.
Comment
The Trap-Agent must be initialized and set up before sending a Trap Message.
Revision No.: 1.7
Page 24 / 52