EtherCAT Slave  1.06.01

◆ EC_API_SLV_getVersionId()

uint32_t EC_API_SLV_getVersionId ( uint32_t  bufLen_p,
char *  pBuffer_p,
uint32_t *  pUsedLen_p 
)

Get Version Id (Shasum)

Parameters
[in]bufLen_pSize of provided buffer.
[out]pBuffer_pString buffer with id
[out]pUsedLen_pAmount 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);
See also
EC_API_SLV_getVersion EC_API_SLV_getVersionStr
EC_API_SLV_getVersionId
uint32_t EC_API_SLV_getVersionId(uint32_t bufLen_p, char *pBuffer_p, uint32_t *pUsedLen_p)
Get Version Id (Shasum)
Definition: ecSlvApiStub.c:229