1.3.3.1.11 MAC_ResetConfirm Typedef

C

typedef void (*MAC_ResetConfirm)(MAC_RESET_CONFIRM_PARAMS *rcParams);

Summary

Pointer to a Reset Confirm Event handler function.

Description

This data type defines the required function signature for the MAC Reset Confirm event handling callback function. A client must register a pointer using the event handling function whose function signature (parameter and return value types) matches the types specified by this function pointer in order to receive Reset Confirm events back from module.

Parameters

ParamDescription
rcParamsPointer to structure containing parameters related to Confirm. See MAC_RESET_CONFIRM_PARAMS

Returns

None.

Example

App_ResetConfirm(MAC_RESET_CONFIRM_PARAMS *params)
{
    // Check result
    if (params->status != MAC_STATUS_SUCCESS)
    {
        // Handle Reset error
    }
    else
    {
        // Reset performed correctly
        // Reinitialize MAC module
    }
}

Remarks

None.