pdsDataServer.h

Go to the documentation of this file.
00001 /***************************************************************************/
00013 #ifndef _PERSISTDATASERVER_H
00014 #define _PERSISTDATASERVER_H
00015 
00016 /******************************************************************************
00017                    Includes section
00018 ******************************************************************************/
00019 #include <configServer.h>
00020 
00021 /******************************************************************************
00022                    Types section
00023 ******************************************************************************/
00024 /*
00025 Result PDS state after a command call
00026 */
00027 typedef enum
00028 {
00029   PDS_SUCCESS,                    
00030   PDS_EEPROM_ERROR,               
00031   PDS_CRC_ERROR,                  
00032   PDS_INVALID_REQUEST,            
00033   PDS_EEPROM_BUSY                 
00034 } PDS_DataServerState_t;
00035 
00036 
00037 /***************************************************************************/
00046 PDS_DataServerState_t PDS_Init(void);
00047 
00048 /*****************************************************************************/
00053 PDS_DataServerState_t PDS_SetToDefault(void);
00054 
00055 /*****************************************************************************/
00064 PDS_DataServerState_t PDS_ReadUserData(uint16_t offset, uint8_t *data, uint16_t length);
00065 
00066 /****************************************************************************/
00075 PDS_DataServerState_t PDS_WriteUserData(uint16_t offset, uint8_t *data, uint16_t length, void (*callback)(void));
00076 
00077 #endif  //#ifndef _PERSISTDATASERVER_H
00078 

Generated on Wed Apr 2 19:06:16 2008 for ZigBeeNet Stack Documentation by  doxygen 1.5.1-p1