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

◆ EC_API_SLV_getVersionId()

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

Get Version Id (Shasum)

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