1.2.1.19.34 TCPIP_SNMP_ReadCommunitySet Function

C

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

Description

This function is used to configure READ community string from the user and configure the SNMP community table.

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.