1.2.5.52 ADP_ROUTE_DISCOVERY_CFM_CALLBACK Typedef

C

typedef void (*ADP_ROUTE_DISCOVERY_CFM_CALLBACK)(uint8_t status);

Summary

Pointer to a Route Discovery Confirm Event handler function.

Description

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

Parameters

ParamDescription
statusThe result of the Route Discovery. G3_SUCCESS if Route is found, Error Code otherwise.

Returns

None.

Example

App_DiscoveryConfirm(uint8_t status)
{
    // Check result
    if (status == G3_SUCCESS)
    {

    }
}

Remarks

None.