1.2.1.19.53 TCPIP_SNMP_WriteCommunityGet Function

C

bool TCPIP_SNMP_WriteCommunityGet(
    int index, 
    int len, 
    uint8_t * dest
);

Description

This function is used to collect WRITE community string from the global 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.
destCopy the community string to this address and it should have a valid address.

Returns

  • True - If the community string is collected.

  • False - If the community string is not collected.

Remarks

None.