WiFi Framework
ContentsIndexHome
PreviousUpNext
wclWiFi::wclWiFiSnifferRawFrameReceived Macro

The OnRawFrameReceived event handler prototype.

Syntax
C++
#define wclWiFiSnifferRawFrameReceived(_event_name_) \
    __event void _event_name_(void* Sender, void* Buffer, unsigned long Size)
Parameters 
Description 
Sender 
The object initiates the event.  
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 paramter into the internal application's buffer.

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