protocol.h File Reference

Protocol definitions for Pkt mesh network. More...

Go to the source code of this file.

Defines

#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_INFO1   0x07
#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_ADDR   2
#define PL_REQ_CAPS   3
#define PL_REQ_INFO1   10
#define PL_REQ_INFORM_ON_CHANGE   8
#define PL_REQ_SENSOR   6
#define PL_SENSOR_RESPONSE   7
#define PL_SET_ADDR   1
#define PL_SET_OUTPUT   9

Detailed Description

Definition in file protocol.h.


Define Documentation

#define CAPS_INFO1_DATE   1

Definition at line 136 of file protocol.h.

#define CAPS_INFO1_TIME   0

Definition at line 135 of file protocol.h.

#define CAPS_INPUTS_SWITCH1   0

Definition at line 116 of file protocol.h.

#define CAPS_INPUTS_SWITCH2   1

Definition at line 117 of file protocol.h.

#define CAPS_INPUTS_SWITCH3   2

Definition at line 118 of file protocol.h.

#define CAPS_INPUTS_SWITCH4   3

Definition at line 119 of file protocol.h.

#define CAPS_INPUTS_SWITCH5   4

Definition at line 120 of file protocol.h.

#define CAPS_INPUTS_SWITCH6   5

Definition at line 121 of file protocol.h.

#define CAPS_INPUTS_SWITCH7   6

Definition at line 122 of file protocol.h.

#define CAPS_INPUTS_SWITCH8   7

Definition at line 123 of file protocol.h.

#define CAPS_OUTPUTS_DIMMER1   4

Definition at line 130 of file protocol.h.

#define CAPS_OUTPUTS_DIMMER2   5

Definition at line 131 of file protocol.h.

#define CAPS_OUTPUTS_DIMMER3   6

Definition at line 132 of file protocol.h.

#define CAPS_OUTPUTS_DIMMER4   7

Definition at line 133 of file protocol.h.

#define CAPS_OUTPUTS_RELAY1   0

Definition at line 126 of file protocol.h.

#define CAPS_OUTPUTS_RELAY2   1

Definition at line 127 of file protocol.h.

#define CAPS_OUTPUTS_RELAY3   2

Definition at line 128 of file protocol.h.

#define CAPS_OUTPUTS_RELAY4   3

Definition at line 129 of file protocol.h.

#define CAPS_SENSOR_AIR_PRESSURE   2

Definition at line 111 of file protocol.h.

#define CAPS_SENSOR_HUMIDITY   1

Definition at line 110 of file protocol.h.

#define CAPS_SENSOR_LIGHT   3

Definition at line 112 of file protocol.h.

#define CAPS_SENSOR_PRESENCE   4

Definition at line 113 of file protocol.h.

#define CAPS_SENSOR_TEMP   0

Definition at line 109 of file protocol.h.

#define EE_MY_ADDR_H   0x00

Definition at line 95 of file protocol.h.

#define EE_MY_ADDR_L   0x01

Definition at line 96 of file protocol.h.

#define EE_MY_INFO1   0x07

Definition at line 104 of file protocol.h.

#define EE_MY_INPUTS   0x05

Definition at line 102 of file protocol.h.

#define EE_MY_LAST_PKT_ID_H   0x02

Definition at line 98 of file protocol.h.

#define EE_MY_LAST_PKT_ID_L   0x03

Definition at line 99 of file protocol.h.

#define EE_MY_OUTPUTS   0x06

Definition at line 103 of file protocol.h.

#define EE_MY_SENSORS   0x04

Definition at line 101 of file protocol.h.

#define PL_ADDR_RESPONSE   5

Definition at line 60 of file protocol.h.

#define PL_CAPS_RESPONSE   4

Definition at line 52 of file protocol.h.

#define PL_CHANGE_RESPONSE   9

Definition at line 75 of file protocol.h.

#define PL_OTHER_RESPONSE   11

Definition at line 88 of file protocol.h.

#define PL_REQ_ADDR   2

Definition at line 50 of file protocol.h.

#define PL_REQ_CAPS   3

Definition at line 51 of file protocol.h.

#define PL_REQ_INFO1   10

Definition at line 85 of file protocol.h.

#define PL_REQ_INFORM_ON_CHANGE   8

Definition at line 71 of file protocol.h.

#define PL_REQ_SENSOR   6

Definition at line 63 of file protocol.h.

#define PL_SENSOR_RESPONSE   7

Definition at line 66 of file protocol.h.

#define PL_SET_ADDR   1

Definition at line 47 of file protocol.h.

#define PL_SET_OUTPUT   9

Definition at line 80 of file protocol.h.


Generated on Wed Dec 8 13:47:46 2010 for Pic Pack by  doxygen 1.6.1