TCPIP_SNMP_NotifyPrepare Function
C
void TCPIP_SNMP_NotifyPrepare(
IP_MULTI_ADDRESS* remoteHost,
char* community,
uint8_t communityLen,
SNMP_ID agentIDVar,
uint8_t notificationCode,
uint32_t 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
TCPIP_SNMP_Initialize() 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. |
notification Code | 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.