Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

sdoc.c File Reference

#include <def.h>
#include <canop.h>

Functions

void saveOD (BYTE bSubindex)
void loadOD (BYTE bSubindex)
void processReceivedSDO (s_rx_buffer_message *canopenMessage)

Function Documentation

void loadOD BYTE    bSubindex
 

A remote node can call this function (by SDO) to load the standard Object dictionary (OD) from a persistent memore (EEProm, Flash, ...). This is useful, if the OD has been modified, but you want to undo this changes. the argument indicates which subindex is called (different subindicies stands for different load-options. see standard)

void processReceivedSDO s_rx_buffer_message   canopenMessage
 

this function is called by proccessRxCanMessages. it is responsible for proccessing SDO messages. e.g. if the server wants to read/write an entry in the Object dictionary

Parameters:
canopenMessage  Contains the CAN-Message that has been received by this device.

void saveOD BYTE    bSubindex
 

A remote node can call this function (by SDO) to save the state of the Object dictionary into a persistend memory (EEProm, Flash, ...). the argument indicates which subindex is called (different subindicies stands for different save-options. see standard)


Generated on Wed Dec 25 01:04:57 2002 for CANopen SlaveLib by doxygen1.2.17