protocol.h File Reference
Protocol definitions for Pkt mesh network.
More...
Go to the source code of this file.
Detailed Description
Define Documentation
#define CAPS_INFO1_DATE 1 |
#define CAPS_INFO1_TIME 0 |
#define CAPS_INPUTS_SWITCH1 0 |
#define CAPS_INPUTS_SWITCH2 1 |
#define CAPS_INPUTS_SWITCH3 2 |
#define CAPS_INPUTS_SWITCH4 3 |
#define CAPS_INPUTS_SWITCH5 4 |
#define CAPS_INPUTS_SWITCH6 5 |
#define CAPS_INPUTS_SWITCH7 6 |
#define CAPS_INPUTS_SWITCH8 7 |
#define CAPS_OUTPUTS_DIMMER1 4 |
#define CAPS_OUTPUTS_DIMMER2 5 |
#define CAPS_OUTPUTS_DIMMER3 6 |
#define CAPS_OUTPUTS_DIMMER4 7 |
#define CAPS_OUTPUTS_RELAY1 0 |
#define CAPS_OUTPUTS_RELAY2 1 |
#define CAPS_OUTPUTS_RELAY3 2 |
#define CAPS_OUTPUTS_RELAY4 3 |
#define CAPS_SENSOR_AIR_PRESSURE 2 |
#define CAPS_SENSOR_HUMIDITY 1 |
#define CAPS_SENSOR_LIGHT 3 |
#define CAPS_SENSOR_PRESENCE 4 |
#define CAPS_SENSOR_TEMP 0 |
#define EE_MY_ADDR_H 0x00 |
#define EE_MY_ADDR_L 0x01 |
#define EE_MY_INPUTS 0x05 |
#define EE_MY_LAST_PKT_ID_H 0x02 |
#define EE_MY_LAST_PKT_ID_L 0x03 |
#define EE_MY_OUTPUTS 0x06 |
#define EE_MY_SENSORS 0x04 |
#define PL_ADDR_RESPONSE 5 |
#define PL_CAPS_RESPONSE 4 |
#define PL_CHANGE_RESPONSE 9 |
#define PL_OTHER_RESPONSE 11 |
#define PL_REQ_INFORM_ON_CHANGE 8 |
#define PL_SENSOR_RESPONSE 7 |