Subversion Repositories HomeAutomation

Rev

Rev 1098 | Rev 1111 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1098 Rev 1110
Line 86... Line 86...
86
          <value id="6" name="Samsung"/>
86
          <value id="6" name="Samsung"/>
87
          <value id="7" name="Marantz"/>
87
          <value id="7" name="Marantz"/>
88
          <value id="255" name="Unknown"/>
88
          <value id="255" name="Unknown"/>
89
        </variable>
89
        </variable>
90
        <variable name="IRdata" type="uint" start_bit="16" bit_length="32" unit="" description="Button protocol unique ID"/>
90
        <variable name="IRdata" type="uint" start_bit="16" bit_length="32" unit="" description="Button protocol unique ID"/>
-
 
91
      </variables>
-
 
92
    </command>
-
 
93
    <command id="72" name="SlowPwm" type="physical" module="" description="Message for pwm data, 0 to 9999">
-
 
94
      <variables>
-
 
95
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
-
 
96
        <variable name="Value" type="uint" start_bit="8" bit_length="16" unit="" description=""/>
91
      </variables>
97
      </variables>
92
    </command>
98
    </command>
93
   
99
   
94
    <command id="128" name="IRraw" type="specific" module="irReceive" description="If a protocol not could be found, then send raw data">
100
    <command id="128" name="IRraw" type="specific" module="irReceive" description="If a protocol not could be found, then send raw data">
95
     <variables>
101
     <variables>
96
        <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Millisecond" description="First active time"/>
102
        <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Millisecond" description="First active time"/>
97
        <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Millisecond" description="First passive time"/>
103
        <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Millisecond" description="First passive time"/>
98
        <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Millisecond" description="Second active time"/>
104
        <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Millisecond" description="Second active time"/>
99
        <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Millisecond" description="Second passive time"/>
105
        <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Millisecond" description="Second passive time"/>
100
      </variables>
106
      </variables>
101
    </command>
107
    </command>
102
    <command id="128" name="Position" type="specific" module="nmea" description="WGS80 LAT/LONG Position">
108
    <command id="128" name="Position" type="specific" module="nmea" description="WGS80 LAT/LONG Position">
103
    <variables>
109
    <variables>
104
        <variable name="Lat_deg" type="uint" start_bit="0" bit_length="8" unit="Degrees" description="Degrees Lat"/>
110
        <variable name="Lat_deg" type="uint" start_bit="0" bit_length="8" unit="Degrees" description="Degrees Lat"/>
105
        <variable name="Lat_min" type="uint" start_bit="8" bit_length="8" unit="'" description="Minutes lat"/>
111
        <variable name="Lat_min" type="uint" start_bit="8" bit_length="8" unit="'" description="Minutes lat"/>
Line 110... Line 116...
110
        <variable name="Lon_sec" type="uint" start_bit="48" bit_length="15" unit="''" description="Seconds Lat"/>
116
        <variable name="Lon_sec" type="uint" start_bit="48" bit_length="15" unit="''" description="Seconds Lat"/>
111
        <variable name="Lon_CD" type="uint" start_bit="63" bit_length="1" unit="" description="E/W"/>      
117
        <variable name="Lon_CD" type="uint" start_bit="63" bit_length="1" unit="" description="E/W"/>      
112
    </variables>
118
    </variables>
113
    </command>
119
    </command>
114
    <command id="128" name="Printf" type="specific" module="Debug" description="Used for sending debug text with printf">
120
    <command id="128" name="Printf" type="specific" module="Debug" description="Used for sending debug text with printf">
115
     <variables>
121
     <variables>
116
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
122
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
117
      </variables>
123
      </variables>
118
    </command>
124
    </command>
119
    <command id="128" name="LCD_Clear" type="specific" module="HD44789" description="Clear LCD"/>
125
    <command id="128" name="LCD_Clear" type="specific" module="HD44789" description="Clear LCD"/>
