EtherNet/IP™ Adapter3.09.00
 
Loading...
Searching...
No Matches

◆ EI_API_ADP_setAcdDelay()

uint32_t EI_API_ADP_setAcdDelay ( T *  pAdp_p,
uint16_t  acdDelayMs 
)

Set the ACD delay in ms.

This function sets the delay for the ACD state machine to send the first ARP probe frame. The default value for the delay is 200 ms. This can lead to an error in some ACD test programs, which can be avoid when the delay is enhanced (e.g. to 500 ms). Call this function after EI_API_ADP_init().

Parameters
[in]pAdp_pPointer to the adapter.
[in]acdDelayMsThe delay in milliseconds.
Returns
EI_API_ADP_EError_t as uint32_t value.
Return values
EI_API_ADP_eERR_OKSuccess.
Example
#include "EI_API.h"
EI_API_ADP_init(adapter_s, initParams);
EI_API_ADP_setAcdDelay(adapter_s, 500);
ETHIP_API uint32_t EI_API_ADP_init(T *pAdp_p, EI_API_ADP_SInit_t params_p)
Apply parameters.
Definition EI_API_ADP_stub.c:375
ETHIP_API uint32_t EI_API_ADP_setAcdDelay(T *pAdp_p, uint16_t acdDelayMs)
Set the ACD delay in ms.
Definition EI_API_ADP_stub.c:3721