Jump to main content

# 1.1.2.4.39 MAC_RT_TX_CFM_OBJ Struct

## C

    typedef struct {
        /* MAC RT Status */
        MAC_RT_STATUS status;
        /* Flag to indicate Timestamp should be updated */
        bool updateTimestamp;
    } MAC_RT_TX_CFM_OBJ;

## Summary

Contains a transmission result and timestamp.

## Description

This structure contains the information of a transmission, its result and timestamp. Possible results are:

- MAC_RT_STATUS_SUCCESS
  - If the transmission succeeded
    - Frame is transmitted if no ACK is requested
    - Frame is transmitted and ACK received back, if ACK was requested
- MAC_RT_STATUS_CHANNEL_ACCESS_FAILURE
  - If CSMA algorithm finds channel busy for the number of configured backoff retries
- MAC_RT_STATUS_NO_ACK
  - If transmitted MAC frame required an ACK back, and after configured MAC retries, the ACK was not received
- MAC_RT_STATUS_DENIED
  - If MAC RT is not ready to transmit
  - If a transmission is already requested and not yet finished
  - If a reset occurs on MAC RT during transmission
- MAC_RT_STATUS_INVALID_PARAMETER
  - If any of the parameters in the transmission request contains invalid data
- MAC_RT_STATUS_TRANSACTION_OVERFLOW
  - If SPI communication with PLC transceiver fails

## Remarks

None.

Rev: G