COObjWrBufStart
Description
This function starts the write operation at the beginning of the given object directory entry from the given source buffer.
Prototype
CPU_INT16S COObjWrBufStart(CO_OBJ *obj ,
void *buffer,
CPU_INT08U len);
Parameter | Description |
---|---|
obj | pointer to the CANopen directory entry |
buffer | pointer to the source buffer |
len | length of source buffer |
Returned Value
= CO_ERR.NONE
Successful operation
!= CO_ERR.NONE
An error is detected (see section "Error Identification")
Example
The following example writes a byte-stream to the hypothetical application specific object entry "[1234:56]" within the object directory of the CANopen node AppNode.