1.2.5.56 ADP_NETWORK_STATUS_IND_CALLBACK Typedef

C

typedef void (*ADP_NETWORK_STATUS_IND_CALLBACK)(ADP_NETWORK_STATUS_IND_PARAMS* pNetworkStatusInd);

Summary

Pointer to a Network Status Indication Event handler function.

Description

This data type defines the required function signature for the ADP Network Status Indication event handling callback function. The ADP Network Status Indication primitive is generated by the ADP layer to notify the application about an unexpected Network Event. 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 Network Status Indication events back from module.

Parameters

ParamDescription
pNetworkStatusIndPointer to structure containing information about the Network Event. See ADP_NETWORK_STATUS_IND_PARAMS

Returns

None.

Example

App_NetworkStatusIndication(ADP_NETWORK_STATUS_IND_PARAMS *params)
{
    // Handle Network Status Indication
}

Remarks

None.