1.3.4.1.10 MAC_PLC_MIB Struct
C
typedef struct
{
MAC_DEVICE_TABLE_ENTRY *deviceTable;
uint32_t txDataPacketCount;
uint32_t rxDataPacketCount;
uint32_t txCmdPacketCount;
uint32_t rxCmdPacketCount;
uint32_t csmaFailCount;
uint32_t rxDataBroadcastCount;
uint32_t txDataBroadcastCount;
uint32_t frameCounter;
uint32_t rxInvalidFrameLengthCount;
uint32_t rxWrongAddrModeCount;
uint32_t rxUnsupportedSecurityCount;
uint32_t rxWrongKeyIdCount;
uint32_t rxInvalidKeyCount;
uint32_t rxWrongFCCount;
uint32_t rxDecryptionErrorCount;
uint16_t deviceTableSize;
MAC_SHORT_ADDRESS coordShortAddress;
MAC_PLC_MODULATION_SCHEME lastRxModScheme;
MAC_PLC_MODULATION_TYPE lastRxModType;
bool bcnFrameReceived;
bool plcDisable;
bool plcAvailable;
bool freqNotching;
} MAC_PLC_MIB;
Summary
Defines the MAC PLC Information Base.
Description
This structure holds the MAC PLC IB, it contains one field per each defined PIB.
Field description:
- *deviceTable: Pointer to MAC PLC Device Table
- txDataPacketCount: Statistical counter for number of transmitted data packets
- rxDataPacketCount: Statistical counter for number of received data packets
- txCmdPacketCount: Statistical counter for number of transmitted command packets
- rxCmdPacketCount: Statistical counter for number of received command packets
- csmaFailCount: Statistical counter for number of Medium Access failures
- rxDataBroadcastCount: Statistical counter for number of received broadcast packets
- txDataBroadcastCount: Statistical counter for number of transmitted broadcast packets
- frameCounter: Device transmission Frame Counter
- rxInvalidFrameLengthCount: Statistical counter for number of frames dropped due to Invalid Length
- rxWrongAddrModeCount: Statistical counter for number of frames dropped due to wrong Addressing mode
- rxUnsupportedSecurityCount: Statistical counter for number of frames dropped due to Security mismatching
- rxWrongKeyIdCount: Statistical counter for number of frames dropped due to wrong Key ID
- rxInvalidKeyCount: Statistical counter for number of frames dropped due to Invalid Key
- rxWrongFCCount: Statistical counter for number of frames dropped due to unexpected Frame Counter
- rxDecryptionErrorCount: Statistical counter for number of frames dropped due to Decryption error
- deviceTableSize: Maximum number of entries in MAC PLC Device Table
- coordShortAddress: Short Address of PAN Coordinator of the Network
- lastRxModScheme: Last received modulation scheme
- lastRxModType: Last received modulation type
- bcnFrameReceived: Flag indicating whether Beacon frames have been received since last read of this PIB
- plcDisable: Flag indicating whether PLC communication is disabled
- plcAvailable: Flag indicating whether PLC interface is available
- freqNotching: Active Frequency Notching as a bitmap of frequencies in working band
Remarks
None.
