ot::Mac::SubMac::Callbacks::RecordFrameTransmitStatus() method
Notifies user of `SubMac` of the status of a frame transmission attempt. This is intended for updating counters, logging, and/or collecting statistics.
Arguments
aFrame
The transmitted frame.
aError
kErrorNone when the frame was transmitted successfully, kErrorNoAck when the frame was transmitted but no ACK was received, kErrorChannelAccessFailure tx failed due to activity on the channel, kErrorAbort when transmission was aborted for other reasons.
aRetryCount
Current retry count. This is valid only when sub-mac handles frame re-transmissions.
aWillRetx
Indicates whether frame will be retransmitted or not. This is applicable only when there was an error in current transmission attempt.
Notes
Unlike `TransmitDone` which is invoked after all re-transmission attempts to indicate the final status of a frame transmission, this method is invoked on all frame transmission attempts.
![]()
void SubMac::Callbacks::RecordFrameTransmitStatus(const TxFrame &aFrame,
ot::Mac::SubMac::Callbacks::RecordFrameTransmitStatus() is called by 1 function:
![]()
ot::Mac::SubMac::Callbacks::RecordFrameTransmitStatus()
ot::Mac::SubMac::Callbacks::RecordFrameTransmitStatus():
![]()
ot::Mac::SubMac::Callbacks::RecordFrameTransmitStatus()