1.4.3.36 MMHI_MIB_Set Function

C

MMHI_RESULT MMHI_MIB_Set(MMHI_MIB_INDEX mibIndex, MMHI_MIB_DATA* pData, bool indEnable);

Summary

The MMHI_MIB_Set primitive writes the value of an attribute in the Host Interface Parameter Information Base (IB).

Description

MMHI_MIB_Set primitive is used to set the value of an IB.

Parameters

Param Description

mibIndex

Identifier of the Attribute to retrieve value. See MMHI_MIB_INDEX Enum

pData

Pointer to MMHI_MIB_DATA object where value to set is contained

indEnable Flag to indicate whether the write operation allows callback invoking

Returns

Result of set operation as a MMHI_RESULT Enum.

Example

    MMHI_RESULT result;
    MMHI_MIB_DATA value;
    result = MMHI_MIB_Set(MIB_MIB_ID_MAC_CONFIG, &value, false);
    if (result == MMHI_MIB_SUCCESS)
    {
        /* Value correctly set */
    }

Remarks

None.