TCPIP_SNMP_WriteCommunitySet Function

C

bool TCPIP_SNMP_WriteCommunitySet(
    int index, 
    int len, 
    uint8_t * src
);

Description

This function is used to collect WRITE community string from user and set the community table with respect to the index value.

Preconditions

TCPIP_SNMP_Initialize() is already called.

Parameters

ParametersDescription
indexOne of the index of community table and it should be less than TCPIP_SNMP_MAX_COMMUNITY_SUPPORT.
lenLength of the community string expected. It should not be more than TCPIP_SNMP_COMMUNITY_MAX_LEN.
srcCopy this community string to SNMP community table.

Returns

  • True - If the community string is collected.

  • False - If the community string is not collected.

Remarks

None.