| T * EI_API_ADP_new | ( | uint8_t | numInterfaces_p | ) |
Create a new EtherNet/IP adapter.
All adapter related API functions require an ADP object as input parameter. The ADP object (or a pointer to it) is created by this function.
EI_API_ADP_new() shall be called only once. If called multiple times, always the pointer to the initially created adapter is returned.| [in] | numInterfaces_p | Number of network interfaces of the EthetNet/IP adapter. One interface has 2 Ethernet ports as one ring pair. Value range: 1. |
EI_API_ADP_T* to the newly created adapter. In case of an error NULL is returned.