Alex exoskeleton
ALEX SoftwareDocumentation
|
#include "CO_master.h"
Go to the source code of this file.
Functions | |
int | sdoClientUpload (CO_SDOclient_t *SDOclient, uint8_t nodeID, uint16_t idx, uint8_t subidx, uint8_t *dataRx, uint32_t dataRxSize, uint32_t *dataRxLen, uint32_t *SDOabortCode, uint16_t SDOtimeoutTime, uint8_t blockTransferEnable) |
int | sdoClientDownload (CO_SDOclient_t *SDOclient, uint8_t nodeID, uint16_t idx, uint8_t subidx, uint8_t *dataTx, uint32_t dataTxLen, uint32_t *SDOabortCode, uint16_t SDOtimeoutTime, uint8_t blockTransferEnable) |
int sdoClientDownload | ( | CO_SDOclient_t * | SDOclient, |
uint8_t | nodeID, | ||
uint16_t | idx, | ||
uint8_t | subidx, | ||
uint8_t * | dataTx, | ||
uint32_t | dataTxLen, | ||
uint32_t * | SDOabortCode, | ||
uint16_t | SDOtimeoutTime, | ||
uint8_t | blockTransferEnable | ||
) |
Sdo client download.
For further details see CANopenNode/stack/CO_master.h file. This is blocking function.
SDOclient | Pointer to CANopen SDO client object. |
nodeID | Node-ID of the remote node. |
idx | Index of object in object dictionary in remote node. |
subidx | Subindex of object in object dictionary in remote node. |
dataTx | Pointer to data buffer, which contains the data. |
dataTxLen | Length of data in dataTx. |
SDOabortCode | Return variable - SDO abort code. |
SDOtimeoutTime | SDO timeout time in milliseconds. |
blockTransferEnable | If true, try to initiate block transfer. |
Definition at line 96 of file CO_master.c.
int sdoClientUpload | ( | CO_SDOclient_t * | SDOclient, |
uint8_t | nodeID, | ||
uint16_t | idx, | ||
uint8_t | subidx, | ||
uint8_t * | dataRx, | ||
uint32_t | dataRxSize, | ||
uint32_t * | dataRxLen, | ||
uint32_t * | SDOabortCode, | ||
uint16_t | SDOtimeoutTime, | ||
uint8_t | blockTransferEnable | ||
) |
Sdo client upload.
For further details see CANopenNode/stack/CO_master.h file. This is blocking function.
SDOclient | Pointer to CANopen SDO client object. |
nodeID | Node-ID of the remote node. |
idx | Index of object in object dictionary in remote node. |
subidx | Subindex of object in object dictionary in remote node. |
dataRx | Pointer to data buffer, into which received data will be written. |
dataRxSize | Maximum size of dataRx. |
dataRxLen | Return variable - actual data length in dataRx. |
SDOabortCode | Return variable - SDO abort code. |
SDOtimeoutTime | SDO timeout time in milliseconds. |
blockTransferEnable | If true, try to initiate block transfer. |
Definition at line 32 of file CO_master.c.