1.2.5.44 ADP_MAC_SET_CFM_CALLBACK Typedef

C

typedef void (*ADP_MAC_SET_CFM_CALLBACK)(ADP_SET_CFM_PARAMS* pSetCfm);

Summary

Pointer to an ADP MAC Set Confirm Event handler function. This is the confirmation of a MAC parameter Set through ADP API.

Description

This data type defines the required function signature for the ADP MAC Set Confirm event handling callback function. The ADP MAC Set Confirm primitive allows the upper layer to be notified of the completion of an ADP MAC Set Request. 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 ADP MAC Set Confirm events back from module.

The ADP MAC Set Confirm is generated after ADP_MacSetRequest function call to indicate the result.

Parameters

ParamDescription
pSetCfmPointer to structure containing the Set result. See ADP_SET_CFM_PARAMS

Returns

None.

Example

App_MacSetConfirm(ADP_SET_CFM_PARAMS *params)
{
    // Check result
    if (params->status == G3_SUCCESS)
    {
        // Successful Set
    }
}

Remarks

None.