1.2.4.13 DLL_DATA_CONFIRM_CALLBACK Typedef

C

typedef void ( *DLL_DATA_CONFIRM_CALLBACK )( DLL_DATA_CONFIRM_PARAMS *cfmParams );

Summary

Pointer to a Meters And More DLL module Data Confirmn Function Pointer.

Description

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

cfmParams

Pointer to the object containing data related to the result of last transmission. See DLL_DATA_CONFIRM_PARAMS Struct

Returns

None.

Example

    void APP_MyDataCfmEventHandler( DLL_DATA_CONFIRM_PARAMS *cfmParams )
    {
        switch(cfmParams->txStatus)
        {
            case DLL_TX_STATUS_SUCCESS:
                /* Successful transmission */
                break;
            case DLL_TX_STATUS_ERROR:
                /* Transmission failed */
                break;
        }
    }

Remarks

None.