Bluetooth Framework
CwclCustomDataProcessor::ProcessData Method

The method called by the Connection when data has been received from a remote device.

virtual void ProcessData(void* Data, unsigned long Size) = 0;
void* Data 
The pointer to the received data buffer. The data buffer is valid only inside the event handler. If an application needs to use the data outside the method it must allocate own buffer and copy data.  
unsigned long Size 
The data buffer size.  

A derived classes must override this method to process the received data.  

The Data parameter is valid only inside the procedure. If a derived class needs to use data outside the method it must copy the data into internal buffer.  


Copyright (c) 2006-2019. All rights reserved.