1.3.3.1.20 MAC_COMM_STATUS_INDICATION_PARAMS Struct

C

typedef struct
{
    /* The PAN identifier from which the frame/event was received */
    MAC_PAN_ID panId;
    /* The address of the device which sent the frame */
    MAC_ADDRESS srcAddress;
    /* The address of the device intended to receive the frame */
    MAC_ADDRESS destAddress;
    /* Type of event detected */
    MAC_STATUS status;
    /* Security level of the received frame: 0x00 unecrypted, 0x05 encrypted */
    MAC_SECURITY_LEVEL securityLevel;
    /* The index of the key used for decryption */
    uint8_t keyIndex;
} MAC_COMM_STATUS_INDICATION_PARAMS;

Summary

Defines the Parameters for the MAC Comm Status Indication event handler function.

Description

The structure contains the fields reported by the MAC Comm Status Indication event handler function. This function reports network events such as other PAN detection or security errors, as defined in IEEE 802.15.4 standard.

Field description:

  • panId. The PAN identifier from which the frame/event was received.

  • srcAddress. The address of the device which sent the frame.

  • destAddress. The address of the device intended to receive the frame.

  • status. Type of event detected.

  • securityLevel. Security level of the received frame: 0x00 unecrypted, 0x05 encrypted.

  • keyIndex. The index of the key used for decryption.

Remarks

None.