Subversion Repositories HomeAutomation

Rev

Rev 869 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 869 Rev 874
Line 1... Line 1...
1
#ifndef PHYS_QUAN_CMD_H_
1
#ifndef PHYS_QUAN_CMD_H_
2
#define PHYS_QUAN_CMD_H_
2
#define PHYS_QUAN_CMD_H_
3
/*
3
/*
4
 *  This file contains commands used for standard units used by the modules build system
4
 *  This file contains commands used for standard units used by the modules build system
5
 *  How the Data-part of a frame with a sertain unit is formed shall be documented on the project wiki
5
 *  How the Data-part of a frame with a sertain unit is formed shall be documented on the project wiki
6
 *  Only Id:s with numbers between 64 and 127 is allowed
6
 *  Only Id:s with numbers between 0x40 and 0x7f is allowed
7
 */
7
 */
8
#define CAN_CMD_MODULE_PHYS_PWM         64
8
#define CAN_CMD_MODULE_PHYS_PWM         0x40UL
9
#define CAN_CMD_MODULE_PHYS_TEMPERATURE_CELSIUS 65
9
#define CAN_CMD_MODULE_PHYS_TEMPERATURE_CELSIUS 0x41UL
10
#define CAN_CMD_MODULE_PHYS_HUMIDITY_PERCENT    66
10
#define CAN_CMD_MODULE_PHYS_HUMIDITY_PERCENT    0x42UL
11
#define CAN_CMD_MODULE_PHYS_VOLTAGE     67
11
#define CAN_CMD_MODULE_PHYS_VOLTAGE         0x43UL
12
#define CAN_CMD_MODULE_PHYS_PHONENUMBER     68
12
#define CAN_CMD_MODULE_PHYS_PHONENUMBER     0x44UL
13
 
13
 
14
#endif /*PHYS_QUAN_CMD_H_*/
14
#endif /*PHYS_QUAN_CMD_H_*/