The method called by the Connection when data has been received from a remote device.
- Parameters
-
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. |
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.
Implemented in CwclCustomObexClient, and CwclCustomObexServer.