1.3.2.3.24 MAC_WRP_StartConfirm Typedef

C

typedef void (*MAC_WRP_StartConfirm)(MAC_WRP_START_CONFIRM_PARAMS *scParams);

Summary

Pointer to a Start Confirm Event handler function.

Description

This data type defines the required function signature for the MAC Wrapper Start 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 Start Confirm events back from module.

Returns

None.

Example

App_StartConfirm(MAC_WRP_START_CONFIRM_PARAMS *params)
{
    // Check result
    if (params->status != MAC_WRP_STATUS_SUCCESS)
    {
        // Handle Start error
    }
    else
    {
        // Start performed correctly. PAN Coordinator ready.
    }
}

Remarks

None.