31 lines
422 B
C
31 lines
422 B
C
/*
|
|
* codes.h
|
|
*
|
|
* Created: 29.03.2013 13:58:28
|
|
* Author: netz
|
|
*/
|
|
|
|
|
|
#ifndef CODES_H_
|
|
#define CODES_H_
|
|
|
|
#ifndef ALL
|
|
#define ALL 0
|
|
#define GROUP 240
|
|
#define DEVICE 40
|
|
#define MASTER 1
|
|
#endif
|
|
|
|
#ifndef PING
|
|
#define PING 1
|
|
#define SLEEP 2
|
|
#define ACTIVE 3
|
|
#define SETSLEEP 4
|
|
#define SETACTIVE 5
|
|
#define RUN 6
|
|
#define SETRUN 7
|
|
#define DEDECT 8
|
|
#define SETDEDECT 9
|
|
#endif
|
|
|
|
#endif /* CODES_H_ */ |