1.4.3.37 MMHI_MIB_WRITE_IND_CALLBACK Typedef

C

typedef void ( *MMHI_MIB_WRITE_IND_CALLBACK )( MMHI_MIB_INDEX mibIndex, MMHI_MIB_DATA* pData );

Summary

Pointer to a Meters And More HI module MIB Write Indication Function.

This callback is called when a MIB is written and such MIB implements the Indication capability.

Description

This data type defines the required function signature for the Meters And More HI MIB Write Indication function. A client must register a pointer using the callback register function whose function signature (parameter and return value types) match the types specified by this function pointer in order to receive related event callbacks from the module.

Parameters

Param Description
mibIndex

Index of written MIB

pData Pointer to MIB data

Returns

None.

Example

    void APP_MyWriteIndicationHandler(MMHI_MIB_INDEX mibIndex, MMHI_MIB_DATA* pData)
    {
        if (pData->dataLength > 0)
        {

        }
    }

Remarks

None.