CHAILink SDK
Version 1.3
|
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.
[in] | pbBuffer | A pointer to a memory buffer containing received data. |
[in] | wBufferSize | The size in bytes of the memory buffer pointed to by pbBuffer. |
[in] | pCBParam | A generic parameter from the Transport Protocol passed during the CLT_Interface::pfnSetCallbacks call (parameter pCBParam) |