1.5.4.14 AL_EVENT_IND_CALLBACK Typedef

C

typedef void ( *AL_EVENT_IND_CALLBACK )( AL_EVENT_IND_PARAMS *eventParams );

Summary

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

Description

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

eventParams

Pointer to the object containing any data necessary to process the Event Indication primitive. See AL_EVENT_IND_PARAMS Struct

Returns

None.

Example

    void APP_MyEventIndEventHandler( DLL_EVENT_IND_PARAMS *eventParams )
    {
        if (eventParams->eventId == AL_EVENT_ID_MAC_ACA){
            /* Timeout coming from a remote node */
        }
    }

Remarks

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