Jump to main content

##

# TCPIP_SNMPv3_Notify Function

## C

    bool TCPIP_SNMPv3_Notify(
        SNMP_ID var,
        SNMP_VAL val,
        SNMP_INDEX index,
        uint8_t targetIndex,
        SNMP_TRAP_IP_ADDRESS_TYPE eTrapMultiAddressType
    );

## Description

This function creates SNMPv3 trap PDU and sends it to previously specified remoteHost.

## Preconditions

TRAP event is triggered.

## Parameters

Parameters | Description
--- | ---
var | SNMP var ID that is to be used in notification.
val | Value of var. Only value of uint8_t, uint16_t or uint32_t can be sent.
index | Index of var. If this var is a single,index would be 0, or else if this var Is a sequence, index could be any value from 0 to 127 targetIndex -index of the 'Snmpv3TrapConfigData' table's security user name for which the TRAP PDU message header to constructed.

## Returns

None.

## Remarks

None.