EtherNet/IP™ Adapter  1.04.06
User Reference Manual

◆ EI_API_ADP_getConfigurationControl()

uint32_t EI_API_ADP_getConfigurationControl ( T pAdp_p,
EIP_SConfigurationControl_t pConfigurationControl_p 
)

Get the current configuration control setting (Instance Attribute ID: 3).

This function gets the configuration control setting of the TCP/IP object attribute 3.

Parameters
[in]pAdp_pPointer to the adapter.
[out]pConfigurationControl_pPointer to the configuration control struct.
Returns
EI_API_ADP_EError_t as uint32_t value.
Return values
EI_API_ADP_eERR_OKSuccess.
EI_API_ADP_eERR_GENERALGeneral error.
#include <api/EI_API.h>
EI_API_ADP_T* pEI_API_ADP = NULL;
uint32_t errCode;
uint8_t numInterfaces = 1;
EIP_SConfigurationControl_t configurationControl;
pEI_API_ADP = EI_API_ADP_new(numInterfaces);
errCode = EI_API_ADP_getConfigurationControl(pEI_API_ADP, &configurationControl);
See also
EI_API_ADP_EError_t
EIP_SConfigurationControl_t
Definition: EI_API_ADP.h:214
EI_API_ADP_getConfigurationControl
ETHIP_API uint32_t EI_API_ADP_getConfigurationControl(T *pAdp_p, EIP_SConfigurationControl_t *pConfigurationControl_p)
Get the current configuration control setting (Instance Attribute ID: 3).
Definition: EI_API_ADP_main.c:3477
EI_API_ADP_new
ETHIP_API T * EI_API_ADP_new(uint8_t numInterfaces_p)
Create a new EtherNet/IP adapter.
Definition: EI_API_ADP_main.c:235