Rev 403 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 403 | Rev 475 | ||
---|---|---|---|
Line 151... | Line 151... | ||
151 | public void motor_test(int[] params) |
151 | public void motor_test(int[] params) |
152 | { |
152 | { |
153 | send_command(0,'t',params); |
153 | send_command(0,'t',params); |
154 | } |
154 | } |
Line -... | Line 155... | ||
- | 155 | ||
- | 156 | public void send_keys(int[] params) |
|
- | 157 | { |
|
- | 158 | send_command(0,'k',params); |
|
- | 159 | } |
|
155 | 160 | ||
156 | // get params |
161 | // get params |
157 | public void get_params(int id) |
162 | public void get_params(int id) |
158 | { |
163 | { |
159 | int[] params=new int[1]; |
164 | int[] params=new int[1]; |
Line 256... | Line 261... | ||
256 | switch((char)data[2]) |
261 | switch((char)data[2]) |
257 | { |
262 | { |
Line 258... | Line 263... | ||
258 | 263 | ||
259 | case 'D': // debug Data |
264 | case 'D': // debug Data |
260 | debug_data_count++; |
265 | debug_data_count++; |
261 | debug_data.set_by_mk_data(Decode64(data,3,50),version); |
266 | debug_data.set_by_mk_data(Decode64(data,3,len-3),version); |
Line 262... | Line 267... | ||
262 | break; |
267 | break; |
263 | 268 | ||
264 | case 'V': // Version Info |
269 | case 'V': // Version Info |
Line 277... | Line 282... | ||
277 | case 'L': |
282 | case 'L': |
278 | case 'M': |
283 | case 'M': |
279 | case 'N': |
284 | case 'N': |
280 | case 'O': |
285 | case 'O': |
281 | case 'P': |
286 | case 'P': |
282 | params.set_by_mk_data((int)(data[2]-'L'),Decode64(data,3,58),version); |
287 | params.set_by_mk_data((int)(data[2]-'L'),Decode64(data,3,len-3),version); |
283 | params_data_count++; |
288 | params_data_count++; |
284 | break; |
289 | break; |
Line 285... | Line 290... | ||
285 | 290 | ||
286 | default: |
291 | default: |