26 lines
402 B
C
Raw Permalink Normal View History

2015-05-11 22:36:58 +02:00
/*
* config.h
*
* Created on: 11.05.2015
* Author: wn
*/
#ifndef CONFIG_H_
#define CONFIG_H_
void configInit();
bool configIsValid();
void configReset();
2015-06-10 21:07:58 +02:00
void configRead(int addr, uint16_t len, char *buffer);
void configWrite(int addr, uint16_t len, char *buffer);
2015-05-11 22:36:58 +02:00
2015-05-29 22:38:24 +02:00
2015-05-11 22:36:58 +02:00
#define CONFIG_MAGIC 0 // 4
2015-05-29 22:38:24 +02:00
#define CONFIG_BROKER 4 // 64
#define CONFIG_DEVICES 68 // 64
2015-05-11 22:36:58 +02:00
#endif /* CONFIG_H_ */