EtherCAT Slave
1.04.03
◆
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_p
Size of provided buffer.
[out]
pBuffer_p
String buffer with id
[out]
pUsedLen_p
Amount 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
Examples
ecSlvESI.c
.
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
Basic Functions
generated by
1.8.18