C
void SNMPNotifyPrepare( IP_ADDR* remoteHost, char* community, BYTE communityLen, SNMP_ID agentIDVar, BYTE notificationCode, DWORD timestamp );
Description
This function prepares SNMP module to send SNMP trap notification to remote host. It sends ARP request to remote host to learn remote host MAC address.
Preconditions
SNMPInit() is already called.
Parameters
Parameters |
Description |
remoteHost |
pointer to remote Host IP address |
community |
Community string to use to notify |
communityLen |
Community string length |
agentIDVar |
System ID to use identify this agent |
notificaitonCode |
Notification Code to use |
timestamp |
Notification timestamp in 100th of second. |
Returns
None
Remarks
This is first of series of functions to complete SNMP notification.