Return code for SDO callbacks.
The following codes are used by callback functions for object dictionary access by Service Data Objects.
Enumerator |
---|
eCosSdo_READ_OK | Generic read success (any number of bytes)
|
eCosSdo_READ1_OK | Read success, 1 byte of data in expedited SDO
|
eCosSdo_READ2_OK | Read success, 2 bytes of data in expedited SDO
|
eCosSdo_READ3_OK | Read success, 3 bytes of data in expedited SDO
|
eCosSdo_READ4_OK | Read success, 4 bytes of data in expedited SDO
|
eCosSdo_WRITE_OK | Write success
|
eCosSdo_ERR_TOGGLE_BIT | Toggle bit not alternated.
|
eCosSdo_ERR_TIMEOUT | SDO protocol timed out.
|
eCosSdo_ERR_COMMAND | Client/server command specifier not valid or unknown.
|
eCosSdo_ERR_BLOCK_SIZE | Invalid block size (block mode only).
|
eCosSdo_ERR_BLOCK_SEQUENCE | Invalid sequence number (block mode only).
|
eCosSdo_ERR_BLOCK_CRC | CRC error (block mode only).
|
eCosSdo_ERR_MEMORY | Out of memory.
|
eCosSdo_ERR_ACCESS_UNSUPPORTED | Unsupported access to an object.
|
eCosSdo_ERR_ACCESS_WO | Attempt to read a write only object.
|
eCosSdo_ERR_ACCESS_RO | Attempt to write a read only object.
|
eCosSdo_ERR_NO_OBJECT | Object does not exist in the object dictionary.
|
eCosSdo_ERR_MAPPING_OBJECT | Object cannot be mapped to the PDO.
|
eCosSdo_ERR_MAPPING_LENGTH | The number and length of the objects to be mapped would exceed PDO length.
|
eCosSdo_ERR_GENERAL_PARAMETER | General parameter incompatibility reason.
|
eCosSdo_ERR_GENERAL_DEVICE | General internal incompatibility in the device.
|
eCosSdo_ERR_HARDWARE | Access failed due to an hardware error.
|
eCosSdo_ERR_DATATYPE | Data type does not match or length of service parameter does not match.
|
eCosSdo_ERR_DATATYPE_HIGH | Data type does not match or length of service parameter too high.
|
eCosSdo_ERR_DATATYPE_LOW | Data type does not match or length of service parameter too low.
|
eCosSdo_ERR_NO_SUB_INDEX | Sub-index does not exist.
|
eCosSdo_ERR_VALUE_RANGE | Value range of parameter exceeded (only for write access).
|
eCosSdo_ERR_VALUE_HIGH | Value of parameter written too high (download only).
|
eCosSdo_ERR_VALUE_LOW | Value of parameter written too low (download only).
|
eCosSdo_ERR_VALUE_MIN_MAX | Maximum value is less than minimum value.
|
eCosSdo_ERR_GENERAL | General SDO error.
|
eCosSdo_ERR_DATA_STORE | Data cannot be transferred or stored to the application.
|
eCosSdo_ERR_DATA_STORE_LOCAL | Data cannot be transferred or stored to the application because of local control.
|
eCosSdo_ERR_DATA_STORE_STATE | Data cannot be transferred or stored to the application because of the present device state.
|
eCosSdo_ERR_OBJECT_DICTIONARY | Object dictionary dynamic generation fails or no object dictionary is present (e.g. object dictionary is generated from file and generation fails because of an file error).
|
eCosSdo_ERR_NO_DATA | Data actually not available for access
|
eCosSdo_ERR_DEFER_RESPONSE | Do not send a SDO response by the stack. The application must send the SDO response manually.
|