1.4.3.35 MMHI_MIB_Get Function

C

MMHI_RESULT MMHI_MIB_Get(MMHI_MIB_INDEX mibIndex, MMHI_MIB_DATA* pData);

Summary

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

Description

MMHI_MIB_Get primitive is used to get the value of an IB.

Result is provided upon function call return, in the pData parameter.

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 will be returned.

Returns

Result of get operation as a MMHI_RESULT Enum.

Example

    MMHI_RESULT result;
    MMHI_MIB_DATA value;
    result = MMHI_MIB_Get(MIB_MIB_ID_MAC_CONFIG, &value);
    if (result == MMHI_MIB_SUCCESS)
    {
        /* Read value */
    }

Remarks

None.