CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
typedef void(* CLT_RECEIVE)(CPBYTE *pbBuffer, CPUINT16 wBufferSize, void *pCBParam)

Data Reception 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 pfnReceive). See CHAILink Client Transport for more details.
The transport calls this function when it has received data. Transport can reuse/free memory pointed to by pbBuffer when function returns.

Parameters
[in]pbBufferA pointer to a memory buffer containing received data.
[in]wBufferSizeThe size in bytes of the memory buffer pointed to by pbBuffer.
[in]pCBParamA generic parameter from the Transport Protocol passed during the CLT_Interface::pfnSetCallbacks call (parameter pCBParam)