|
EtherNet/IP™ Adapter
1.04.10
User Reference Manual
|
|
◆ EI_API_ADP_getQoS()
Get the current QoS settings (Instance Attribute IDs: 4 - 8).
Function that returns the Quality of Service (QoS) settings. The KUNBUS EtherNet/IP stack supports instance attributes 4 - 8.
- Parameters
-
[in] | pAdp_p | Pointer to the adapter. |
[out] | pAdpQoS_p | Pointer to a structure with the QoS settings. |
- Returns
- EI_API_ADP_EError_t as uint32_t value.
- Return values
-
- Example
#include <api/EI_API.h>
EI_API_ADP_T* pEI_API_ADP = NULL;
uint32_t errCode;
uint8_t numInterfaces = 1;
printf("EI_API_ADP_getQoS - Error Code: %08x\n \
- Q_Tag_Enable: %d\n \
- DSCP_Urgent: %d\n \
- DSCP_Scheduled: %d\n \
- DSCP_High: %d\n \
- DSCP_Low: %d\n \
- DSCP_Explicit: %d\n\n",
errCode,
- See also
- EI_API_ADP_setQoS EI_API_ADP_SQos_t EI_API_ADP_EError_t
uint8_t DSCP_High
Definition: EI_API_def.h:228
ETHIP_API uint32_t EI_API_ADP_getQoS(T *pAdp_p, EI_API_ADP_SQos_t *pQoS_p)
Get the current QoS settings (Instance Attribute IDs: 4 - 8).
Definition: EI_API_ADP_main.c:3285
uint8_t DSCP_Urgent
Definition: EI_API_def.h:226
uint8_t DSCP_Scheduled
Definition: EI_API_def.h:227
General QoS attribute parameter collection.
Definition: EI_API_def.h:222
uint8_t DSCP_Explicit
Definition: EI_API_def.h:230
uint8_t DSCP_Low
Definition: EI_API_def.h:229
uint8_t Q_Tag_Enable
Definition: EI_API_def.h:223
ETHIP_API T * EI_API_ADP_new(uint8_t numInterfaces_p)
Create a new EtherNet/IP adapter.
Definition: EI_API_ADP_main.c:301