EtherCAT-IOLink Gateway

◆ GW_EC_API_setSWVersion()

GW_API_EErrorcode_t GW_EC_API_setSWVersion ( const char *const  pSwVersion_p)

Set EtherCAT Slave SW version string.

Parameters
[in]pSwVersion_pSW 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* swVersionStr = "V1.2.3.4";
retVal = GW_API_setEcatHWVersion(swVersionStr);