1.2.4.17 DLL_DataConfirmCallbackRegister Function
C
DLL_RESULT DLL_DataConfirmCallbackRegister (
DLL_DATA_CONFIRM_CALLBACK callback
);
Summary
Allows a client to set a Meters And More DLL DL_Data.confirm event handling function for the module to call back when the requested transmission has finished.
Description
This function allows a client to register a Meters And More DLL DL_Data.confirm event handling function for the module to call back when a Meters And More DLL data confirm event occurs.
Parameters
| Param | Description |
|---|---|
|
callback |
Pointer to the callback function. See DLL_DATA_CONFIRM_CALLBACK Typedef |
Returns
None.
Example
void APP_Tx_Cfm_callback(DLL_DATA_CONFIRM_PARAMS *cfmParams)
{
if (cfmParams->result == DLL_SUCCESS)
{
/* Tx Success */
}
else
{
/* Tx Fail */
}
}
DLL_DataConfirmCallbackRegister(APP_Tx_Cfm_callback);
Remarks
Callback can be set to a NULL pointer to stop receiving notifications.
