C
Description
This routine prepares the trap notification pdu, sends ARP and get remote device MAC address to which notification to sent, sends the notification. Notofication state machine is getting updated if there is any ARP resolution failure for a perticular trap destination address.
Preconditions
SNMPTrapDemo() is called.
Parameters
Parameters |
Description |
receiverIndex |
The index to array where remote ip address is stored. |
var |
SNMP var ID that is to be used in notification |
val |
Value of var. Only value of BYTE, WORD or DWORD can be sent. |
targetIndex |
snmpv3 target index |
Return Values
Return Values |
Description |
TRUE |
If notification send is successful. |
FALSE |
If send notification failed. |
Remarks
None.