1.3.4.1.20 MAC_PLC_FRAME Struct

C

typedef struct
{
    uint8_t *payload;
    uint16_t payloadLength;
    uint16_t fcs;
    MAC_PLC_HEADER header;
    uint8_t padLength;
} MAC_PLC_FRAME;

Summary

Defines the fields of a MAC PLC Frame.

Description

This structure contains the fields which define a MAC PLC Frame.

Field description:

  • payload. Pointer to buffer containing Payload.

  • payloadLength. Number of bytes of the frame Payload.

  • fcs. FCS (CRC16) for frame verification.

  • header. MAC Header as defined in IEEE 802.15.4 2006.

  • padLength. Length of needed padding to complete the frame.

Remarks

None.