TwclWiFiSnifferFrameReceived Delegate
The OnFrameReceived
event handler prototype.
type TwclWiFiSnifferFrameReceived = procedure(Sender: TObject; const Meta: TwclWiFiSnifferFrameMetaData; const Buffer: Pointer; const Size: Cardinal) of object;
Parameters
- Sender
The object initiates the event.
- Meta
The frame's meta data.
- Buffer
The pointer to the received frame data buffer. The pointer is valid only inside the event handler.
- Size
The received frame size.
Please note, that the buffer pointed by the Buffer
parameter is valid only inside the event handler. If an application
needs to use the data outside the event handler it must copy data from
the buffer pointed by the Buffer
parameter into the internal
application's buffer.