diff -r 7d5c74cc8f91 -r 0a30e161d63c include/sdo.h --- a/include/sdo.h Thu Nov 20 07:51:14 2008 +0100 +++ b/include/sdo.h Sat Jan 17 17:25:58 2009 +0100 @@ -20,6 +20,17 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +/** @defgroup comobj Communication Objects + * @ingroup userapi + */ + +/** @defgroup sdo Service Data Object (SDO) + * SDOs provide the access to entries in the CANopen Object Dictionary. + * An SDO is made up of at least two CAN messages with different identifiers. + * SDO s are always confirmed point-to-point communications services. + * @ingroup comobj + */ + #ifndef __sdo_h__ #define __sdo_h__ @@ -36,252 +47,378 @@ */ struct struct_s_transfer { - UNS8 nodeId; /*own ID if server, or node ID of the server if client */ - - UNS8 whoami; /* Takes the values SDO_CLIENT or SDO_SERVER */ - UNS8 state; /* state of the transmission : Takes the values SDO_... */ - UNS8 toggle; - UNS32 abortCode; /* Sent or received */ - /* index and subindex of the dictionary where to store */ - /* (for a received SDO) or to read (for a transmit SDO) */ + UNS8 nodeId; /**