CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
typedef void(* APP_ERRORCB)(CLC_ErrorCode const errorCode, void *const pParam)

CHAILink to Application error reporting callback.

Defined in CLC_Callbacks::Application structure.

Parameters
[in]errorCodeSee CLC_ErrorCode enumeration for details and CLTP_ErrorCode for CLM_TransportProtocol errors.
[in]pParamCorresponds to the pErrorCBParam in CLC_Callbacks given during Initialization. See CLC_Init
Remarks
CHAILink Transport Protocol errors are built as follow : (CLTP_ErrorCode_xxx | CLM_TransportProtocol). Use CLC_ErrorCode_ModuleMask and CLC_ErrorCode_IndexMask to mask and check error codes.