Bluetooth Framework C++ Edition

◆ OnRawPacketReceived()

__event void OnRawPacketReceived ( void *  Sender,
const wclBluetoothLePacketHeader Header,
const unsigned char *const  Payload,
const unsigned short  Size 
)

The event fires when a Bluetooth LE packet captured.

Parameters
SenderThe object initiates the event.
HeaderThe Bluetooth LE packet header.
PayloadThe pointer to the packet's payload raw bytes. The pointer is valid only inside an event handler. If an application needs to use the data outside the event handler it must copy the payload.
SizeThe payload size (length) in bytes.
See also
wclBluetoothLePacketHeader