120
    <command id="129" name="LCD_Cursor" type="specific" module="HD44789" description="Set LCD cursor position">
126
    <command id="129" name="LCD_Cursor" type="specific" module="HD44789" description="Set LCD cursor position">
121
      <variables>
127
      <variables>
122
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
128
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
123
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
129
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
124
      </variables>
130
      </variables>
125
    </command>
131
    </command>
126
    <command id="130" name="LCD_Text" type="specific" module="HD44789" description="Print text on LCD">
132
    <command id="130" name="LCD_Text" type="specific" module="HD44789" description="Print text on LCD">
127
      <variables>
133
      <variables>
128
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
134
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
129
      </variables>
135
      </variables>
130
    </command>
136
    </command>
131
     <command id="131" name="LCD_Size" type="specific" module="HD44789" description="Size of LCD">
137
     <command id="131" name="LCD_Size" type="specific" module="HD44789" description="Size of LCD">
132
      <variables>
138
      <variables>
133
        <variable name="Width" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
139
        <variable name="Width" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
134
        <variable name="Height" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
140
        <variable name="Height" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
135
      </variables>
141
      </variables>
Line 145... Line 151...
145
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
151
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
146
        <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
152
        <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
147
      </variables>
153
      </variables>
148
    </command>
154
    </command>
149
   
155
   
-
 
156
    <command id="128" name="DEBUG" type="specific" module="PID" description="Debug data from PID regulator">
-
 
157
    <variables>
-
 
158
      <variable name="P-term" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
-
 
159
      <variable name="I-term" type="uint" start_bit="16" bit_length="16" unit="" description=""/>
-
 
160
      <variable name="D-term" type="uint" start_bit="32" bit_length="16" unit="" description=""/>
-
 
161
      <variable name="Sum" type="uint" start_bit="48" bit_length="16" unit="" description=""/>
-
 
162
    </variables>
150
   
163
      </command>
-
 
164
    <command id="129" name="CONFIG" type="specific" module="PID" description="Configure PID regulator, if message is sent with 0 data bytes, module will respond with current configuration">
151
   
165
    <variables>
-
 
166
      <variable name="sensorModuleType" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
-
 
167
      <variable name="sensorModuleId" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
-
 
168
      <variable name="sensorId" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
-
 
169
    </variables>
152
   
170
      </command>
153
    <command id="128" name="LCD_Clear" type="specific" module="KS0108" description="Clear LCD">
171
    <command id="128" name="LCD_Clear" type="specific" module="KS0108" description="Clear LCD">
154
      <variables>
172
      <variables>
155
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
173
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
156
      <value id="0" name="Standard"/>
174
      <value id="0" name="Standard"/>
157
          <value id="1" name="Inverted"/>
175
          <value id="1" name="Inverted"/>
Line 328... Line 346...
328
    <module id="13" name="LEDPWM" class="act"/>
346
    <module id="13" name="LEDPWM" class="act"/>
329
    <module id="14" name="irReceive" class="sns"/>
347
    <module id="14" name="irReceive" class="sns"/>
330
    <module id="15" name="nmea" class="sns"/>
348
    <module id="15" name="nmea" class="sns"/>
331
    <module id="16" name="irTransmit" class="sns"/>
349
    <module id="16" name="irTransmit" class="sns"/>
332
    <module id="17" name="TC1047A" class="sns"/>
350
    <module id="17" name="TC1047A" class="sns"/>
-
 
351
    <module id="18" name="PID" class="act"/>
-
 
352
    <module id="19" name="SlowPWM" class="act"/>
333
  </modules>
353
  </modules>
334
  <defines>
354
  <defines>
335
    <define id="1" group="DirectionFlag" name="From_Owner"/>
355
    <define id="1" group="DirectionFlag" name="From_Owner"/>
336
    <define id="0" group="DirectionFlag" name="To_Owner"/>
356
    <define id="0" group="DirectionFlag" name="To_Owner"/>
337
  </defines>
357
  </defines>