1.5.4.10 AL_DATA_IND_CALLBACK Typedef

C

typedef void ( *AL_DATA_IND_CALLBACK )( AL_DATA_IND_PARAMS *indParams );

Summary

Pointer to a Meters And More AL module Data.Indication Function Pointer.

Description

This data type defines the required function signature for the Meters And More AL module Data.indication callback 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

indParams

Pointer to the object containing any data necessary to process the Data.indication primitive. See AL_DATA_IND_PARAMS Struct

Returns

None.

Example

    void APP_MyDataIndEventHandler( AL_DATA_IND_PARAMS *indParams )
    {
        if(indParams->apduLen > 0)
        {
            /* Process Data */
        }
    }

Remarks

None.