CO_OD_storage.h File Reference
socketCAN » OD storage

CANopen Object Dictionary storage object for Linux SocketCAN. More...

`#include "301/CO_driver.h"`
`#include "301/CO_SDOserver.h"`
`#include <stdio.h>`

Go to the source code of this file.

## Data Structures

struct | CO_OD_storage_t
| Object Dictionary storage object. More...

## Functions

CO_SDO_abortCode_t | CO_ODF_1010 (CO_ODF_arg_t *ODF_arg)
| Callback for use inside CO_OD_configure() function for OD object 1010.
CO_SDO_abortCode_t | CO_ODF_1011 (CO_ODF_arg_t *ODF_arg)
| Callback for use inside CO_OD_configure() function for OD object 1011.
int | CO_OD_storage_saveSecure (uint8_t *odAddress, uint32_t odSize, char *filename)
| Save memory block to a file. More...
int | CO_OD_storage_restoreSecure (char *filename)
| Remove OD storage file. More...
CO_ReturnError_t | CO_OD_storage_init (CO_OD_storage_t *odStor, uint8_t *odAddress, uint32_t odSize, char *filename)
| Initialize OD storage object and load data from file. More...
CO_ReturnError_t | CO_OD_storage_autoSave (CO_OD_storage_t *odStor, uint32_t timer1usDiff, uint32_t delay_us)
| Automatically save memory block if differs from file. More...
void | CO_OD_storage_autoSaveClose (CO_OD_storage_t *odStor)
| Closes file opened by CO_OD_storage_autoSave. More...

## Detailed Description

CANopen Object Dictionary storage object for Linux SocketCAN.

Author
  Janez Paternoster

Copyright
  2015 - 2020 Janez Paternoster

This file is part of CANopenNode, an opensource CANopen Stack. Project home page is https://github.com/CANopenNode/CANopenNode. For more information on CANopen see http://www.can-cia.org/.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.