CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
typedef void(* APP_CONNECTIONSTATECHANGE)(CPBOOLEAN const fConnected, CPUINT16 const wReason, void *const pParam)

CHAILink to Application Connection Status Change callback.

Defined in CLC_Callbacks::Application structure.

Parameters
[in]fConnectedTRUE if connected, FALSE if disconnected
[in]wReasonif fConnected is TRUE, wReason is 0. if fConnected is FALSE, wData contains the disconnection reason see CLTP_ResetCode
[in]pParamCorresponds to the pConnectionStateChangedParam in CLC_Callbacks::Application given during Initialization. See CLC_Init