1.3.5.1.13 MAC_RF_HANDLERS Struct
C
typedef struct { /* Callbacks */ MAC_DataConfirm macRfDataConfirm; MAC_DataIndication macRfDataIndication; MAC_ResetConfirm macRfResetConfirm; MAC_BeaconNotifyIndication macRfBeaconNotifyIndication; MAC_ScanConfirm macRfScanConfirm; MAC_StartConfirm macRfStartConfirm; MAC_CommStatusIndication macRfCommStatusIndication; MAC_SnifferIndication macRfMacSnifferIndication; } MAC_RF_HANDLERS;
Summary
Set of Event Handler function pointers to receive events from MAC RF.
Description
Defines the set of callback functions that MAC RF uses to generate events to upper layer.
Field description:
macRfDataConfirm. Pointer to function to be called when a Data Transmission is finished on MAC RF.
macRfDataIndication. Pointer to function to be called when a Data frame is received by MAC RF.
macRfResetConfirm. Pointer to function to be called when a Reset is finished on MAC RF.
macRfBeaconNotifyIndication. Pointer to function to be called when a Beacon frame is received by MAC RF.
macRfScanConfirm. Pointer to function to be called when a Scan process is finished on MAC RF.
macRfStartConfirm. Pointer to function to be called when a Start process is finished on MAC RF.
macRfCommStatusIndication. Pointer to function to be called when a Comm Status event occurs on MAC RF.
macRfMacSnifferIndication. Pointer to function to be called when any frame is received MAC RF. Only invoked if MAC Sniffer is enabled by corresponding PIB.
Remarks
In case an event is to be ignored, setting its corresponding callback function to NULL will lead to the event not being generated.