1.1.2.4.33 DRV_G3_MACRT_MAC_SNIFFER_IND_CALLBACK Typedef
C
typedef void ( *DRV_G3_MACRT_MAC_SNIFFER_IND_CALLBACK )( uint8_t *pData, uint16_t length );
Summary
Pointer to a G3 MAC RT Sniffer Reception Event handler function.
Description
This data type defines the required function signature for the G3 MAC RT driver sniffer event handling callback function. A client must register a pointer using the callback register function whose function signature (parameter and return value types) match the types specified by this function pointer in order to receive transfer related event calls back from the driver.
Parameters
Param | Description |
---|---|
pData | Pointer to the data content |
length | Length of the received data |
Returns
None.
Example
void APP_MyMacRtMacSnifferHandler( uint8_t *pData, uint16_t length ) { if (length > 0U) { memcpy(appData->dataMacRtMacSnifferBuffer, pData, length); } }
Remarks
None.