uint32_t EI_API_ADP_setQoS | ( | T * | pAdp_p, |
const EI_API_ADP_SQos_t * | pQoS_p | ||
) |
Set the current QoS settings (Instance Attribute IDs: 4 - 8).
Function to set the Quality of Service (QoS) settings. The KUNBUS EtherNet/IP stack supports instance attributes 4 - 8, and uses DSCP Scheduled (instance attribute 5) and DSCP Explicit (instance attribute 8) only.
[in] | pAdp_p | Pointer to the adapter. |
[in] | pQoS_p | Pointer to structure with the new QoS settings. |
EI_API_ADP_eERR_OK | Success. |
EI_API_ADP_eERR_GENERAL | General error. |
EI_API_ADP_eERR_QOS_802_1Q_NOT_SUPPORTED | Instance attribute 1 802.1Q Tag Enable unequal 0. 802.1Q tagging not supported. |
EI_API_ADP_eERR_QOS_PTP_EVENT_VALUE_OUT_OF_RANGE | DSCP value for PTP (IEEE 1588) event messages out of range (0 - 63). |
EI_API_ADP_eERR_QOS_PTP_GENERAL_VALUE_OUT_OF_RANGE | DSCP value for PTP (IEEE 1588) general messages out of range (0 - 63). |
EI_API_ADP_eERR_QOS_URGENT_VALUE_OUT_OF_RANGE | DSCP value for CIP transport class 0/1 Urgent priority messages out of range (0 - 63). |
EI_API_ADP_eERR_QOS_SCHEDULED_VALUE_OUT_OF_RANGE | DSCP value for CIP transport class 0/1 Scheduled priority messages out of range (0 - 63). |
EI_API_ADP_eERR_QOS_HIGH_VALUE_OUT_OF_RANGE | DSCP value for CIP transport class 0/1 High priority messages out of range (0 - 63). |
EI_API_ADP_eERR_QOS_LOW_VALUE_OUT_OF_RANGE | DSCP value for CIP transport class 0/1 low priority messages out of range (0 - 63). |
EI_API_ADP_eERR_QOS_EXPLICIT_VALUE_OUT_OF_RANGE | DSCP value for CIP explicit messages (transport class 2/3 and UCMM) and all other EtherNet/IP encapsulation messages out of range (0 - 63). |