EtherCAT Slave
 
Loading...
Searching...
No Matches

◆ EC_API_SLV_getVersionStr()

uint32_t EC_API_SLV_getVersionStr ( EC_API_SLV_SHandle_t pHandle,
uint32_t  bufLen,
char *  pBuffer,
uint32_t *  pUsedLen 
)

Get version string.

Parameters
[in]bufLenSize of provided buffer.
[out]pBufferString buffer with version
[out]pUsedLenAmount of buffer used
Returns
uint32_t errorcode
Example
#include <ecSlvApi.h>
// required variables
uint32_t retVal = 0;
uint32_t used = 0;
char Version[50] = {0};
// the Call
retVal = EC_API_SLV_getVersionStr(sizeof(Version), Version, &used);
uint32_t EC_API_SLV_getVersionStr(EC_API_SLV_SHandle_t *pHandle, uint32_t bufLen, char *pBuffer, uint32_t *pUsedLen)
Get version string.
Definition ecSlvApi.c:449
See also
EC_API_SLV_getVersion EC_API_SLV_getVersionId