configuration partly done

This commit is contained in:
hg
2015-05-11 22:36:58 +02:00
parent 4e84527a4f
commit fe3f5d4b84
6 changed files with 254 additions and 17 deletions

24
config.h Normal file
View File

@ -0,0 +1,24 @@
/*
* config.h
*
* Created on: 11.05.2015
* Author: wn
*/
#ifndef CONFIG_H_
#define CONFIG_H_
void configInit();
bool configIsValid();
void configReset();
void configRead(int addr, uint8_t len, char *buffer);
void configWrite(int addr, uint8_t len, char *buffer);
#define CONFIG_MAGIC 0 // 4
#define CONFIG_DEVICES 4 // 64
#define CONFIG_BROKER 68 // 64
#define CONFIG_NEXT 132
#endif /* CONFIG_H_ */