CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
typedef void(* CLT_STATUSCHANGECB)(CPBOOLEAN fTransportIsAvailable, void *pCBParam)

Transport Status Change Handler.

Part of the Transport to Transport Protocol Interface. This callback function pointer is provided by the Transport Protocol when it calls CLT_Interface::pfnSetCallbacks (parameter pfnStatusChange). See CHAILink Client Transport for more details.
The transport should call this function when its connection status changes. If Transport does not support Link detection (like USB devices), it just have to call this callback with fTransportIsAvailableequal TRUE during the CLT_Interface::pfnSetCallbacks call. Otherwise the Transport can call this method anytime.

Parameters
[in]fTransportIsAvailableTRUE if transport is available.
[in]pCBParamA generic parameter from the Transport Protocol passed during the CLT_Interface::pfnSetCallbacks call (parameter pCBParam)