1.3.2.3.7 MAC_WRP_DATA_REQUEST_PARAMS Struct

C

typedef struct
{
    /* Pointer to the set of octets forming the MSDU to be transmitted */
    const uint8_t *msdu;
    /* The PAN identifier of the entity to which the MSDU is being transferred */
    MAC_WRP_PAN_ID destPanId;
    /* The number of octets contained in the MSDU to be transmitted */
    uint16_t msduLength;
    /* Source address mode 0, 16, 64 bits */
    MAC_WRP_ADDRESS_MODE srcAddressMode;
    /* The device address of the entity to which the MSDU is being transferred */
    MAC_WRP_ADDRESS destAddress;
    /* The handle associated with the MSDU to be transmitted */
    uint8_t msduHandle;
    /* Transmission options for this MSDU: 0 unacknowledged, 1 acknowledged */
    uint8_t txOptions;
    /* The index of the encryption key to be used */
    uint8_t keyIndex;
    /* The QOS of the MSDU: 0x00 normal priority, 0x01 high priority */
    MAC_WRP_QUALITY_OF_SERVICE qualityOfService;
    /* The security level to be used: 0x00 unecrypted, 0x05 encrypted */
    MAC_WRP_SECURITY_LEVEL securityLevel;
    /* The Media Type to use on Request (only used if both PLC and RF MACs are present) */
    MAC_WRP_MEDIA_TYPE_REQUEST mediaType;
} MAC_WRP_DATA_REQUEST_PARAMS;

Summary

Defines the Parameters for the MAC Data Request primitive.

Description

The structure contains the fields used by the MAC Data Request primitive.

Field description:

  • msdu. Pointer to the set of octets forming the MSDU to be transmitted.

  • destPanId. The PAN identifier of the entity to which the MSDU is being transferred.

  • msduLength. The number of octets contained in the MSDU to be transmitted.

  • srcAddressMode. Source address mode 0, 16, 64 bits.

  • destAddress. The device address of the entity to which the MSDU is being transferred.

  • msduHandle. The handle associated with the MSDU to be transmitted.

  • txOptions. Transmission options for this MSDU: 0 unacknowledged, 1 acknowledged.

  • keyIndex. The index of the encryption key to be used.

  • qualityOfService. The QOS of the MSDU: 0x00 normal priority, 0x01 high priority.

  • securityLevel. The security level to be used: 0x00 unecrypted, 0x05 encrypted.

  • mediaType. The Media Type to use on Request (only used if both PLC and RF MACs are present).

Remarks

mediaType field is only used if both MAC layers are used, otherwise is ignored and directed to available MAC.