Contiki 2.5
Modules | Files | Data Structures | Macros
Bundle Storage modules

Modules

 COFFEE-based persistent Storage
 
 MMEM-based temporary Storage
 

Files

file  storage.h
 this file defines the interface for storage modules
 

Data Structures

struct  storage_entry_t
 Representation of a bundle as returned by the "get_bundles" call to the storage module. More...
 
struct  storage_driver
 storage module interface More...
 

Macros

#define BUNDLE_STORAGE   storage_mmem
 Which storage driver are we going to use? Default is RAM.
 
#define BUNDLE_STORAGE_SIZE   10
 How many bundles can possibly be stored in the data structures?
 
#define BUNDLE_STORAGE_INIT   0
 Should storage go into an initial safe state when starting up? Otherwise, some storages may try to reconstruct the last start before powering down.
 
#define BUNDLE_STORAGE_BEHAVIOUR_DELETE_OLDER   1
 Should the storage run out if space, what shall we do?
 

Detailed Description