Meters And More DRV_PLC_PHY_RECEPTION_OBJ Struct

C

typedef struct __attribute__((packed, aligned(1))) {
       /* Pointer to received data buffer */
      uint8_t *pReceivedData;
      /* Instant when frame was received (end of message) referred to 1us PHY counter */
      uint32_t timeEnd;
      /* Frame duration referred to 1us PHY counter (Preamble + FCH + Payload) */
      uint32_t frameDuration;
      /* Length of the received data in bytes */
      uint16_t dataLength;
      /* SNR of the header in quarters of dB (sQ13.2) */
      int16_t snrHeader;
      /* SNR of the payload in quarters of dB (sQ13.2) */
      int16_t snrPayload;
      /* NB frame (ZC info). Difference between last ZC time and payload initial time, scaled to 0-254. Value = 255: ZC not available */
      uint8_t nbRx;
      /* Link Quality Indicator */
      uint8_t lqi;
      /* Reception RSSI in dBuV */
      uint8_t rssi;
      /* MAC CRC. 1: OK; 0: BAD; 0xFE: Timeout Error; 0xFF: CRC capability disabled (PLC_ID_CRC_TX_RX_CAPABILITY) */
      uint8_t crcOk;
} DRV_PLC_PHY_RECEPTION_OBJ;

Summary

Contains information related to a received message.

Description

This structure contains necessary information of a received frame, such as quality, duration, ... and the frame itself.

Remarks

None.