Meters And More DRV_PLC_PHY_TRANSMISSION_OBJ Struct

C

typedef struct __attribute__((packed, aligned(1))) {
      /* Pointer to data buffer to transmit */
      uint8_t *pTransmitData;
      /* Instant when transmission has to start referred to 1us PHY counter */
      uint32_t time;
      /* Length of the data to transmit in bytes */
      uint16_t dataLength;
      /* Transmission Mode (absolute, relative, forced, continuous, cancel). Constants above */
      uint8_t mode;
      /* Power to transmit */
      uint8_t attenuation;
      /* NB frame */
      uint8_t nbFrame;
} DRV_PLC_PHY_TRANSMISSION_OBJ;

Summary

Meters And More transmission parameters data.

Description

This data type contains the information of a transmission, including parameters of transmission and data to be sent.

Remarks

nbFrame is a particular parameter used to infere the Mains phase difference between 2 nodes in the PLC Network. If no MAC layer is used, this parameter has to be set to '0'. Otherwise, MAC layer handles this parameter according to Meters And More Specifications.