EtherCAT-IOLink Gateway

◆ GW_EC_API_setHWVersion()

GW_API_EErrorcode_t GW_EC_API_setHWVersion ( const char *const  pHwVersion_p)

Set EtherCAT Slave HW version string.

Parameters
[in]pHwVersion_pHW version string of the EtherCAT Salve
Returns
GW_API_EErrorcode_t errorcode
Example
#include <gw_api_interface.h>
GW_API_EErrorcode_t retVal = GW_API_eSUCCESS;
char* hwVersionStr = "R5_V2.7";
retVal = GW_API_setEcatHWVersion(hwVersionStr);