1.2.4.19 DLL_EVENT_IND_CALLBACK Typedef

C

typedef void ( *DLL_EVENT_IND_CALLBACK )( DLL_EVENT_IND_PARAMS *indParams );

Summary

Pointer to a Meters And More DLL module Event Indication Function Pointer.

Description

This data type defines the required function signature for the Meters And More DLL module Event 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 Event Indication primitive. See DLL_EVENT_IND_PARAMS Struct

Returns

None.

Example

    void APP_MyEventIndEventHandler( DLL_EVENT_IND_PARAMS *indParams )
    {
        if (indParams->eventId == MAC_EVENT_ID_ACA){
            /* Process Event */
        }
    }

Remarks

This Callback is only generated in Master Node. There is no need to handle it on Slave Nodes.