Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 204 → Rev 205

/DUBwise/tags/pre_0.50/PR/android_screenshots/flight_settings_conf.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/android_screenshots/main_menu_offline.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/android_screenshots/main_menu_online.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/android_screenshots/motor_test.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/android_screenshots/pilot.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/android_screenshots/pre_start.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/android_screenshots/raw_debug.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/android_screenshots/rc_data.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/android_screenshots/telemetry_gyro.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/banner.JPG
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/banner.xcf
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/banner_getjar.JPG
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/banner_old.JPG
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/dubwise_mk_FM4014.JPG
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/dubwise_mk_FM4014_getjar.JPG
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.37_by_CaScAdE/20071022-dubwise-0.37-configuration_01.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.37_by_CaScAdE/20071022-dubwise-0.37-configuration_02.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.37_by_CaScAdE/20071022-dubwise-0.37-configuration_03.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.37_by_CaScAdE/20071022-dubwise-0.37-configuration_05.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.37_by_CaScAdE/20071022-dubwise-0.37-configuration_06.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.37_by_CaScAdE/20071022-dubwise-0.37-configuration_07.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.37_by_CaScAdE/20071022-dubwise-0.37-configuration_08.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.37_by_CaScAdE/20071022-dubwise-0.37-configuration_09.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.37_by_CaScAdE/20071022-dubwise-0.37-configuration_10.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.37_by_CaScAdE/20071022-dubwise-0.37-mainscreen.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.37_by_CaScAdE/20071022-dubwise-0.37-motortest.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.37_by_CaScAdE/20071022-dubwise-0.37-scanning.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.37_by_CaScAdE/20071022-dubwise-0.37-settings.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.37_by_CaScAdE/20071022-dubwise-0.37-telemetry.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.37_by_CaScAdE/20071022-dubwise-0.37-write_discard.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.37_by_CaScAdE/20071022-dubwise-0.37.html
0,0 → 1,30
<img src="20071022-dubwise-0.37-scanning.jpg" width="800" height="1702" border="0" alt=""><br>
<br>
<img src="20071022-dubwise-0.37-mainscreen.jpg" width="729" height="1710" border="0" alt=""><br>
<br>
<img src="20071022-dubwise-0.37-telemetry.jpg" width="804" height="1700" border="0" alt=""><br>
<br>
<img src="20071022-dubwise-0.37-motortest.jpg" width="740" height="1677" border="0" alt=""><br>
<br>
<img src="20071022-dubwise-0.37-settings.jpg" width="738" height="1669" border="0" alt=""><br>
<br>
<img src="20071022-dubwise-0.37-configuration_01.jpg" width="805" height="1751" border="0" alt=""><br>
<br>
<img src="20071022-dubwise-0.37-configuration_02.jpg" width="758" height="1688" border="0" alt=""><br>
<br>
<img src="20071022-dubwise-0.37-configuration_03.jpg" width="769" height="1700" border="0" alt=""><br>
<br>
<img src="20071022-dubwise-0.37-configuration_05.jpg" width="714" height="1658" border="0" alt=""><br>
<br>
<img src="20071022-dubwise-0.37-configuration_06.jpg" width="777" height="1698" border="0" alt=""><br>
<br>
<img src="20071022-dubwise-0.37-configuration_07.jpg" width="751" height="1712" border="0" alt=""><br>
<br>
<img src="20071022-dubwise-0.37-configuration_08.jpg" width="737" height="1717" border="0" alt=""><br>
<br>
<img src="20071022-dubwise-0.37-configuration_09.jpg" width="777" height="1721" border="0" alt=""><br>
<br>
<img src="20071022-dubwise-0.37-configuration_10.jpg" width="754" height="1692" border="0" alt=""><br>
<br>
<img src="20071022-dubwise-0.37-write_discard.jpg" width="784" height="1686" border="0" alt=""><br>
<br>
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-013.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-014.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-016.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-017.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-018.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-019.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-020.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-021.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-022.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-023.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-024.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-025.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-026.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-027.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-028.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-029.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-030.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-031.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-032.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-033.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-034.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-035.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-036.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-037.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-038.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-039.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-040.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-041.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-042.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-043.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-044.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-046.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-049.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-057.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-058.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-060.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-061.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-062.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-063.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-064.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-065.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-066.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-067.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-068.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-069.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-070.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-071.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-073.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-074.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-075.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-076.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-077.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-078.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-079.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-080.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-081.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-082.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/0.43_by_CaScAde/v043-083.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/recent/configuration_01.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/recent/configuration_02.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/recent/configuration_03.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/recent/configuration_05.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/recent/configuration_06.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/recent/configuration_07.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/recent/configuration_08.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/recent/configuration_09.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/recent/configuration_10.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/recent/mainscreen.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/recent/motortest.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/recent/scanning.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/recent/settings.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/recent/telemetry.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR/j2me_screenshots/recent/write_discard.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/PR
Property changes:
Added: svn:mergeinfo
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-128x128-de_64kbit_tts.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-128x128-de_64kbit_tts.jar
MIDlet-Jar-Size: 133357
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.46
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-128x128-de_64kbit_tts.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-128x128-de_tts.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-128x128-de_tts.jar
MIDlet-Jar-Size: 106621
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.46
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-128x128-de_tts.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-128x128-en_speedy.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-128x128-en_speedy.jar
MIDlet-Jar-Size: 119288
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.46
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-128x128-en_speedy.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-128x128-no_voice.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-128x128-no_voice.jar
MIDlet-Jar-Size: 79188
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.46
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-128x128-no_voice.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-128x128-wav.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-128x128-wav.jar
MIDlet-Jar-Size: 309613
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.46
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-128x128-wav.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-176x220-de_64kbit_tts.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-176x220-de_64kbit_tts.jar
MIDlet-Jar-Size: 175487
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.46
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-176x220-de_64kbit_tts.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-176x220-de_tts.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-176x220-de_tts.jar
MIDlet-Jar-Size: 148751
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.46
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-176x220-de_tts.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-176x220-en_speedy.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-176x220-en_speedy.jar
MIDlet-Jar-Size: 161418
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.46
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-176x220-en_speedy.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-176x220-no_voice.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-176x220-no_voice.jar
MIDlet-Jar-Size: 121318
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.46
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-176x220-no_voice.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-176x220-wav.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-176x220-wav.jar
MIDlet-Jar-Size: 351743
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.46
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-176x220-wav.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-240x320-de_64kbit_tts.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-240x320-de_64kbit_tts.jar
MIDlet-Jar-Size: 188518
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.46
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-240x320-de_64kbit_tts.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-240x320-de_tts.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-240x320-de_tts.jar
MIDlet-Jar-Size: 161782
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.46
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-240x320-de_tts.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-240x320-en_speedy.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-240x320-en_speedy.jar
MIDlet-Jar-Size: 174449
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.46
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-240x320-en_speedy.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-240x320-no_voice.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-240x320-no_voice.jar
MIDlet-Jar-Size: 134349
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.46
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-240x320-no_voice.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-240x320-wav.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-240x320-wav.jar
MIDlet-Jar-Size: 364774
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.46
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-240x320-wav.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-480x640-de_64kbit_tts.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-480x640-de_64kbit_tts.jar
MIDlet-Jar-Size: 469107
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.46
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-480x640-de_64kbit_tts.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-480x640-de_tts.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-480x640-de_tts.jar
MIDlet-Jar-Size: 442371
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.46
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-480x640-de_tts.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-480x640-en_speedy.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-480x640-en_speedy.jar
MIDlet-Jar-Size: 455038
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.46
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-480x640-en_speedy.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-480x640-no_voice.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-480x640-no_voice.jar
MIDlet-Jar-Size: 414938
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.46
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-480x640-no_voice.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-480x640-wav.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-480x640-wav.jar
MIDlet-Jar-Size: 645363
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.46
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.46/DUBwise-480x640-wav.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.46
Property changes:
Added: svn:mergeinfo
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-128x128-de_64kbit_tts.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-128x128-de_64kbit_tts.jar
MIDlet-Jar-Size: 162855
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.47
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-128x128-de_64kbit_tts.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-128x128-de_tts.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-128x128-de_tts.jar
MIDlet-Jar-Size: 136119
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.47
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-128x128-de_tts.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-128x128-en_speedy.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-128x128-en_speedy.jar
MIDlet-Jar-Size: 148786
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.47
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-128x128-en_speedy.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-128x128-no_voice.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-128x128-no_voice.jar
MIDlet-Jar-Size: 110132
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.47
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-128x128-no_voice.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-128x128-wav.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-128x128-wav.jar
MIDlet-Jar-Size: 339111
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.47
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-128x128-wav.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-176x220-de_64kbit_tts.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-176x220-de_64kbit_tts.jar
MIDlet-Jar-Size: 204985
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.47
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-176x220-de_64kbit_tts.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-176x220-de_tts.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-176x220-de_tts.jar
MIDlet-Jar-Size: 178249
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.47
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-176x220-de_tts.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-176x220-en_speedy.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-176x220-en_speedy.jar
MIDlet-Jar-Size: 190916
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.47
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-176x220-en_speedy.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-176x220-no_voice.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-176x220-no_voice.jar
MIDlet-Jar-Size: 152262
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.47
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-176x220-no_voice.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-176x220-wav.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-176x220-wav.jar
MIDlet-Jar-Size: 381241
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.47
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-176x220-wav.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-240x320-de_64kbit_tts.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-240x320-de_64kbit_tts.jar
MIDlet-Jar-Size: 218016
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.47
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-240x320-de_64kbit_tts.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-240x320-de_tts.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-240x320-de_tts.jar
MIDlet-Jar-Size: 191280
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.47
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-240x320-de_tts.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-240x320-en_speedy.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-240x320-en_speedy.jar
MIDlet-Jar-Size: 203947
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.47
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-240x320-en_speedy.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-240x320-no_voice.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-240x320-no_voice.jar
MIDlet-Jar-Size: 165293
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.47
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-240x320-no_voice.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-240x320-wav.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-240x320-wav.jar
MIDlet-Jar-Size: 394272
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.47
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-240x320-wav.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-340x400-de_64kbit_tts.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-340x400-de_64kbit_tts.jar
MIDlet-Jar-Size: 316565
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.47
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-340x400-de_64kbit_tts.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-340x400-de_tts.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-340x400-de_tts.jar
MIDlet-Jar-Size: 289829
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.47
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-340x400-de_tts.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-340x400-en_speedy.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-340x400-en_speedy.jar
MIDlet-Jar-Size: 302496
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.47
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-340x400-en_speedy.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-340x400-no_voice.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-340x400-no_voice.jar
MIDlet-Jar-Size: 263842
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.47
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-340x400-no_voice.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-340x400-wav.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-340x400-wav.jar
MIDlet-Jar-Size: 492821
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.47
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-340x400-wav.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-480x640-de_64kbit_tts.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-480x640-de_64kbit_tts.jar
MIDlet-Jar-Size: 498605
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.47
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-480x640-de_64kbit_tts.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-480x640-de_tts.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-480x640-de_tts.jar
MIDlet-Jar-Size: 471869
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.47
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-480x640-de_tts.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-480x640-en_speedy.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-480x640-en_speedy.jar
MIDlet-Jar-Size: 484536
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.47
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-480x640-en_speedy.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-480x640-no_voice.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-480x640-no_voice.jar
MIDlet-Jar-Size: 445882
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.47
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-480x640-no_voice.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-480x640-wav.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-480x640-wav.jar
MIDlet-Jar-Size: 674861
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.47
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.47/DUBwise-480x640-wav.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/128x128/cldc10/de_64kbit_tts/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-128x128-cldc10-de_64kbit_tts-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-128x128-cldc10-de_64kbit_tts-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 159275
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/128x128/cldc10/de_64kbit_tts/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-128x128-cldc10-de_64kbit_tts-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/128x128/cldc10/de_tts/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-128x128-cldc10-de_tts-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-128x128-cldc10-de_tts-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 132539
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/128x128/cldc10/de_tts/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-128x128-cldc10-de_tts-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/128x128/cldc10/en_speedy/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-128x128-cldc10-en_speedy-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-128x128-cldc10-en_speedy-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 145206
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/128x128/cldc10/en_speedy/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-128x128-cldc10-en_speedy-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/128x128/cldc10/no_voice/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-128x128-cldc10-no_voice-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-128x128-cldc10-no_voice-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 106561
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/128x128/cldc10/no_voice/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-128x128-cldc10-no_voice-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/128x128/cldc10/wav/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-128x128-cldc10-wav-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-128x128-cldc10-wav-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 335531
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/128x128/cldc10/wav/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-128x128-cldc10-wav-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/128x128/cldc11/de_64kbit_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-128x128-cldc11-de_64kbit_tts-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-128x128-cldc11-de_64kbit_tts-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 164252
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/128x128/cldc11/de_64kbit_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-128x128-cldc11-de_64kbit_tts-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/128x128/cldc11/de_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-128x128-cldc11-de_tts-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-128x128-cldc11-de_tts-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 137516
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/128x128/cldc11/de_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-128x128-cldc11-de_tts-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/128x128/cldc11/en_speedy/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-128x128-cldc11-en_speedy-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-128x128-cldc11-en_speedy-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 150183
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/128x128/cldc11/en_speedy/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-128x128-cldc11-en_speedy-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/128x128/cldc11/no_voice/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-128x128-cldc11-no_voice-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-128x128-cldc11-no_voice-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 111541
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/128x128/cldc11/no_voice/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-128x128-cldc11-no_voice-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/128x128/cldc11/wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-128x128-cldc11-wav-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-128x128-cldc11-wav-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 340508
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/128x128/cldc11/wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-128x128-cldc11-wav-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/176x220/cldc10/de_64kbit_tts/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-176x220-cldc10-de_64kbit_tts-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-176x220-cldc10-de_64kbit_tts-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 201405
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/176x220/cldc10/de_64kbit_tts/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-176x220-cldc10-de_64kbit_tts-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/176x220/cldc10/de_tts/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-176x220-cldc10-de_tts-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-176x220-cldc10-de_tts-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 174669
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/176x220/cldc10/de_tts/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-176x220-cldc10-de_tts-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/176x220/cldc10/en_speedy/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-176x220-cldc10-en_speedy-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-176x220-cldc10-en_speedy-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 187336
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/176x220/cldc10/en_speedy/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-176x220-cldc10-en_speedy-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/176x220/cldc10/no_voice/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-176x220-cldc10-no_voice-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-176x220-cldc10-no_voice-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 148691
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/176x220/cldc10/no_voice/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-176x220-cldc10-no_voice-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/176x220/cldc10/wav/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-176x220-cldc10-wav-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-176x220-cldc10-wav-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 377661
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/176x220/cldc10/wav/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-176x220-cldc10-wav-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/176x220/cldc11/de_64kbit_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-176x220-cldc11-de_64kbit_tts-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-176x220-cldc11-de_64kbit_tts-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 206382
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/176x220/cldc11/de_64kbit_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-176x220-cldc11-de_64kbit_tts-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/176x220/cldc11/de_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-176x220-cldc11-de_tts-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-176x220-cldc11-de_tts-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 179646
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/176x220/cldc11/de_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-176x220-cldc11-de_tts-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/176x220/cldc11/en_speedy/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-176x220-cldc11-en_speedy-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-176x220-cldc11-en_speedy-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 192313
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/176x220/cldc11/en_speedy/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-176x220-cldc11-en_speedy-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/176x220/cldc11/no_voice/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-176x220-cldc11-no_voice-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-176x220-cldc11-no_voice-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 153671
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/176x220/cldc11/no_voice/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-176x220-cldc11-no_voice-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/176x220/cldc11/wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-176x220-cldc11-wav-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-176x220-cldc11-wav-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 382638
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/176x220/cldc11/wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-176x220-cldc11-wav-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/200x300/cldc10/de_64kbit_tts/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-200x300-cldc10-de_64kbit_tts-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-200x300-cldc10-de_64kbit_tts-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 230547
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/200x300/cldc10/de_64kbit_tts/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-200x300-cldc10-de_64kbit_tts-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/200x300/cldc10/de_tts/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-200x300-cldc10-de_tts-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-200x300-cldc10-de_tts-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 203811
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/200x300/cldc10/de_tts/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-200x300-cldc10-de_tts-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/200x300/cldc10/en_speedy/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-200x300-cldc10-en_speedy-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-200x300-cldc10-en_speedy-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 216478
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/200x300/cldc10/en_speedy/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-200x300-cldc10-en_speedy-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/200x300/cldc10/no_voice/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-200x300-cldc10-no_voice-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-200x300-cldc10-no_voice-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 177833
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/200x300/cldc10/no_voice/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-200x300-cldc10-no_voice-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/200x300/cldc10/wav/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-200x300-cldc10-wav-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-200x300-cldc10-wav-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 406803
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/200x300/cldc10/wav/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-200x300-cldc10-wav-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/200x300/cldc11/de_64kbit_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-200x300-cldc11-de_64kbit_tts-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-200x300-cldc11-de_64kbit_tts-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 235524
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/200x300/cldc11/de_64kbit_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-200x300-cldc11-de_64kbit_tts-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/200x300/cldc11/de_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-200x300-cldc11-de_tts-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-200x300-cldc11-de_tts-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 208788
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/200x300/cldc11/de_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-200x300-cldc11-de_tts-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/200x300/cldc11/en_speedy/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-200x300-cldc11-en_speedy-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-200x300-cldc11-en_speedy-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 221455
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/200x300/cldc11/en_speedy/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-200x300-cldc11-en_speedy-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/200x300/cldc11/no_voice/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-200x300-cldc11-no_voice-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-200x300-cldc11-no_voice-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 182813
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/200x300/cldc11/no_voice/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-200x300-cldc11-no_voice-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/200x300/cldc11/wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-200x300-cldc11-wav-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-200x300-cldc11-wav-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 411780
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/200x300/cldc11/wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-200x300-cldc11-wav-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/240x320/cldc10/de_64kbit_tts/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-240x320-cldc10-de_64kbit_tts-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-240x320-cldc10-de_64kbit_tts-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 214436
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/240x320/cldc10/de_64kbit_tts/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-240x320-cldc10-de_64kbit_tts-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/240x320/cldc10/de_tts/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-240x320-cldc10-de_tts-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-240x320-cldc10-de_tts-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 187700
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/240x320/cldc10/de_tts/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-240x320-cldc10-de_tts-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/240x320/cldc10/en_speedy/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-240x320-cldc10-en_speedy-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-240x320-cldc10-en_speedy-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 200367
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/240x320/cldc10/en_speedy/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-240x320-cldc10-en_speedy-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/240x320/cldc10/no_voice/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-240x320-cldc10-no_voice-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-240x320-cldc10-no_voice-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 161722
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/240x320/cldc10/no_voice/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-240x320-cldc10-no_voice-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/240x320/cldc10/wav/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-240x320-cldc10-wav-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-240x320-cldc10-wav-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 390692
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/240x320/cldc10/wav/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-240x320-cldc10-wav-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/240x320/cldc11/de_64kbit_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-240x320-cldc11-de_64kbit_tts-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-240x320-cldc11-de_64kbit_tts-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 219413
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/240x320/cldc11/de_64kbit_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-240x320-cldc11-de_64kbit_tts-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/240x320/cldc11/de_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-240x320-cldc11-de_tts-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-240x320-cldc11-de_tts-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 192677
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/240x320/cldc11/de_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-240x320-cldc11-de_tts-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/240x320/cldc11/en_speedy/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-240x320-cldc11-en_speedy-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-240x320-cldc11-en_speedy-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 205344
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/240x320/cldc11/en_speedy/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-240x320-cldc11-en_speedy-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/240x320/cldc11/no_voice/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-240x320-cldc11-no_voice-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-240x320-cldc11-no_voice-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 166702
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/240x320/cldc11/no_voice/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-240x320-cldc11-no_voice-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/240x320/cldc11/wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-240x320-cldc11-wav-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-240x320-cldc11-wav-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 395669
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/240x320/cldc11/wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-240x320-cldc11-wav-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/340x400/cldc10/de_64kbit_tts/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-340x400-cldc10-de_64kbit_tts-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-340x400-cldc10-de_64kbit_tts-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 312985
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/340x400/cldc10/de_64kbit_tts/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-340x400-cldc10-de_64kbit_tts-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/340x400/cldc10/de_tts/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-340x400-cldc10-de_tts-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-340x400-cldc10-de_tts-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 286249
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/340x400/cldc10/de_tts/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-340x400-cldc10-de_tts-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/340x400/cldc10/en_speedy/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-340x400-cldc10-en_speedy-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-340x400-cldc10-en_speedy-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 298916
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/340x400/cldc10/en_speedy/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-340x400-cldc10-en_speedy-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/340x400/cldc10/no_voice/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-340x400-cldc10-no_voice-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-340x400-cldc10-no_voice-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 260271
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/340x400/cldc10/no_voice/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-340x400-cldc10-no_voice-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/340x400/cldc10/wav/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-340x400-cldc10-wav-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-340x400-cldc10-wav-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 489241
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/340x400/cldc10/wav/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-340x400-cldc10-wav-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/340x400/cldc11/de_64kbit_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-340x400-cldc11-de_64kbit_tts-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-340x400-cldc11-de_64kbit_tts-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 317962
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/340x400/cldc11/de_64kbit_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-340x400-cldc11-de_64kbit_tts-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/340x400/cldc11/de_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-340x400-cldc11-de_tts-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-340x400-cldc11-de_tts-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 291226
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/340x400/cldc11/de_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-340x400-cldc11-de_tts-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/340x400/cldc11/en_speedy/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-340x400-cldc11-en_speedy-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-340x400-cldc11-en_speedy-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 303893
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/340x400/cldc11/en_speedy/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-340x400-cldc11-en_speedy-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/340x400/cldc11/no_voice/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-340x400-cldc11-no_voice-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-340x400-cldc11-no_voice-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 265251
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/340x400/cldc11/no_voice/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-340x400-cldc11-no_voice-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/340x400/cldc11/wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-340x400-cldc11-wav-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-340x400-cldc11-wav-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 494218
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/340x400/cldc11/wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-340x400-cldc11-wav-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/480x640/cldc10/de_64kbit_tts/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-480x640-cldc10-de_64kbit_tts-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-480x640-cldc10-de_64kbit_tts-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 495025
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/480x640/cldc10/de_64kbit_tts/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-480x640-cldc10-de_64kbit_tts-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/480x640/cldc10/de_tts/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-480x640-cldc10-de_tts-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-480x640-cldc10-de_tts-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 468289
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/480x640/cldc10/de_tts/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-480x640-cldc10-de_tts-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/480x640/cldc10/en_speedy/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-480x640-cldc10-en_speedy-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-480x640-cldc10-en_speedy-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 480956
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/480x640/cldc10/en_speedy/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-480x640-cldc10-en_speedy-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/480x640/cldc10/no_voice/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-480x640-cldc10-no_voice-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-480x640-cldc10-no_voice-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 442311
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/480x640/cldc10/no_voice/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-480x640-cldc10-no_voice-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/480x640/cldc10/wav/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-480x640-cldc10-wav-bluetooth_off-fileapi_off-devicecontrol_off.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-480x640-cldc10-wav-bluetooth_off-fileapi_off-devicecontrol_off.jar
MIDlet-Jar-Size: 671281
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/480x640/cldc10/wav/bluetooth_off/fileapi_off/devicecontrol_off/DUBwise-480x640-cldc10-wav-bluetooth_off-fileapi_off-devicecontrol_off.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/480x640/cldc11/de_64kbit_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-480x640-cldc11-de_64kbit_tts-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-480x640-cldc11-de_64kbit_tts-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 500002
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/480x640/cldc11/de_64kbit_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-480x640-cldc11-de_64kbit_tts-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/480x640/cldc11/de_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-480x640-cldc11-de_tts-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-480x640-cldc11-de_tts-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 473266
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/480x640/cldc11/de_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-480x640-cldc11-de_tts-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/480x640/cldc11/en_speedy/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-480x640-cldc11-en_speedy-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-480x640-cldc11-en_speedy-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 485933
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/480x640/cldc11/en_speedy/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-480x640-cldc11-en_speedy-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/480x640/cldc11/no_voice/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-480x640-cldc11-no_voice-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-480x640-cldc11-no_voice-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 447291
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/480x640/cldc11/no_voice/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-480x640-cldc11-no_voice-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48/480x640/cldc11/wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-480x640-cldc11-wav-bluetooth_on-fileapi_on-devicecontrol_on.jad
0,0 → 1,8
MIDlet-Jar-URL: DUBwise-480x640-cldc11-wav-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 676258
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.48
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/tags/pre_0.50/bin/v0.48/480x640/cldc11/wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-480x640-cldc11-wav-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/bin/v0.48
Property changes:
Added: svn:mergeinfo
/DUBwise/tags/pre_0.50/bin
Property changes:
Added: svn:mergeinfo
/DUBwise/tags/pre_0.50/misc/pc-komp-ref/definitions
0,0 → 1,234
--Kanalbelegung[8]
to_cat("Channels", [
 
{:pos=>act_pos , :name=>"Nick" , :typ=>"STICK" },
{:pos=>act_pos+1 , :name=>"Roll" , :typ=>"STICK" },
{:pos=>act_pos+2 , :name=>"Accelerate" , :typ=>"STICK" },
{:pos=>act_pos+3 , :name=>"Gier" , :typ=>"STICK" },
{:pos=>act_pos+4 , :name=>"POTI1" , :typ=>"STICK" },
{:pos=>act_pos+5 , :name=>"POTI2" , :typ=>"STICK" },
{:pos=>act_pos+6 , :name=>"POTI3" , :typ=>"STICK" },
{:pos=>act_pos+7 , :name=>"POTI4" , :typ=>"STICK" },
])
 
act_pos+=8
 
--GlobalConfigOld;
 
to_cat("Configuration", [
{:pos=>act_pos*8 , :name=>"ALTITUDE_CONTROL" , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+1 , :name=>"Switch for Setpoint" , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+2 , :name=>"Heading Hold" , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+3 , :name=>"Compas Active" , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+5 , :name=>"GPS" , :typ=>"BITSWITCH" },
])
 
 
act_pos+=1
 
--GlobalConfig;
 
to_cat("Configuration", [
{:pos=>act_pos*8 , :name=>"ALTITUDE_CONTROL" , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+1 , :name=>"Switch for Setpoint" , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+2 , :name=>"Heading Hold" , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+3 , :name=>"Compas Active" , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+4 , :name=>"Compas Fix" , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+5 , :name=>"GPS" , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+6 , :name=>"Coupling" , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+7 , :name=>"Yaw Rate Limiter" , :typ=>"BITSWITCH" }
])
 
 
act_pos+=1
 
--Hoehe_MinGas
to_cat("Altitude", [{ :pos=>act_pos , :name=>"Min. Accelerate" , :typ=>"BYTE" }] )
act_pos+=1
--Luftdruck_D
to_cat("Altitude", [{ :pos=>act_pos , :name=>"Barometric D" , :typ=>"BYTE" }] )
act_pos+=1
--MaxHoehe
to_cat("Altitude", [{ :pos=>act_pos , :name=>"Setpoint" , :typ=>"BYTE" }] )
act_pos+=1
--Hoehe_P
to_cat("Altitude", [{ :pos=>act_pos , :name=>"Altitude P" , :typ=>"BYTE" }] )
act_pos+=1
--Hoehe_Verstaerkung
to_cat("Altitude", [{ :pos=>act_pos , :name=>"Gain" , :typ=>"BYTE" }] )
act_pos+=1
--Hoehe_ACC_Wirkung
to_cat("Altitude", [{ :pos=>act_pos , :name=>"Z-ACC" , :typ=>"BYTE" }] )
act_pos+=1
--Stick_P
to_cat("Stick", [{ :pos=>act_pos , :name=>"Nick/Roll P" , :typ=>"BYTE" }] )
act_pos+=1
--Stick_D
to_cat("Stick", [{ :pos=>act_pos , :name=>"Nick/Roll D" , :typ=>"BYTE" }] )
act_pos+=1
--Gier_P
to_cat("Stick", [{ :pos=>act_pos , :name=>"Gier P" , :typ=>"BYTE" }] )
act_pos+=1
--Gas_Min
to_cat("Other", [{ :pos=>act_pos , :name=>"Min Gas" , :typ=>"BYTE" }] )
act_pos+=1
--Gas_Max
to_cat("Other", [{ :pos=>act_pos , :name=>"Max Gas" , :typ=>"BYTE" }] )
act_pos+=1
--GyroAccFaktor
to_cat("Gyro", [{ :pos=>act_pos , :name=>"ACC/Gyro Factor" , :typ=>"BYTE" }] )
act_pos+=1
--KompassWirkung
to_cat("Other", [{ :pos=>act_pos , :name=>"Compass Effect" , :typ=>"BYTE" }] )
act_pos+=1
--Gyro_P
to_cat("Gyro", [{ :pos=>act_pos , :name=>"P-Rate" , :typ=>"BYTE" }] )
act_pos+=1
--Gyro_I
to_cat("Gyro", [{ :pos=>act_pos , :name=>"I-Rate" , :typ=>"BYTE" }] )
act_pos+=1
--UnterspannungsWarnung
to_cat("Other", [{ :pos=>act_pos , :name=>"Voltage Warning" , :typ=>"BYTE" }] )
act_pos+=1
--NotGas;
to_cat("Other", [{ :pos=>act_pos , :name=>"Distress Gas" , :typ=>"BYTE" }] )
act_pos+=1
--NotGasZeit
to_cat("Other", [{ :pos=>act_pos , :name=>"Distress Gas Time" , :typ=>"BYTE" }] )
act_pos+=1
--UfoAusrichtung
act_pos+=1
--I_Faktor
act_pos+=1
--UserParam1
to_cat("User", [{ :pos=>act_pos , :name=>"Param 1" , :typ=>"BYTE" }] )
act_pos+=1
--UserParam2
to_cat("User", [{ :pos=>act_pos , :name=>"Param 2" , :typ=>"BYTE" }] )
act_pos+=1
--UserParam3
to_cat("User", [{ :pos=>act_pos , :name=>"Param 3" , :typ=>"BYTE" }] )
act_pos+=1
--UserParam4
to_cat("User", [{ :pos=>act_pos , :name=>"Param 4" , :typ=>"BYTE" }] )
act_pos+=1
--ServoNickControl
to_cat("Camera", [{ :pos=>act_pos , :name=>"Servo control" , :typ=>"BYTE" }] )
act_pos+=1
--ServoNickComp;
to_cat("Camera", [{ :pos=>act_pos , :name=>"Nick compensation" , :typ=>"BYTE" }] )
act_pos+=1
--ServoNickMin
to_cat("Camera", [{ :pos=>act_pos , :name=>"Servo min" , :typ=>"BYTE" }] )
act_pos+=1
--ServoNickMax
to_cat("Camera", [{ :pos=>act_pos , :name=>"Servo max" , :typ=>"BYTE" }] )
act_pos+=1
--ServoNickRefresh
to_cat("Camera", [{ :pos=>act_pos , :name=>"Refresh rate" , :typ=>"BYTE" }] )
act_pos+=1
--LoopGasLimit
to_cat("Looping", [{ :pos=>act_pos , :name=>"Gas Limit" , :typ=>"BYTE" }] )
act_pos+=1
--LoopThreshold
to_cat("Looping", [{ :pos=>act_pos , :name=>"Threshold" , :typ=>"BYTE" }] )
act_pos+=1
--LoopHysterese
to_cat("Looping", [{ :pos=>act_pos , :name=>"Hysterese" , :typ=>"BYTE" }] )
act_pos+=1
--AchsKopplung1
to_cat("Coupling", [{ :pos=>act_pos , :name=>"Yaw pos. feedback" , :typ=>"BYTE" }] )
act_pos+=1
--AchsGegenKopplung1
to_cat("Coupling", [{ :pos=>act_pos , :name=>"Yaw neg. feedback" , :typ=>"BYTE" }] )
act_pos+=1
--WinkelUmschlagNick
to_cat("Looping", [{ :pos=>act_pos , :name=>"TurnOver Nick" , :typ=>"BYTE" }] )
act_pos+=1
--WinkelUmschlagRoll
to_cat("Looping", [{ :pos=>act_pos , :name=>"TurnOver Roll" , :typ=>"BYTE" }] )
act_pos+=1
--GyroAccAbgleich
to_cat("Gyro", [{ :pos=>act_pos , :name=>"ACC/Gyro Comp" , :typ=>"BYTE" }] )
act_pos+=1
--Driftkomp
to_cat("Gyro", [{ :pos=>act_pos , :name=>"Drift-Compensation" , :typ=>"BYTE" }] )
act_pos+=1
--DynamicStability
to_cat("Gyro", [{ :pos=>act_pos , :name=>"Dynamic stability" , :typ=>"BYTE" }] )
act_pos+=1
--UserParam5
to_cat("User", [{ :pos=>act_pos , :name=>"Param 5" , :typ=>"BYTE" }] )
act_pos+=1
--UserParam6
to_cat("User", [{ :pos=>act_pos , :name=>"Param 6" , :typ=>"BYTE" }] )
act_pos+=1
--UserParam7
to_cat("User", [{ :pos=>act_pos , :name=>"Param 7" , :typ=>"BYTE" }] )
act_pos+=1
--UserParam8
to_cat("User", [{ :pos=>act_pos , :name=>"Param 8" , :typ=>"BYTE" }] )
act_pos+=1
--LoopConfig
 
to_cat("Looping", [
{:pos=>act_pos*8 , :name=>"UP" , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+1 , :name=>"DOWN" , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+2 , :name=>"LEFT" , :typ=>"BITSWITCH" },
{:pos=>act_pos*8+3 , :name=>"RIGHT" , :typ=>"BITSWITCH" }
])
act_pos+=1
--ServoNickCompInvert
to_cat("Camera", [{ :pos=>act_pos*8 , :name=>"Invert Direction" , :typ=>"BITSWITCH" }] )
act_pos+=1
--J16Bitmask
to_cat("Output", [{ :pos=>act_pos , :name=>"J16 Bitmask" , :typ=>"BYTE" }] )
act_pos+=1
--J16Timing
to_cat("Output", [{ :pos=>act_pos , :name=>"J16 Timing" , :typ=>"BYTE" }] )
act_pos+=1
--J17Bitmask
to_cat("Output", [{ :pos=>act_pos , :name=>"J17 Bitmask" , :typ=>"BYTE" }] )
act_pos+=1
--J17Timing
to_cat("Output", [{ :pos=>act_pos , :name=>"J17 Timing" , :typ=>"BYTE" }] )
act_pos+=1
--NaviGpsModeControl
to_cat("Navi", [{ :pos=>act_pos , :name=>"Mode Control" , :typ=>"BYTE" }] )
act_pos+=1
--NaviGpsGain
to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-Gain" , :typ=>"BYTE" }] )
act_pos+=1
--NaviGpsP
to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-P" , :typ=>"BYTE" }] )
act_pos+=1
--NaviGpsI
to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-I" , :typ=>"BYTE" }] )
act_pos+=1
--NaviGpsD
to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-D" , :typ=>"BYTE" }] )
act_pos+=1
--NaviGpsACC
to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-ACC" , :typ=>"BYTE" }] )
act_pos+=1
--NaviGpsMinSat
to_cat("Navi", [{ :pos=>act_pos , :name=>"Satelite Minimum" , :typ=>"BYTE" }] )
act_pos+=1
--NaviStickThreshold
to_cat("Navi", [{ :pos=>act_pos , :name=>"Stick Threhsold" , :typ=>"BYTE" }] )
act_pos+=1
--ExternalControl
to_cat("Stick", [{ :pos=>act_pos , :name=>"External Control" , :typ=>"BYTE" }] )
act_pos+=1
 
 
--Reserved[4]
act_pos+=4
--Reserved[7]
act_pos+=7
--Name[12]
name_pos=act_pos
act_pos+=12
end_pos=act_pos
 
/DUBwise/tags/pre_0.50/misc/pc-komp-ref/generate.rb
0,0 → 1,123
require 'rio'
 
 
all_tabs=[]
 
all_names=[]
all_positions=[]
all_types=[]
 
all_namestarts=[]
all_lengths=[]
 
function_hash={}
act_name=""
rio("definitions").read.each_line { |line|
 
if line =~ /--/
act_name=line.split("--")[1].delete!("\r\n")
function_hash[act_name]=""
else
function_hash[act_name] << line
end
}
 
#puts function_hash.inspect
#exit
 
Dir["header_files/*.h"].sort.each { |e|
puts "----------------" + e
new=""
start=false
rio(e).each_line { |l|
start=true if l =~ /struct\r/
start=false if l =~ /\}/
if (l =~ /;/ ) && start
new << l
end
 
}
 
act_pos=0
name_pos=0
end_pos=0
@categorys=[]
@category={}
def to_cat(name,items)
@categorys << name
@category[name]=[] if !@category[name]
@category[name] |= items
end
 
 
 
new.each_line { |l|
found=false
function_hash.each_pair { |k,v|
if l.scan(k)!=[]
found=true
p "found" + k
puts v
puts act_pos
instance_eval(v)
end
}
if !found
p "Fatal: line not found " + l
# p "stopping process"
# exit
end
}
#p @category
@categorys.uniq!
@categorys.sort!
all_tabs << ["{\"" + @categorys.join("\",\"") + "\"}"]
puts "[\"" + @categorys.join("\",\"") + "\"]"
 
 
all_names << ["{"+@categorys.map { |c|
"{\"" + @category[c].map { |e|
e[:name]
}.join("\",\"") + "\"}"
}.join(",")+"}"]
 
all_positions << ["{"+@categorys.map { |c|
"{" + @category[c].map { |e|
e[:pos]
}.join(",") + "}"
}.join(",")+"}"]
 
all_types << ["{"+ @categorys.map { |c|
"{PARAMTYPE_" + @category[c].map { |e|
e[:typ]
}.join(",PARAMTYPE_") + "}"
}.join(",") + "}"]
 
all_namestarts << name_pos
all_lengths << end_pos
#rio(e+".new") <new
 
 
 
 
 
}
 
puts "// -- start generated code --"
puts "public final static int PARAMTYPE_BYTE=0;"
puts "public final static int PARAMTYPE_BITSWITCH=1;"
puts "public final static int PARAMTYPE_STICK=2;"
puts "public final static String[][] all_tab_names={"+all_tabs.join(",")+"};"
puts "public final static String[][][] all_field_names={"+all_names.join(",")+"};"
puts "public final static int[][][] all_field_positions={"+all_positions.join(",")+"};"
puts "public final static int[][][] all_field_types={"+all_types.join(",")+"};"
 
 
puts "public final static int[] all_name_positions={"+all_namestarts.join(",")+"};"
puts "public final static int[] all_lengths={"+all_lengths.join(",")+"};"
puts "// -- end generated code --"
/DUBwise/tags/pre_0.50/misc/pc-komp-ref/header_files/4.h
0,0 → 1,106
/*#######################################################################################
Flight Control
#######################################################################################*/
 
#ifndef _FC_H
#define _FC_H
 
extern volatile unsigned char Timeout;
extern unsigned char Sekunde,Minute;
extern volatile long IntegralNick,IntegralNick2;
extern volatile long IntegralRoll,IntegralRoll2;
extern volatile long Mess_IntegralNick,Mess_IntegralNick2;
extern volatile long Mess_IntegralRoll,Mess_IntegralRoll2;
extern volatile long Mess_Integral_Hoch;
extern volatile long Integral_Gier,Mess_Integral_Gier,Mess_Integral_Gier2;
extern volatile int KompassValue;
extern volatile int KompassStartwert;
extern volatile int KompassRichtung;
extern int HoehenWert;
extern int SollHoehe;
extern volatile int MesswertNick,MesswertRoll,MesswertGier;
extern volatile int AdNeutralNick,AdNeutralRoll,AdNeutralGier, Mittelwert_AccNick, Mittelwert_AccRoll;
extern volatile int NeutralAccX, NeutralAccY,Mittelwert_AccHoch;
extern volatile float NeutralAccZ;
 
 
void MotorRegler(void);
void SendMotorData(void);
void CalibrierMittelwert(void);
void Mittelwert(void);
void SetNeutral(void);
 
unsigned char h,m,s;
volatile unsigned char Timeout ;
unsigned char CosinusNickWinkel, CosinusRollWinkel;
volatile long IntegralNick,IntegralNick2;
volatile long IntegralRoll,IntegralRoll2;
volatile long Integral_Gier;
volatile long Mess_IntegralNick,Mess_IntegralNick2;
volatile long Mess_IntegralRoll,Mess_IntegralRoll2;
volatile long Mess_Integral_Gier;
volatile int DiffNick,DiffRoll;
extern int Poti1, Poti2, Poti3, Poti4;
volatile unsigned char Motor_Vorne,Motor_Hinten,Motor_Rechts,Motor_Links, Count;
unsigned char MotorWert[5];
volatile unsigned char SenderOkay;
int StickNick,StickRoll,StickGier;
char MotorenEin;
extern void DefaultKonstanten(void);
 
#define STRUCT_PARAM_LAENGE 58
struct mk_param_struct
{
unsigned char Kanalbelegung[8]; // GAS[0], GIER[1],NICK[2], ROLL[3], POTI1, POTI2, POTI3
unsigned char GlobalConfig; // 0x01=Höhenregler aktiv,0x02=Kompass aktiv, 0x04=GPS aktiv, 0x08=Heading Hold aktiv
unsigned char Hoehe_MinGas; // Wert : 0-100
unsigned char Luftdruck_D; // Wert : 0-250
unsigned char MaxHoehe; // Wert : 0-32
unsigned char Hoehe_P; // Wert : 0-32
unsigned char Hoehe_Verstaerkung; // Wert : 0-50
unsigned char Hoehe_ACC_Wirkung; // Wert : 0-250
unsigned char Stick_P; // Wert : 1-6
unsigned char Stick_D; // Wert : 0-64
unsigned char Gier_P; // Wert : 1-20
unsigned char Gas_Min; // Wert : 0-32
unsigned char Gas_Max; // Wert : 33-250
unsigned char GyroAccFaktor; // Wert : 1-64
unsigned char KompassWirkung; // Wert : 0-32
unsigned char Gyro_P; // Wert : 10-250
unsigned char Gyro_I; // Wert : 0-250
unsigned char UnterspannungsWarnung; // Wert : 0-250
unsigned char NotGas; // Wert : 0-250 //Gaswert bei Empängsverlust
unsigned char NotGasZeit; // Wert : 0-250 // Zeitbis auf NotGas geschaltet wird, wg. Rx-Problemen
unsigned char UfoAusrichtung; // X oder + Formation
unsigned char I_Faktor; // Wert : 0-250
unsigned char UserParam1; // Wert : 0-250
unsigned char UserParam2; // Wert : 0-250
unsigned char UserParam3; // Wert : 0-250
unsigned char UserParam4; // Wert : 0-250
unsigned char ServoNickControl; // Wert : 0-250 // Stellung des Servos
unsigned char ServoNickComp; // Wert : 0-250 // Einfluss Gyro/Servo
unsigned char ServoNickMin; // Wert : 0-250 // Anschlag
unsigned char ServoNickMax; // Wert : 0-250 // Anschlag
unsigned char ServoNickRefresh; // Wert : 0-250 // Richtung Einfluss Gyro/Servo
unsigned char ServoNickCompInvert; // Wert : 0-250 // Richtung Einfluss Gyro/Servo
unsigned char Reserved[7];
char Name[12];
};
 
 
 
 
extern struct mk_param_struct EE_Parameter;
 
extern unsigned char Parameter_Luftdruck_D;
extern unsigned char Parameter_MaxHoehe;
extern unsigned char Parameter_Hoehe_P;
extern unsigned char Parameter_Hoehe_ACC_Wirkung;
extern unsigned char Parameter_KompassWirkung;
extern unsigned char Parameter_Gyro_P;
extern unsigned char Parameter_Gyro_I;
extern unsigned char Parameter_Gier_P;
extern unsigned char Parameter_ServoNickControl;
 
#endif //_FC_H
 
/DUBwise/tags/pre_0.50/misc/pc-komp-ref/header_files/5.h
0,0 → 1,119
/*#######################################################################################
Flight Control
#######################################################################################*/
 
#ifndef _FC_H
#define _FC_H
 
extern volatile unsigned int I2CTimeout;
extern unsigned char Sekunde,Minute;
extern volatile long IntegralNick,IntegralNick2;
extern volatile long IntegralRoll,IntegralRoll2;
extern volatile long Mess_IntegralNick,Mess_IntegralNick2;
extern volatile long Mess_IntegralRoll,Mess_IntegralRoll2;
extern volatile long Mess_Integral_Hoch;
extern volatile long Integral_Gier,Mess_Integral_Gier,Mess_Integral_Gier2;
extern volatile int KompassValue;
extern volatile int KompassStartwert;
extern volatile int KompassRichtung;
extern int HoehenWert;
extern int SollHoehe;
extern volatile int MesswertNick,MesswertRoll,MesswertGier;
extern volatile int AdNeutralNick,AdNeutralRoll,AdNeutralGier, Mittelwert_AccNick, Mittelwert_AccRoll;
extern volatile int NeutralAccX, NeutralAccY,Mittelwert_AccHoch;
extern volatile float NeutralAccZ;
 
 
void MotorRegler(void);
void SendMotorData(void);
void CalibrierMittelwert(void);
void Mittelwert(void);
void SetNeutral(void);
 
unsigned char h,m,s;
volatile unsigned char Timeout ;
unsigned char CosinusNickWinkel, CosinusRollWinkel;
volatile long IntegralNick,IntegralNick2;
volatile long IntegralRoll,IntegralRoll2;
volatile long Integral_Gier;
volatile long Mess_IntegralNick,Mess_IntegralNick2;
volatile long Mess_IntegralRoll,Mess_IntegralRoll2;
volatile long Mess_Integral_Gier;
volatile int DiffNick,DiffRoll;
extern int Poti1, Poti2, Poti3, Poti4;
volatile unsigned char Motor_Vorne,Motor_Hinten,Motor_Rechts,Motor_Links, Count;
unsigned char MotorWert[5];
volatile unsigned char SenderOkay;
int StickNick,StickRoll,StickGier;
char MotorenEin;
extern void DefaultKonstanten(void);
 
#define STRUCT_PARAM_LAENGE 58
struct mk_param_struct
{
unsigned char Kanalbelegung[8]; // GAS[0], GIER[1],NICK[2], ROLL[3], POTI1, POTI2, POTI3
unsigned char GlobalConfig; // 0x01=Höhenregler aktiv,0x02=Kompass aktiv, 0x04=GPS aktiv, 0x08=Heading Hold aktiv
unsigned char Hoehe_MinGas; // Wert : 0-100
unsigned char Luftdruck_D; // Wert : 0-250
unsigned char MaxHoehe; // Wert : 0-32
unsigned char Hoehe_P; // Wert : 0-32
unsigned char Hoehe_Verstaerkung; // Wert : 0-50
unsigned char Hoehe_ACC_Wirkung; // Wert : 0-250
unsigned char Stick_P; // Wert : 1-6
unsigned char Stick_D; // Wert : 0-64
unsigned char Gier_P; // Wert : 1-20
unsigned char Gas_Min; // Wert : 0-32
unsigned char Gas_Max; // Wert : 33-250
unsigned char GyroAccFaktor; // Wert : 1-64
unsigned char KompassWirkung; // Wert : 0-32
unsigned char Gyro_P; // Wert : 10-250
unsigned char Gyro_I; // Wert : 0-250
unsigned char UnterspannungsWarnung; // Wert : 0-250
unsigned char NotGas; // Wert : 0-250 //Gaswert bei Empängsverlust
unsigned char NotGasZeit; // Wert : 0-250 // Zeitbis auf NotGas geschaltet wird, wg. Rx-Problemen
unsigned char UfoAusrichtung; // X oder + Formation
unsigned char I_Faktor; // Wert : 0-250
unsigned char UserParam1; // Wert : 0-250
unsigned char UserParam2; // Wert : 0-250
unsigned char UserParam3; // Wert : 0-250
unsigned char UserParam4; // Wert : 0-250
unsigned char ServoNickControl; // Wert : 0-250 // Stellung des Servos
unsigned char ServoNickComp; // Wert : 0-250 // Einfluss Gyro/Servo
unsigned char ServoNickMin; // Wert : 0-250 // Anschlag
unsigned char ServoNickMax; // Wert : 0-250 // Anschlag
unsigned char ServoNickRefresh; //
unsigned char LoopGasLimit; // Wert: 0-250 max. Gas während Looping
unsigned char LoopThreshold; // Wert: 0-250 Schwelle für Stickausschlag
//------------------------------------------------
unsigned char LoopConfig; // Bitcodiert: 0x01=oben, 0x02=unten, 0x04=links, 0x08=rechts / wird getrennt behandelt
unsigned char ServoNickCompInvert; // Wert : 0-250 0 oder 1 // WICHTIG!!! am Ende lassen
unsigned char Reserved[4];
char Name[12];
};
 
/*
unsigned char ServoNickMax; // Wert : 0-250
unsigned char ServoNickRefresh; //
unsigned char LoopGasLimit; // Wert: 0-250 max. Gas während Looping
unsigned char LoopThreshold; // Wert: 0-250 Schwelle für Stickausschlag
//------------------------------------------------
unsigned char LoopConfig; // Bitcodiert: 0x01=oben, 0x02=unten, 0x04=links, 0x08=rechts / wird getrennt behandelt
unsigned char ServoNickCompInvert; // Wert : 0-250 0 oder 1 // WICHTIG!!! am Ende lassen
unsigned char Reserved[4];
char Name[12];
*/
extern struct mk_param_struct EE_Parameter;
 
extern unsigned char Parameter_Luftdruck_D;
extern unsigned char Parameter_MaxHoehe;
extern unsigned char Parameter_Hoehe_P;
extern unsigned char Parameter_Hoehe_ACC_Wirkung;
extern unsigned char Parameter_KompassWirkung;
extern unsigned char Parameter_Gyro_P;
extern unsigned char Parameter_Gyro_I;
extern unsigned char Parameter_Gier_P;
extern unsigned char Parameter_ServoNickControl;
 
#endif //_FC_H
 
/DUBwise/tags/pre_0.50/misc/pc-komp-ref/header_files/6.h
0,0 → 1,137
/*#######################################################################################
Flight Control
#######################################################################################*/
 
#ifndef _FC_H
#define _FC_H
 
extern volatile unsigned int I2CTimeout;
extern unsigned char Sekunde,Minute;
extern volatile long IntegralNick,IntegralNick2;
extern volatile long IntegralRoll,IntegralRoll2;
extern volatile long Mess_IntegralNick,Mess_IntegralNick2;
extern volatile long Mess_IntegralRoll,Mess_IntegralRoll2;
extern volatile long IntegralAccNick,IntegralAccRoll;
extern volatile long Mess_Integral_Hoch;
extern volatile long Integral_Gier,Mess_Integral_Gier,Mess_Integral_Gier2;
extern volatile int KompassValue;
extern volatile int KompassStartwert;
extern volatile int KompassRichtung;
extern int HoehenWert;
extern int SollHoehe;
extern volatile int MesswertNick,MesswertRoll,MesswertGier;
extern volatile int AdNeutralNick,AdNeutralRoll,AdNeutralGier, Mittelwert_AccNick, Mittelwert_AccRoll;
extern volatile int NeutralAccX, NeutralAccY,Mittelwert_AccHoch;
extern volatile float NeutralAccZ;
extern long Umschlag180Nick, Umschlag180Roll;
 
void MotorRegler(void);
void SendMotorData(void);
void CalibrierMittelwert(void);
void Mittelwert(void);
void SetNeutral(void);
void Piep(unsigned char Anzahl);
extern void DefaultKonstanten(void);
void DefaultKonstanten1(void);
void DefaultKonstanten2(void);
 
extern unsigned char h,m,s;
extern volatile unsigned char Timeout ;
extern unsigned char CosinusNickWinkel, CosinusRollWinkel;
extern volatile long IntegralNick,IntegralNick2;
extern volatile long IntegralRoll,IntegralRoll2;
extern volatile long Integral_Gier;
extern volatile long Mess_IntegralNick,Mess_IntegralNick2;
extern volatile long Mess_IntegralRoll,Mess_IntegralRoll2;
extern volatile long Mess_Integral_Gier;
extern volatile int DiffNick,DiffRoll;
extern int Poti1, Poti2, Poti3, Poti4;
extern volatile unsigned char Motor_Vorne,Motor_Hinten,Motor_Rechts,Motor_Links, Count;
extern unsigned char MotorWert[5];
extern volatile unsigned char SenderOkay;
extern int StickNick,StickRoll,StickGier;
extern char MotorenEin;
extern void DefaultKonstanten1(void);
extern void DefaultKonstanten2(void);
 
#define STRUCT_PARAM_LAENGE 65
struct mk_param_struct
{
unsigned char Kanalbelegung[8]; // GAS[0], GIER[1],NICK[2], ROLL[3], POTI1, POTI2, POTI3
unsigned char GlobalConfig; // 0x01=Höhenregler aktiv,0x02=Kompass aktiv, 0x04=GPS aktiv, 0x08=Heading Hold aktiv
unsigned char Hoehe_MinGas; // Wert : 0-100
unsigned char Luftdruck_D; // Wert : 0-250
unsigned char MaxHoehe; // Wert : 0-32
unsigned char Hoehe_P; // Wert : 0-32
unsigned char Hoehe_Verstaerkung; // Wert : 0-50
unsigned char Hoehe_ACC_Wirkung; // Wert : 0-250
unsigned char Stick_P; // Wert : 1-6
unsigned char Stick_D; // Wert : 0-64
unsigned char Gier_P; // Wert : 1-20
unsigned char Gas_Min; // Wert : 0-32
unsigned char Gas_Max; // Wert : 33-250
unsigned char GyroAccFaktor; // Wert : 1-64
unsigned char KompassWirkung; // Wert : 0-32
unsigned char Gyro_P; // Wert : 10-250
unsigned char Gyro_I; // Wert : 0-250
unsigned char UnterspannungsWarnung; // Wert : 0-250
unsigned char NotGas; // Wert : 0-250 //Gaswert bei Empängsverlust
unsigned char NotGasZeit; // Wert : 0-250 // Zeitbis auf NotGas geschaltet wird, wg. Rx-Problemen
unsigned char UfoAusrichtung; // X oder + Formation
unsigned char I_Faktor; // Wert : 0-250
unsigned char UserParam1; // Wert : 0-250
unsigned char UserParam2; // Wert : 0-250
unsigned char UserParam3; // Wert : 0-250
unsigned char UserParam4; // Wert : 0-250
unsigned char ServoNickControl; // Wert : 0-250 // Stellung des Servos
unsigned char ServoNickComp; // Wert : 0-250 // Einfluss Gyro/Servo
unsigned char ServoNickMin; // Wert : 0-250 // Anschlag
unsigned char ServoNickMax; // Wert : 0-250 // Anschlag
unsigned char ServoNickRefresh; //
unsigned char LoopGasLimit; // Wert: 0-250 max. Gas während Looping
unsigned char LoopThreshold; // Wert: 0-250 Schwelle für Stickausschlag
unsigned char LoopHysterese; // Wert: 0-250 Hysterese für Stickausschlag
unsigned char AchsKopplung1; // Wert: 0-250 Faktor, mit dem Gier die Achsen Roll und Nick koppelt (NickRollMitkopplung)
unsigned char AchsGegenKopplung1; // Wert: 0-250 Faktor, mit dem Gier die Achsen Roll und Nick Gegenkoppelt (NickRollGegenkopplung)
unsigned char WinkelUmschlagNick; // Wert: 0-250 180°-Punkt
unsigned char WinkelUmschlagRoll; // Wert: 0-250 180°-Punkt
unsigned char GyroAccAbgleich; // 1/k (Koppel_ACC_Wirkung)
unsigned char Driftkomp;
//------------------------------------------------
unsigned char LoopConfig; // Bitcodiert: 0x01=oben, 0x02=unten, 0x04=links, 0x08=rechts / wird getrennt behandelt
unsigned char ServoNickCompInvert; // Wert : 0-250 0 oder 1 // WICHTIG!!! am Ende lassen
unsigned char Reserved[4];
char Name[12];
};
 
 
/*
unsigned char ServoNickMax; // Wert : 0-250
unsigned char ServoNickRefresh; //
unsigned char LoopGasLimit; // Wert: 0-250 max. Gas während Looping
unsigned char LoopThreshold; // Wert: 0-250 Schwelle für Stickausschlag
//------------------------------------------------
unsigned char LoopConfig; // Bitcodiert: 0x01=oben, 0x02=unten, 0x04=links, 0x08=rechts / wird getrennt behandelt
unsigned char ServoNickCompInvert; // Wert : 0-250 0 oder 1 // WICHTIG!!! am Ende lassen
unsigned char Reserved[4];
char Name[12];
*/
extern struct mk_param_struct EE_Parameter;
 
extern unsigned char Parameter_Luftdruck_D;
extern unsigned char Parameter_MaxHoehe;
extern unsigned char Parameter_Hoehe_P;
extern unsigned char Parameter_Hoehe_ACC_Wirkung;
extern unsigned char Parameter_KompassWirkung;
extern unsigned char Parameter_Gyro_P;
extern unsigned char Parameter_Gyro_I;
extern unsigned char Parameter_Gier_P;
extern unsigned char Parameter_ServoNickControl;
extern unsigned char Parameter_AchsKopplung1;
extern unsigned char Parameter_AchsGegenKopplung1;
 
 
#endif //_FC_H
 
/DUBwise/tags/pre_0.50/misc/pc-komp-ref/header_files/7.h
0,0 → 1,144
/*#######################################################################################
Flight Control
#######################################################################################*/
 
#ifndef _FC_H
#define _FC_H
 
extern volatile unsigned int I2CTimeout;
extern unsigned char Sekunde,Minute;
extern volatile long IntegralNick,IntegralNick2;
extern volatile long IntegralRoll,IntegralRoll2;
extern volatile long Mess_IntegralNick,Mess_IntegralNick2;
extern volatile long Mess_IntegralRoll,Mess_IntegralRoll2;
extern volatile long IntegralAccNick,IntegralAccRoll;
extern volatile long Mess_Integral_Hoch;
extern volatile long Integral_Gier,Mess_Integral_Gier,Mess_Integral_Gier2;
extern volatile int KompassValue;
extern volatile int KompassStartwert;
extern volatile int KompassRichtung;
extern int HoehenWert;
extern int SollHoehe;
extern volatile int MesswertNick,MesswertRoll,MesswertGier;
extern volatile int AdNeutralNick,AdNeutralRoll,AdNeutralGier, Mittelwert_AccNick, Mittelwert_AccRoll;
extern volatile int NeutralAccX, NeutralAccY,Mittelwert_AccHoch;
extern volatile float NeutralAccZ;
extern long Umschlag180Nick, Umschlag180Roll;
extern signed int ExternStickNick,ExternStickRoll,ExternStickGier;
extern unsigned char Parameter_UserParam1,Parameter_UserParam2,Parameter_UserParam3,Parameter_UserParam4,Parameter_UserParam5,Parameter_UserParam6,Parameter_UserParam7,Parameter_UserParam8;
 
void MotorRegler(void);
void SendMotorData(void);
void CalibrierMittelwert(void);
void Mittelwert(void);
void SetNeutral(void);
void Piep(unsigned char Anzahl);
extern void DefaultKonstanten(void);
void DefaultKonstanten1(void);
void DefaultKonstanten2(void);
 
extern unsigned char h,m,s;
extern volatile unsigned char Timeout ;
extern unsigned char CosinusNickWinkel, CosinusRollWinkel;
extern volatile long IntegralNick,IntegralNick2;
extern volatile long IntegralRoll,IntegralRoll2;
extern volatile long Integral_Gier;
extern volatile long Mess_IntegralNick,Mess_IntegralNick2;
extern volatile long Mess_IntegralRoll,Mess_IntegralRoll2;
extern volatile long Mess_Integral_Gier;
extern volatile int DiffNick,DiffRoll;
extern int Poti1, Poti2, Poti3, Poti4;
extern volatile unsigned char Motor_Vorne,Motor_Hinten,Motor_Rechts,Motor_Links, Count;
extern unsigned char MotorWert[5];
extern volatile unsigned char SenderOkay;
extern int StickNick,StickRoll,StickGier;
extern char MotorenEin;
extern void DefaultKonstanten1(void);
extern void DefaultKonstanten2(void);
 
#define STRUCT_PARAM_LAENGE 71
struct mk_param_struct
{
unsigned char Kanalbelegung[8]; // GAS[0], GIER[1],NICK[2], ROLL[3], POTI1, POTI2, POTI3
unsigned char GlobalConfig; // 0x01=Höhenregler aktiv,0x02=Kompass aktiv, 0x04=GPS aktiv, 0x08=Heading Hold aktiv
unsigned char Hoehe_MinGas; // Wert : 0-100
unsigned char Luftdruck_D; // Wert : 0-250
unsigned char MaxHoehe; // Wert : 0-32
unsigned char Hoehe_P; // Wert : 0-32
unsigned char Hoehe_Verstaerkung; // Wert : 0-50
unsigned char Hoehe_ACC_Wirkung; // Wert : 0-250
unsigned char Stick_P; // Wert : 1-6
unsigned char Stick_D; // Wert : 0-64
unsigned char Gier_P; // Wert : 1-20
unsigned char Gas_Min; // Wert : 0-32
unsigned char Gas_Max; // Wert : 33-250
unsigned char GyroAccFaktor; // Wert : 1-64
unsigned char KompassWirkung; // Wert : 0-32
unsigned char Gyro_P; // Wert : 10-250
unsigned char Gyro_I; // Wert : 0-250
unsigned char UnterspannungsWarnung; // Wert : 0-250
unsigned char NotGas; // Wert : 0-250 //Gaswert bei Empängsverlust
unsigned char NotGasZeit; // Wert : 0-250 // Zeitbis auf NotGas geschaltet wird, wg. Rx-Problemen
unsigned char UfoAusrichtung; // X oder + Formation
unsigned char I_Faktor; // Wert : 0-250
unsigned char UserParam1; // Wert : 0-250
unsigned char UserParam2; // Wert : 0-250
unsigned char UserParam3; // Wert : 0-250
unsigned char UserParam4; // Wert : 0-250
unsigned char ServoNickControl; // Wert : 0-250 // Stellung des Servos
unsigned char ServoNickComp; // Wert : 0-250 // Einfluss Gyro/Servo
unsigned char ServoNickMin; // Wert : 0-250 // Anschlag
unsigned char ServoNickMax; // Wert : 0-250 // Anschlag
unsigned char ServoNickRefresh; //
unsigned char LoopGasLimit; // Wert: 0-250 max. Gas während Looping
unsigned char LoopThreshold; // Wert: 0-250 Schwelle für Stickausschlag
unsigned char LoopHysterese; // Wert: 0-250 Hysterese für Stickausschlag
unsigned char AchsKopplung1; // Wert: 0-250 Faktor, mit dem Gier die Achsen Roll und Nick koppelt (NickRollMitkopplung)
unsigned char AchsGegenKopplung1; // Wert: 0-250 Faktor, mit dem Gier die Achsen Roll und Nick Gegenkoppelt (NickRollGegenkopplung)
unsigned char WinkelUmschlagNick; // Wert: 0-250 180°-Punkt
unsigned char WinkelUmschlagRoll; // Wert: 0-250 180°-Punkt
unsigned char GyroAccAbgleich; // 1/k (Koppel_ACC_Wirkung)
unsigned char Driftkomp;
unsigned char DynamicStability;
unsigned char UserParam5; // Wert : 0-250
unsigned char UserParam6; // Wert : 0-250
unsigned char UserParam7; // Wert : 0-250
unsigned char UserParam8; // Wert : 0-250
 
//------------------------------------------------
unsigned char LoopConfig; // Bitcodiert: 0x01=oben, 0x02=unten, 0x04=links, 0x08=rechts / wird getrennt behandelt
unsigned char ServoNickCompInvert; // Wert : 0-250 0 oder 1 // WICHTIG!!! am Ende lassen
unsigned char Reserved[4];
char Name[12];
};
 
 
/*
unsigned char ServoNickMax; // Wert : 0-250
unsigned char ServoNickRefresh; //
unsigned char LoopGasLimit; // Wert: 0-250 max. Gas während Looping
unsigned char LoopThreshold; // Wert: 0-250 Schwelle für Stickausschlag
//------------------------------------------------
unsigned char LoopConfig; // Bitcodiert: 0x01=oben, 0x02=unten, 0x04=links, 0x08=rechts / wird getrennt behandelt
unsigned char ServoNickCompInvert; // Wert : 0-250 0 oder 1 // WICHTIG!!! am Ende lassen
unsigned char Reserved[4];
char Name[12];
*/
extern struct mk_param_struct EE_Parameter;
 
extern unsigned char Parameter_Luftdruck_D;
extern unsigned char Parameter_MaxHoehe;
extern unsigned char Parameter_Hoehe_P;
extern unsigned char Parameter_Hoehe_ACC_Wirkung;
extern unsigned char Parameter_KompassWirkung;
extern unsigned char Parameter_Gyro_P;
extern unsigned char Parameter_Gyro_I;
extern unsigned char Parameter_Gier_P;
extern unsigned char Parameter_ServoNickControl;
extern unsigned char Parameter_AchsKopplung1;
extern unsigned char Parameter_AchsGegenKopplung1;
 
 
#endif //_FC_H
 
/DUBwise/tags/pre_0.50/misc/pc-komp-ref/header_files/8.h
0,0 → 1,172
/*#######################################################################################
Flight Control
#######################################################################################*/
 
#ifndef _FC_H
#define _FC_H
//#define GIER_GRAD_FAKTOR 1450L // Abhängigkeit wzischen GyroIntegral und Winkel
#define GIER_GRAD_FAKTOR 1550L // Abhängigkeit wzischen GyroIntegral und Winkel
#define STICK_GAIN 4
 
#define FLAG_MOTOR_RUN 1
#define FLAG_FLY 2
#define FLAG_CALIBRATE 4
#define FLAG_START 8
extern unsigned char MikroKopterFlags;
 
extern volatile unsigned int I2CTimeout;
extern unsigned char Sekunde,Minute;
extern long IntegralNick,IntegralNick2;
extern long IntegralRoll,IntegralRoll2;
extern long Mess_IntegralNick,Mess_IntegralNick2;
extern long Mess_IntegralRoll,Mess_IntegralRoll2;
extern long IntegralAccNick,IntegralAccRoll;
extern volatile long Mess_Integral_Hoch;
extern long Integral_Gier,Mess_Integral_Gier,Mess_Integral_Gier2;
extern volatile int KompassValue;
extern volatile int KompassStartwert;
extern volatile int KompassRichtung;
extern long ErsatzKompass;
extern int ErsatzKompassInGrad; // Kompasswert in Grad
extern int HoehenWert;
extern int SollHoehe;
extern volatile int MesswertNick,MesswertRoll,MesswertGier;
extern volatile int AdNeutralNick,AdNeutralRoll,AdNeutralGier, Mittelwert_AccNick, Mittelwert_AccRoll;
extern volatile int NeutralAccX, NeutralAccY,Mittelwert_AccHoch;
extern volatile float NeutralAccZ;
extern long Umschlag180Nick, Umschlag180Roll;
extern signed int ExternStickNick,ExternStickRoll,ExternStickGier;
extern unsigned char Parameter_UserParam1,Parameter_UserParam2,Parameter_UserParam3,Parameter_UserParam4,Parameter_UserParam5,Parameter_UserParam6,Parameter_UserParam7,Parameter_UserParam8;
extern int NaviAccNick,NaviAccRoll,NaviCntAcc;
extern unsigned int modell_fliegt;
void MotorRegler(void);
void SendMotorData(void);
void CalibrierMittelwert(void);
void Mittelwert(void);
void SetNeutral(void);
void Piep(unsigned char Anzahl);
extern void DefaultKonstanten(void);
void DefaultKonstanten1(void);
void DefaultKonstanten2(void);
 
extern unsigned char h,m,s;
extern volatile unsigned char Timeout ;
extern unsigned char CosinusNickWinkel, CosinusRollWinkel;
extern volatile int DiffNick,DiffRoll;
extern int Poti1, Poti2, Poti3, Poti4;
extern volatile unsigned char Motor_Vorne,Motor_Hinten,Motor_Rechts,Motor_Links, Count;
extern volatile unsigned char SenderOkay;
extern int StickNick,StickRoll,StickGier;
extern char MotorenEin;
extern void DefaultKonstanten1(void);
extern void DefaultKonstanten2(void);
 
#define STRUCT_PARAM_LAENGE 83
struct mk_param_struct
{
unsigned char Kanalbelegung[8]; // GAS[0], GIER[1],NICK[2], ROLL[3], POTI1, POTI2, POTI3
unsigned char GlobalConfig; // 0x01=Höhenregler aktiv,0x02=Kompass aktiv, 0x04=GPS aktiv, 0x08=Heading Hold aktiv
unsigned char Hoehe_MinGas; // Wert : 0-100
unsigned char Luftdruck_D; // Wert : 0-250
unsigned char MaxHoehe; // Wert : 0-32
unsigned char Hoehe_P; // Wert : 0-32
unsigned char Hoehe_Verstaerkung; // Wert : 0-50
unsigned char Hoehe_ACC_Wirkung; // Wert : 0-250
unsigned char Stick_P; // Wert : 1-6
unsigned char Stick_D; // Wert : 0-64
unsigned char Gier_P; // Wert : 1-20
unsigned char Gas_Min; // Wert : 0-32
unsigned char Gas_Max; // Wert : 33-250
unsigned char GyroAccFaktor; // Wert : 1-64
unsigned char KompassWirkung; // Wert : 0-32
unsigned char Gyro_P; // Wert : 10-250
unsigned char Gyro_I; // Wert : 0-250
unsigned char UnterspannungsWarnung; // Wert : 0-250
unsigned char NotGas; // Wert : 0-250 //Gaswert bei Empängsverlust
unsigned char NotGasZeit; // Wert : 0-250 // Zeitbis auf NotGas geschaltet wird, wg. Rx-Problemen
unsigned char UfoAusrichtung; // X oder + Formation
unsigned char I_Faktor; // Wert : 0-250
unsigned char UserParam1; // Wert : 0-250
unsigned char UserParam2; // Wert : 0-250
unsigned char UserParam3; // Wert : 0-250
unsigned char UserParam4; // Wert : 0-250
unsigned char ServoNickControl; // Wert : 0-250 // Stellung des Servos
unsigned char ServoNickComp; // Wert : 0-250 // Einfluss Gyro/Servo
unsigned char ServoNickMin; // Wert : 0-250 // Anschlag
unsigned char ServoNickMax; // Wert : 0-250 // Anschlag
unsigned char ServoNickRefresh; //
unsigned char LoopGasLimit; // Wert: 0-250 max. Gas während Looping
unsigned char LoopThreshold; // Wert: 0-250 Schwelle für Stickausschlag
unsigned char LoopHysterese; // Wert: 0-250 Hysterese für Stickausschlag
unsigned char AchsKopplung1; // Wert: 0-250 Faktor, mit dem Gier die Achsen Roll und Nick koppelt (NickRollMitkopplung)
unsigned char AchsGegenKopplung1; // Wert: 0-250 Faktor, mit dem Gier die Achsen Roll und Nick Gegenkoppelt (NickRollGegenkopplung)
unsigned char WinkelUmschlagNick; // Wert: 0-250 180°-Punkt
unsigned char WinkelUmschlagRoll; // Wert: 0-250 180°-Punkt
unsigned char GyroAccAbgleich; // 1/k (Koppel_ACC_Wirkung)
unsigned char Driftkomp;
unsigned char DynamicStability;
unsigned char UserParam5; // Wert : 0-250
unsigned char UserParam6; // Wert : 0-250
unsigned char UserParam7; // Wert : 0-250
unsigned char UserParam8; // Wert : 0-250
//---Output ---------------------------------------------
unsigned char J16Bitmask; // for the J16 Output
unsigned char J16Timing; // for the J16 Output
unsigned char J17Bitmask; // for the J17 Output
unsigned char J17Timing; // for the J17 Output
//---NaviCtrl---------------------------------------------
unsigned char NaviGpsModeControl; // Parameters for the Naviboard
unsigned char NaviGpsGain;
unsigned char NaviGpsP;
unsigned char NaviGpsI;
unsigned char NaviGpsD;
unsigned char NaviGpsACC;
unsigned char NaviGpsMinSat;
unsigned char NaviStickThreshold;
//---Ext.Ctrl---------------------------------------------
unsigned char ExternalControl; // for serial Control
//------------------------------------------------
unsigned char LoopConfig; // Bitcodiert: 0x01=oben, 0x02=unten, 0x04=links, 0x08=rechts / wird getrennt behandelt
unsigned char ServoNickCompInvert; // Wert : 0-250 0 oder 1 // WICHTIG!!! am Ende lassen
unsigned char Reserved[4];
char Name[12];
};
 
 
/*
unsigned char ServoNickMax; // Wert : 0-250
unsigned char ServoNickRefresh; //
unsigned char LoopGasLimit; // Wert: 0-250 max. Gas während Looping
unsigned char LoopThreshold; // Wert: 0-250 Schwelle für Stickausschlag
//------------------------------------------------
unsigned char LoopConfig; // Bitcodiert: 0x01=oben, 0x02=unten, 0x04=links, 0x08=rechts / wird getrennt behandelt
unsigned char ServoNickCompInvert; // Wert : 0-250 0 oder 1 // WICHTIG!!! am Ende lassen
unsigned char Reserved[4];
char Name[12];
*/
extern struct mk_param_struct EE_Parameter;
 
extern unsigned char Parameter_Luftdruck_D;
extern unsigned char Parameter_MaxHoehe;
extern unsigned char Parameter_Hoehe_P;
extern unsigned char Parameter_Hoehe_ACC_Wirkung;
extern unsigned char Parameter_KompassWirkung;
extern unsigned char Parameter_Gyro_P;
extern unsigned char Parameter_Gyro_I;
extern unsigned char Parameter_Gier_P;
extern unsigned char Parameter_ServoNickControl;
extern unsigned char Parameter_AchsKopplung1;
extern unsigned char Parameter_AchsGegenKopplung1;
extern unsigned char Parameter_J16Bitmask; // for the J16 Output
extern unsigned char Parameter_J16Timing; // for the J16 Output
extern unsigned char Parameter_J17Bitmask; // for the J17 Output
extern unsigned char Parameter_J17Timing; // for the J17 Output
extern unsigned char Parameter_NaviGpsModeControl; // Parameters for the Naviboard
extern unsigned char Parameter_NaviGpsGain;
extern unsigned char Parameter_NaviGpsP;
extern unsigned char Parameter_NaviGpsI;
extern unsigned char Parameter_NaviGpsD;
extern unsigned char Parameter_NaviGpsACC;
#endif //_FC_H
 
/DUBwise/tags/pre_0.50/misc
Property changes:
Added: svn:mergeinfo
/DUBwise/tags/pre_0.50/server_side/tcp2serial/tcp2serial.rb
0,0 → 1,12
require 'socket'
 
port=2323
 
server=TCPServer.new('192.168.1.42',port)
while (session=server.accept)
puts "accept session: " + session.inspect
session.print "OK"
while (input=session.gets)
p input
end
end
/DUBwise/tags/pre_0.50/server_side
Property changes:
Added: svn:mergeinfo
/DUBwise/tags/pre_0.50/src/Android/AndroidManifest.xml
0,0 → 1,12
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.ligi">
<application android:label="@string/app_name">
<activity android:icon="@drawable/icon" android:name=".DUBwise" android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
/DUBwise/tags/pre_0.50/src/Android/README
0,0 → 1,12
It seems that Bluetooth is not working with the actual Android SDK M5-R15. So we have to do a small workaround to get things working. The basic idea is to bind the com-port opened by rfcomm to one socket on the PC that runs the emulator:
 
$> rfcomm bind 0 <bt-mac> 1
$> socat tcp-l:54321,reuseaddr,fork file:/dev/rfcomm0,waitlock=/var/run/rfcomm0.lock
 
Now DUBwise connect to a port rather than scanning for bluetooth-devices and connecting to them - the Socket Part of the SDK works well.
When Bluetooth in the SDK is ready - I'll implement the scanning and connecting Part.
 
 
mfg,
ligi
/DUBwise/tags/pre_0.50/src/Android/bin/DUBwise-debug.apk
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/Android/bin/DUBwise-unsigned.apk
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/Android/build.xml
0,0 → 1,269
<?xml version="1.0" ?>
<project name="DUBwise" default="debug">
<!-- SDK Locations -->
<property name="sdk-folder" value="/home/ligi/bin/android-sdk-linux_x86-1.0_r1/" />
<property name="android-tools" value="/home/ligi/bin/android-sdk-linux_x86-1.0_r1//tools" />
<!-- Application Package Name -->
<property name="application-package" value="org.ligi" />
 
<!-- The intermediates directory -->
<!-- Eclipse uses "bin" for its own output, so we do the same. -->
<property name="outdir" value="bin" />
<!-- ************************************************************************************* -->
<!-- No user servicable parts below. -->
 
<property name="android-framework" value="${android-tools}/lib/framework.aidl" />
 
<!-- Input directories -->
<property name="resource-dir" value="res" />
<property name="asset-dir" value="assets" />
<property name="srcdir" value="src" />
<condition property="srcdir-ospath"
value="${basedir}\${srcdir}"
else="${basedir}/${srcdir}" >
<os family="windows"/>
</condition>
 
<property name="external-libs" value="libs" />
<condition property="external-libs-ospath"
value="${basedir}\${external-libs}"
else="${basedir}/${external-libs}" >
<os family="windows"/>
</condition>
 
<!-- Output directories -->
<property name="outdir-classes" value="${outdir}/classes" />
<condition property="outdir-classes-ospath"
value="${basedir}\${outdir-classes}"
else="${basedir}/${outdir-classes}" >
<os family="windows"/>
</condition>
 
<!-- Create R.java in the source directory -->
<property name="outdir-r" value="src" />
 
<!-- Intermediate files -->
<property name="dex-file" value="classes.dex" />
<property name="intermediate-dex" value="${outdir}/${dex-file}" />
<condition property="intermediate-dex-ospath"
value="${basedir}\${intermediate-dex}"
else="${basedir}/${intermediate-dex}" >
<os family="windows"/>
</condition>
 
<!-- The final package file to generate -->
<property name="resources-package" value="${outdir}/${ant.project.name}.ap_" />
<condition property="resources-package-ospath"
value="${basedir}\${resources-package}"
else="${basedir}/${resources-package}" >
<os family="windows"/>
</condition>
 
<property name="out-debug-package" value="${outdir}/${ant.project.name}-debug.apk" />
<condition property="out-debug-package-ospath"
value="${basedir}\${out-debug-package}"
else="${basedir}/${out-debug-package}" >
<os family="windows"/>
</condition>
 
<property name="out-unsigned-package" value="${outdir}/${ant.project.name}-unsigned.apk" />
<condition property="out-unsigned-package-ospath"
value="${basedir}\${out-unsigned-package}"
else="${basedir}/${out-unsigned-package}" >
<os family="windows"/>
</condition>
 
<!-- Tools -->
<condition property="aapt" value="${android-tools}/aapt.exe" else="${android-tools}/aapt" >
<os family="windows"/>
</condition>
<condition property="aidl" value="${android-tools}/aidl.exe" else="${android-tools}/aidl" >
<os family="windows"/>
</condition>
<condition property="adb" value="${android-tools}/adb.exe" else="${android-tools}/adb" >
<os family="windows"/>
</condition>
<condition property="dx" value="${android-tools}/dx.bat" else="${android-tools}/dx" >
<os family="windows"/>
</condition>
<condition property="apk-builder" value="${android-tools}/apkbuilder.bat" else="${android-tools}/apkbuilder" >
<os family="windows"/>
</condition>
 
<property name="android-jar" value="${sdk-folder}/android.jar" />
 
<!-- Rules -->
 
<!-- Create the output directories if they don't exist yet. -->
<target name="dirs">
<echo>Creating output directories if needed...</echo>
<mkdir dir="${outdir}" />
<mkdir dir="${outdir-classes}" />
</target>
 
<!-- Generate the R.java file for this project's resources. -->
<target name="resource-src" depends="dirs">
<echo>Generating R.java / Manifest.java from the resources...</echo>
<exec executable="${aapt}" failonerror="true">
<arg value="package" />
<arg value="-m" />
<arg value="-J" />
<arg value="${outdir-r}" />
<arg value="-M" />
<arg value="AndroidManifest.xml" />
<arg value="-S" />
<arg value="${resource-dir}" />
<arg value="-I" />
<arg value="${android-jar}" />
</exec>
</target>
 
<!-- Generate java classes from .aidl files. -->
<target name="aidl" depends="dirs">
<echo>Compiling aidl files into Java classes...</echo>
<apply executable="${aidl}" failonerror="true">
<arg value="-p${android-framework}" />
<arg value="-I${srcdir}" />
<fileset dir="${srcdir}">
<include name="**/*.aidl"/>
</fileset>
</apply>
</target>
 
<!-- Compile this project's .java files into .class files. -->
<target name="compile" depends="dirs, resource-src, aidl">
<javac encoding="ascii" target="1.5" debug="true" extdirs=""
srcdir="."
destdir="${outdir-classes}"
bootclasspath="${android-jar}">
<classpath>
<fileset dir="${external-libs}" includes="*.jar"/>
</classpath>
</javac>
</target>
 
<!-- Convert this project's .class files into .dex files. -->
<target name="dex" depends="compile">
<echo>Converting compiled files and external libraries into ${outdir}/${dex-file}...</echo>
<apply executable="${dx}" failonerror="true" parallel="true">
<arg value="--dex" />
<arg value="--output=${intermediate-dex-ospath}" />
<arg path="${outdir-classes-ospath}" />
<fileset dir="${external-libs}" includes="*.jar"/>
</apply>
</target>
 
<!-- Put the project's resources into the output package file. -->
<target name="package-res-and-assets">
<echo>Packaging resources and assets...</echo>
<exec executable="${aapt}" failonerror="true">
<arg value="package" />
<arg value="-f" />
<arg value="-M" />
<arg value="AndroidManifest.xml" />
<arg value="-S" />
<arg value="${resource-dir}" />
<arg value="-A" />
<arg value="${asset-dir}" />
<arg value="-I" />
<arg value="${android-jar}" />
<arg value="-F" />
<arg value="${resources-package}" />
</exec>
</target>
 
<!-- Same as package-res-and-assets, but without "-A ${asset-dir}" -->
<target name="package-res-no-assets">
<echo>Packaging resources...</echo>
<exec executable="${aapt}" failonerror="true">
<arg value="package" />
<arg value="-f" />
<arg value="-M" />
<arg value="AndroidManifest.xml" />
<arg value="-S" />
<arg value="${resource-dir}" />
<!-- No assets directory -->
<arg value="-I" />
<arg value="${android-jar}" />
<arg value="-F" />
<arg value="${resources-package}" />
</exec>
</target>
 
<!-- Invoke the proper target depending on whether or not
an assets directory is present. -->
<!-- TODO: find a nicer way to include the "-A ${asset-dir}" argument
only when the assets dir exists. -->
<target name="package-res">
<available file="${asset-dir}" type="dir"
property="res-target" value="and-assets" />
<property name="res-target" value="no-assets" />
<antcall target="package-res-${res-target}" />
</target>
 
<!-- Package the application and sign it with a debug key.
This is the default target when building. It is used for debug. -->
<target name="debug" depends="dex, package-res">
<echo>Packaging ${out-debug-package}, and signing it with a debug key...</echo>
<exec executable="${apk-builder}" failonerror="true">
<arg value="${out-debug-package-ospath}" />
<arg value="-z" />
<arg value="${resources-package-ospath}" />
<arg value="-f" />
<arg value="${intermediate-dex-ospath}" />
<arg value="-rf" />
<arg value="${srcdir-ospath}" />
<arg value="-rj" />
<arg value="${external-libs-ospath}" />
</exec>
</target>
 
<!-- Package the application without signing it.
This allows for the application to be signed later with an official publishing key. -->
<target name="release" depends="dex, package-res">
<echo>Packaging ${out-unsigned-package} for release...</echo>
<exec executable="${apk-builder}" failonerror="true">
<arg value="${out-unsigned-package-ospath}" />
<arg value="-u" />
<arg value="-z" />
<arg value="${resources-package-ospath}" />
<arg value="-f" />
<arg value="${intermediate-dex-ospath}" />
<arg value="-rf" />
<arg value="${srcdir-ospath}" />
<arg value="-rj" />
<arg value="${external-libs-ospath}" />
</exec>
<echo>It will need to be signed with jarsigner before being published.</echo>
</target>
 
<!-- Install the package on the default emulator -->
<target name="install" depends="debug">
<echo>Installing ${out-debug-package} onto default emulator...</echo>
<exec executable="${adb}" failonerror="true">
<arg value="install" />
<arg value="${out-debug-package}" />
</exec>
</target>
 
<target name="reinstall" depends="debug">
<echo>Installing ${out-debug-package} onto default emulator...</echo>
<exec executable="${adb}" failonerror="true">
<arg value="install" />
<arg value="-r" />
<arg value="${out-debug-package}" />
</exec>
</target>
 
<!-- Uinstall the package from the default emulator -->
<target name="uninstall">
<echo>Uninstalling ${application-package} from the default emulator...</echo>
<exec executable="${adb}" failonerror="true">
<arg value="uninstall" />
<arg value="${application-package}" />
</exec>
</target>
 
</project>
/DUBwise/tags/pre_0.50/src/Android/res/drawable/bt_off.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/Android/res/drawable/bt_on.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/Android/res/drawable/icon.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/Android/res/drawable/lcd_green.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/Android/res/drawable/starfield.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/Android/res/layout/main.xml
0,0 → 1,13
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Hello World, DUBwise"
/>
</LinearLayout>
 
/DUBwise/tags/pre_0.50/src/Android/res/raw/voice_sample_1.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/Android/res/raw/voice_sample_10.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/Android/res/raw/voice_sample_11.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/Android/res/raw/voice_sample_12.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/Android/res/raw/voice_sample_13.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/Android/res/raw/voice_sample_2.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/Android/res/raw/voice_sample_3.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/Android/res/raw/voice_sample_4.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/Android/res/raw/voice_sample_5.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/Android/res/raw/voice_sample_6.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/Android/res/raw/voice_sample_7.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/Android/res/raw/voice_sample_8.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/Android/res/raw/voice_sample_9.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/Android/res/raw/voice_sample_komma.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/Android/res/raw/voice_sample_volt.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/Android/res/values/strings.xml
0,0 → 1,4
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">DUBwise</string>
</resources>
/DUBwise/tags/pre_0.50/src/Android/src/org/ligi/DUBwise.java
0,0 → 1,82
package org.ligi;
 
import android.app.Activity;
import android.os.Bundle;
 
import android.app.Activity;
import android.os.Bundle;
 
import android.view.View;
import android.widget.TextView;
 
 
import android.app.Activity;
import android.content.Context;
import android.graphics.*;
import android.os.Bundle;
import android.os.*;
import android.view.View;
import android.content.*;
import android.media.*;
import android.util.Log;
 
import java.util.Random;
 
import android.view.Window;
import android.view.WindowManager;
 
//import org.bluez.*;
 
 
public class DUBwise extends Activity
{
private SharedPreferences mPrefs;
public boolean fullscreen;
public boolean do_sound=true;
 
public MKCommunicator mk;
public DUBwiseStatusVoice voice;
 
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle icicle)
{
super.onCreate(icicle);
SharedPreferences mPrefs = getSharedPreferences("dubwise",0);
fullscreen = mPrefs.getBoolean("fullscreen", true);
Log.d("DUBWise-V","starting");
mk=new MKCommunicator(this);
voice=new DUBwiseStatusVoice(this);
mk.connect_to("s","test");
Log.d("DUBWise-V","version " + mk.version.major);
if (fullscreen)
{
// this.requestWindowFeature(Window.FEATURE_NO_TITLE);
//this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_NO_STATUS_BAR,
//WindowManager.LayoutParams.FLAG_NO_STATUS_BAR);
}
setContentView(new DUBwiseView(this));
}
 
public void quit()
{
// setContentView(null);
finish();
// mk=null;
/*
SharedPreferences.Editor ed = getSharedPreferences("dubwise",0).edit();
ed.putBoolean("fullscreen", true);
ed.commit();
*/
 
}
 
public void log(String msg)
{
Log.d("DUWISE",msg);
}
}
/DUBwise/tags/pre_0.50/src/Android/src/org/ligi/DUBwiseDefinitions.java
0,0 → 1,42
package org.ligi;
public interface DUBwiseDefinitions
{
// id for each state - must just be uniq - order isnt important
public final static int STATEID_SCANNING =0;
public final static int STATEID_DEVICESELECT =1;
public final static int STATEID_MAINMENU =2;
public final static int STATEID_MOTORTEST =3;
public final static int STATEID_SELECT_PARAMSET =4;
public final static int STATEID_EDIT_PARAMS =5;
public final static int STATEID_HANDLE_PARAMS =6;
public final static int STATEID_FLIGHTVIEW =7;
public final static int STATEID_RAWDEBUG =8;
public final static int STATEID_KEYCONTROL =9;
public final static int STATEID_SETTINGSMENU =10;
public final static int STATEID_STICKVIEW =11;
public final static int STATEID_CAMMODE =12;
 
 
public String[] main_menu_items={"Telemetry","Raw Debug-Values", "RC-Data", "pilot UFO", "Motor Test" , "Flight Settings","(NA)Tool Settings","(NA)Remote Camera","(NA)Relay","(NA)Change Device" , "Quit " };
public final static int MAINMENU_TELEMETRY =0;
public final static int MAINMENU_RAWDEBUG =1+MAINMENU_TELEMETRY;
public final static int MAINMENU_STICKS =1+MAINMENU_RAWDEBUG;
public final static int MAINMENU_KEYCONTROL =1+MAINMENU_STICKS;
public final static int MAINMENU_MOTORTEST =1+MAINMENU_KEYCONTROL;
public final static int MAINMENU_PARAMS =1+MAINMENU_MOTORTEST;
public final static int MAINMENU_SETTINGSMENU =1+MAINMENU_PARAMS;
public final static int MAINMENU_CAMMODE =1+MAINMENU_SETTINGSMENU;
public final static int MAINMENU_PROXY =1+MAINMENU_CAMMODE;
public final static int MAINMENU_DEVICESELECT =1+MAINMENU_PROXY;
public final static int MAINMENU_QUIT =1+MAINMENU_DEVICESELECT;
 
public String[] settings_menu_items={"Skin ","Sound ","Vibra " ,"Graph ","FullScreen " ,"Keep BGLight " ,"Back" };
public final static int SETTINGSMENU_CHANGESKIN =0;
public final static int SETTINGSMENU_SOUNDTOGGLE =1;
public final static int SETTINGSMENU_VIBRATOGGLE =2;
public final static int SETTINGSMENU_GRAPHTOGGLE =3;
public final static int SETTINGSMENU_FULLSCREENTOGGLE =4;
public final static int SETTINGSMENU_LIGHTTOGGLE =5;
public final static int SETTINGSMENU_BACK =6;
 
}
/DUBwise/tags/pre_0.50/src/Android/src/org/ligi/DUBwiseMapView.java
0,0 → 1,14
package org.ligi;
 
import com.google.android.maps.MapView;
 
import android.content.Context;
import android.graphics.Paint;
import android.util.AttributeSet;
import java.util.Map;
 
public class DUBwiseMapView
{
 
 
}
/DUBwise/tags/pre_0.50/src/Android/src/org/ligi/DUBwiseStatusVoice.java
0,0 → 1,112
/**************************************
*
* Voice output
*
* Author: Marcus -LiGi- Bueschleb
*
* see README for further Infos
*
*
**************************************/
 
package org.ligi;
 
import android.media.*;
import android.media.MediaPlayer.*;
 
public class DUBwiseStatusVoice
implements Runnable
//,OnCompletionListener
{
 
MKCommunicator mk=null;
DUBwise root=null;
MediaPlayer player;
public final int PLAYERSTATE_IDLE=0;
public final int PLAYERSTATE_PLAYING=1;
public final int PLAYERSTATE_FIN=2;
 
int act_player_state=PLAYERSTATE_IDLE;
 
int last_sound=-1;
 
public DUBwiseStatusVoice(DUBwise _root)
{
 
root=_root;
 
new Thread( this ).start(); // fire up main Thread
}
 
public void start_playing(int resid)
{
last_sound=resid;
try {
player=MediaPlayer.create(root, R.raw.voice_sample_1-1+resid);
 
player.start();
 
}
catch (Exception e) {
}
 
}
 
public void wait_for_end()
{
while (player.isPlaying())
{
try { Thread.sleep(50); }
catch (Exception e) { }
}
try { Thread.sleep(50); }
catch (Exception e) { }
player.stop();
player.release();
 
player=null;
 
System.gc();
try { Thread.sleep(150); }
catch (Exception e) { }
}
 
public void run()
{
while(true)
{
 
if (root.mk.connected&&(root.do_sound)&&(root.mk.debug_data.UBatt()!=-1)&&(!root.mk.force_disconnect))
{
int ubatt=root.mk.debug_data.UBatt();
 
start_playing( (ubatt/10));
wait_for_end();
 
if((ubatt%10)!=0)
{
start_playing( 14);
wait_for_end();
start_playing((ubatt%10));
wait_for_end();
}
start_playing(15);
wait_for_end();
}
 
try { Thread.sleep(5000); }
catch (Exception e) { }
}
}
 
}
 
/DUBwise/tags/pre_0.50/src/Android/src/org/ligi/DUBwiseView
0,0 → 1,71
package org.ligi;
 
import android.app.Activity;
import android.os.Bundle;
 
import android.app.Activity;
import android.os.Bundle;
 
import android.view.View;
import android.widget.TextView;
 
 
import android.app.Activity;
import android.content.Context;
import android.graphics.*;
import android.os.Bundle;
import android.os.*;
import android.view.View;
 
import java.util.Random;
 
import android.view.Window;
import android.view.WindowManager;
 
import org.bluez.*;
 
public class DUBwiseView extends View {
private Paint mPaint = new Paint();
private Bitmap mBitmap;
private int pos=0;
private int dir=1;
 
String str1="";
 
long last_run=0;
public DUBwiseView(Context context) {
super(context);
mBitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.intro_anim);
}
 
@Override protected void onDraw(Canvas canvas) {
Paint paint = mPaint;
paint.setAntiAlias(true);
 
 
canvas.drawColor(Color.WHITE);
paint.setColor(Color.BLACK);
canvas.clipRect(new RectF(0,0,getWidth(),getHeight()));
canvas.drawText("test123"+str1+" " + getLeft() + " <> "+getTop(),getLeft(),200,paint);
 
pos+=dir;
if (pos==3) dir=-1;
if (pos==0) dir=1;
 
float x=(getLeft()+ (this.getWidth()-mBitmap.getWidth()/4)/2);
float y= getTop() + (this.getHeight()-mBitmap.getHeight())/2 ;
 
canvas.clipRect(new RectF(x,y,x+mBitmap.getWidth()/4,y+mBitmap.getHeight()));
canvas.drawColor(Color.BLACK);
canvas.drawBitmap(mBitmap,x -pos*(mBitmap.getWidth()/4) ,y , paint);
 
 
 
SystemClock.sleep(500);
 
invalidate();
}
}
/DUBwise/tags/pre_0.50/src/Android/src/org/ligi/DUBwiseView.java
0,0 → 1,656
package org.ligi;
 
import android.app.Activity;
import android.os.Bundle;
 
import android.app.Activity;
import android.os.Bundle;
 
import android.view.View;
import android.widget.TextView;
 
 
import android.app.Activity;
import android.content.Context;
import android.graphics.*;
import android.os.Bundle;
import android.os.*;
import android.view.View;
import android.util.Log;
import android.media.*;
import java.util.Random;
import java.net.*;
import java.io.*;
 
 
import android.view.*;
 
import android.graphics.Region.Op;
import android.graphics.Bitmap.*;
 
// not working atm - import org.bluez.*;
 
public class DUBwiseView
extends View
implements DUBwiseDefinitions
 
{
 
 
int state=0;
 
 
int state_intro_frame=0;
 
boolean do_sound=true;
boolean do_vibra=true;
boolean do_graph=true;
boolean menu_active=true;
 
public final int SKINID_DARK=0;
public final int SKINID_LIGHT=0;
int act_skin=0;
boolean keep_lighton=true;
 
private Paint mPaint = new Paint();
 
// chars in bitmap
public static int LCD_CHAR_COUNT=222;
 
// some images we need
private Bitmap icon_img,bg_img,lcd_tiles_img,bt_on_img,bt_off_img;
private Bitmap lcd_img=null;
// pos for scrolling
private int pos=0;
 
String str1="";
String[] lcd_lines;
String[] menu_items;
long last_run=0;
int last_key=0;
 
 
int auto_next_state=-1;
 
int wi,he;
// Activity context;
 
DUBwise root;
MKParamEditor param_editor;
// Activity root;
int lcd_top;
int act_menu_select=0;
int[] motortest_vals={0,0,0,0};
 
public DUBwiseView(DUBwise context) {
super(context);
root=context;
param_editor=new MKParamEditor(root);
chg_state_(STATEID_MAINMENU);
 
// needed to get Key Events
setFocusable(true);
 
 
}
 
 
public void chg_state(int next_state)
{
auto_next_state=next_state;
}
 
public void chg_state_(int next_state)
{
auto_next_state=-1;
menu_active=false;
state_intro_frame=0;
if (next_state!=state)act_menu_select=0;
// prepare next state
switch(next_state)
{
 
case STATEID_EDIT_PARAMS:
lcd_lines=param_editor.public_lcd_lines;
calc_lcd();
break;
 
case STATEID_HANDLE_PARAMS:
menu_items=new String[2];
menu_items[0]="write to MK";
menu_items[1]="Discard";
lcd_lines=new String[2];
 
break;
 
case STATEID_SELECT_PARAMSET:
menu_items=new String[5];
for (int i=0;i<5;i++)
menu_items[i]=root.mk.params.names[i];
 
lcd_lines=new String[5];
break;
 
case STATEID_MAINMENU:
menu_active=true;
menu_items=main_menu_items;
lcd_lines=new String[menu_items.length];
for (int y=0;y<main_menu_items.length;y++)
lcd_lines[y]=" " + main_menu_items[y];
break;
 
case STATEID_SETTINGSMENU:
menu_items=new String[settings_menu_items.length];
for(int cnt=0;cnt<settings_menu_items.length;cnt++)
menu_items[cnt]=settings_menu_items[cnt];
 
menu_items[0]+=(act_skin==SKINID_DARK)?"Dark":"Light";
menu_items[1]+=(!do_sound)?"Off":"On";
menu_items[2]+=(!do_vibra)?"Off":"On";
menu_items[3]+=(!do_graph)?"Off":"On";
menu_items[4]+=(!root.fullscreen)?"Off":"On";
menu_items[5]+=(!keep_lighton)?"Off":"On";
 
lcd_lines=new String[menu_items.length];
break;
 
}
// switch state
if (lcd_img!=null)calc_lcd();
state=next_state;
}
 
public Bitmap resize_to_screen(Bitmap orig,float x_scale_,float y_scale_)
{
// createa matrix for the manipulation
Matrix matrix = new Matrix();
float x_scale,y_scale;
if (y_scale_!=0f)
y_scale= (getHeight()*y_scale_ )/orig.getHeight();
else // take x_scale
y_scale=(getWidth()*x_scale_ )/orig.getWidth();
 
if (x_scale_!=0f)
x_scale= (getWidth()*x_scale_ )/orig.getWidth();
else
x_scale= (getHeight()*y_scale_ )/orig.getHeight();
 
matrix.postScale(x_scale , y_scale);
return Bitmap.createBitmap(orig, 0, 0,(int)( orig.getWidth()),(int)( orig.getHeight()), matrix,true);//BitmapContfig.ARGB_8888 );
}
 
 
public boolean onKeyDown(int keyCode, KeyEvent event)
{
 
if ( keyCode==KeyEvent.KEYCODE_BACK)
{
if ( state==STATEID_MAINMENU)
root.finish();
else
chg_state(STATEID_MAINMENU);
}
switch (state)
{
case STATEID_EDIT_PARAMS:
param_editor.keypress(keyCode,keyCode);
lcd_lines=param_editor.public_lcd_lines;
calc_lcd();
break;
case STATEID_MAINMENU:
switch ( keyCode)
{
case KeyEvent.KEYCODE_DPAD_DOWN :
act_menu_select++;
break;
case KeyEvent.KEYCODE_DPAD_UP :
act_menu_select--;
break;
 
case KeyEvent.KEYCODE_DPAD_CENTER :
menu_reaction();
break;
}
break;
case STATEID_FLIGHTVIEW:
switch ( keyCode)
{
 
case KeyEvent.KEYCODE_DPAD_DOWN :
root.mk.LCD.LCD_NEXTPAGE();
lcd_lines=root.mk.LCD.get_act_page();
 
break;
case KeyEvent.KEYCODE_DPAD_UP :
root.mk.LCD.LCD_PREVPAGE();
lcd_lines=root.mk.LCD.get_act_page();
 
break;
 
}
calc_lcd();
break;
}
 
// last_key=keyCode;
// if(lcd_img!=null)
calc_lcd();
invalidate();
return true;
}
 
public void menu_reaction()
{
switch (act_menu_select)
{
case MAINMENU_PARAMS:
chg_state(STATEID_EDIT_PARAMS);
break;
 
case MAINMENU_STICKS:
chg_state(STATEID_STICKVIEW);
break;
 
case MAINMENU_TELEMETRY:
chg_state(STATEID_FLIGHTVIEW);
// root.setContentView(new DUBwiseMapView(root));
break;
case MAINMENU_RAWDEBUG:
chg_state(STATEID_RAWDEBUG);
break;
 
case MAINMENU_KEYCONTROL:
chg_state(STATEID_KEYCONTROL);
break;
 
 
case MAINMENU_MOTORTEST:
// root.mk.motor_test( motortest_vals);
chg_state(STATEID_MOTORTEST);
break;
 
case MAINMENU_QUIT:
 
root.quit();
break;
}
}
 
 
 
 
int flight_x,flight_y;
 
@Override public boolean onTouchEvent(MotionEvent event) {
 
 
if ((event.getAction() ==MotionEvent.ACTION_UP)&&(event.getY()<bt_on_img.getHeight()))
{
if ( state==STATEID_MAINMENU)
root.finish();
else
chg_state(STATEID_MAINMENU);
}
 
switch(state)
{
case STATEID_KEYCONTROL:
if (event.getAction() ==MotionEvent.ACTION_UP)
{
flight_x=getWidth()/2-getWidth()/8;
flight_y=getHeight()/2-getWidth()/8;
}
else
{
if(new RectF(getWidth()/8,(getHeight()-getWidth())/2-getWidth()/8,getWidth()-getWidth()/8,getHeight()-getWidth()/8).contains(event.getX(),event.getY()))
{
flight_x=(int)event.getX();
flight_y=(int)event.getY();
 
}
}
break;
case STATEID_MAINMENU:
if ((event.getAction() ==MotionEvent.ACTION_DOWN)||(event.getAction() ==MotionEvent.ACTION_MOVE))
{
if (event.getY()>lcd_top)
{
act_menu_select=(int)((event.getY()-lcd_top)/lcd_tiles_img.getHeight());
calc_lcd();
}
}
if (event.getAction() ==MotionEvent.ACTION_UP)
{
if (event.getY()>lcd_top)
{
act_menu_select=(int)((event.getY()-lcd_top)/lcd_tiles_img.getHeight());
menu_reaction();
}
}
calc_lcd();
break;
 
 
case STATEID_MOTORTEST:
if (new RectF(getWidth()/2 - getWidth()/8,getHeight()/2 -getWidth()/8 - (getWidth()/2 - getWidth()/8),getWidth()/2 + getWidth()/8,getHeight()/2 -getWidth()/8).contains(event.getX(),event.getY()))
motortest_vals[0]= (int)(event.getY()-getHeight()/2+getWidth()/8)*(-1)-5;
 
if (new RectF(getWidth()/2 - getWidth()/8,getHeight()/2 + getWidth()/8,getWidth()/2 + getWidth()/8,getHeight()/2+getWidth()/8 + (getWidth()/2 - getWidth()/8)).contains(event.getX(),event.getY()))
motortest_vals[1]= (int)(event.getY()-getHeight()/2-getWidth()/8)-5;
// left
if (new RectF(0,getHeight()/2 - getWidth()/8,getWidth()/2 - getWidth()/8,getHeight()/2+getWidth()/8).contains(event.getX(),event.getY()))
motortest_vals[2]= (int)(event.getX()-getWidth()/2+getWidth()/8)*(-1)-5;
if (new RectF(getWidth()/2+getWidth()/8,getHeight()/2 - getWidth()/8,getWidth(),getHeight()/2+getWidth()/8).contains(event.getX(),event.getY()))
motortest_vals[3]= (int)(event.getX()-getWidth()/2-getWidth()/8)-5;
 
for (int tmp=0;tmp<4;tmp++)
if (motortest_vals[tmp]<0)motortest_vals[tmp]=0;
 
root.mk.motor_test( motortest_vals);
break;
}
 
 
return true;
 
}
 
 
 
 
@Override protected void onSizeChanged(int w, int h, int oldw, int oldh)
{
 
bg_img = resize_to_screen(BitmapFactory.decodeResource(getResources(), R.drawable.starfield),0f,1f);
lcd_tiles_img = resize_to_screen(BitmapFactory.decodeResource(getResources(), R.drawable.lcd_green),0.05f*LCD_CHAR_COUNT,0f);
icon_img = resize_to_screen(BitmapFactory.decodeResource(getResources(), R.drawable.icon),0.15f,0f);
 
bt_off_img = resize_to_screen(BitmapFactory.decodeResource(getResources(), R.drawable.bt_off),0.06f,0f);
bt_on_img = resize_to_screen(BitmapFactory.decodeResource(getResources(), R.drawable.bt_on),0.06f,0f);
calc_lcd();
 
}
 
 
public void calc_lcd()
{
 
lcd_top=getHeight()-lcd_lines.length*lcd_tiles_img.getHeight();
Paint paint = mPaint;
lcd_img= Bitmap.createBitmap(getWidth(),lcd_lines.length*lcd_tiles_img.getHeight()+100,Bitmap.Config.ARGB_8888);
Canvas lcd_canvas=new Canvas();
 
lcd_canvas.setBitmap(lcd_img);
lcd_canvas.drawColor(Color.WHITE);
int char_width=(int)(lcd_tiles_img.getWidth()/LCD_CHAR_COUNT);
for ( int lcd_line=0 ; lcd_line < lcd_lines.length ; lcd_line++)
for (int char_pos=0;char_pos<20;char_pos++)
{
int act_char=0;
if (char_pos<lcd_lines[lcd_line].length())
act_char=lcd_lines[lcd_line].charAt(char_pos)-32;
if ((menu_active)&&(act_menu_select==lcd_line)&& (char_pos==0))
act_char=30;
lcd_canvas.clipRect(new RectF(char_pos*char_width,lcd_tiles_img.getHeight()*lcd_line,(char_pos+1)*char_width,lcd_tiles_img.getHeight()*(lcd_line+1)),Op.REPLACE );
lcd_canvas.drawBitmap(lcd_tiles_img,(char_pos-act_char)*(char_width),lcd_tiles_img.getHeight()*(lcd_line) , paint);
 
}
}
// fixme -> put in own timed thread - not in draw invalidate loop
public void tick()
{
pos--;
pos%=bg_img.getWidth();
//SystemClock.sleep(50);
if (auto_next_state==-1)
switch(state)
{
case STATEID_FLIGHTVIEW:
root.mk.trigger_debug_data();
lcd_lines=root.mk.LCD.get_act_page();
calc_lcd();
if (state_intro_frame<200)
state_intro_frame+=5;
break;
case STATEID_EDIT_PARAMS:
 
case STATEID_MAINMENU:
if (state_intro_frame<200)
state_intro_frame+=5;
break;
 
case STATEID_RAWDEBUG:
case STATEID_MOTORTEST:
if (state_intro_frame<150)
state_intro_frame+=5;
break;
case STATEID_KEYCONTROL:
case STATEID_STICKVIEW:
if (state_intro_frame<100)
state_intro_frame+=3;
break;
}
else
{
if (state_intro_frame>10)
state_intro_frame-=7;
else
{
state_intro_frame=0;
chg_state_(auto_next_state);
}
 
}
}
 
 
@Override protected void onDraw(Canvas canvas) {
 
 
tick();
 
Paint paint = mPaint;
paint.setAntiAlias(true);
 
paint.setARGB(255,0,0,0);
canvas.drawBitmap(bg_img,pos,0 , paint);
 
if ((bg_img.getWidth()+pos)<(getWidth()))
canvas.drawBitmap(bg_img,pos+bg_img.getWidth(),0 , paint);
 
 
switch ( state )
{
case STATEID_EDIT_PARAMS:
case STATEID_FLIGHTVIEW:
 
paint.setARGB(state_intro_frame ,0,0,0);
canvas.drawBitmap(lcd_img,0,lcd_top , paint);
break;
 
case STATEID_MOTORTEST:
 
paint.setARGB(state_intro_frame,100,100,100);
 
 
//front
 
canvas.drawRoundRect(new RectF(getWidth()/2 - getWidth()/8,getHeight()/2 -getWidth()/8 - (getWidth()/2 - getWidth()/8),getWidth()/2 + getWidth()/8,getHeight()/2 -getWidth()/8),5,5,paint);
 
// back
canvas.drawRoundRect(new RectF(getWidth()/2 - getWidth()/8,getHeight()/2 + getWidth()/8,getWidth()/2 + getWidth()/8,getHeight()/2+getWidth()/8 + (getWidth()/2 - getWidth()/8)),5,5,paint);
 
// left
canvas.drawRoundRect(new RectF(0,getHeight()/2 - getWidth()/8,getWidth()/2 - getWidth()/8,getHeight()/2+getWidth()/8),5,5,paint);
 
canvas.drawRoundRect(new RectF(getWidth()/2+getWidth()/8,getHeight()/2 - getWidth()/8,getWidth(),getHeight()/2+getWidth()/8),5,5,paint);
 
 
paint.setARGB(100,30,30,255);
 
canvas.drawRoundRect(new RectF(getWidth()/2 - getWidth()/8,getHeight()/2 -getWidth()/8 - motortest_vals[0],getWidth()/2 + getWidth()/8,getHeight()/2 -getWidth()/8),5,5,paint);
 
// back
canvas.drawRoundRect(new RectF(getWidth()/2 - getWidth()/8,getHeight()/2 + getWidth()/8,getWidth()/2 + getWidth()/8,getHeight()/2+getWidth()/8 + motortest_vals[1]),5,5,paint);
 
// left
canvas.drawRoundRect(new RectF(getWidth()/2-getWidth()/8- motortest_vals[2],getHeight()/2 - getWidth()/8,getWidth()/2 - getWidth()/8,getHeight()/2+getWidth()/8),5,5,paint);
 
canvas.drawRoundRect(new RectF(getWidth()/2+getWidth()/8,getHeight()/2 - getWidth()/8,getWidth()/2+getWidth()/8+ motortest_vals[3],getHeight()/2+getWidth()/8),5,5,paint);
 
 
paint.setARGB(state_intro_frame+70,0,250,0);
paint.setTextAlign(Paint.Align.CENTER);
 
canvas.drawText("Front:"+ motortest_vals[0],getWidth()/2 ,getHeight()/2 -getWidth()/8-10,paint);
 
canvas.drawText("Back:"+ motortest_vals[1],getWidth()/2 ,getHeight()/2 +getWidth()/8+15,paint);
 
canvas.drawText("Left:"+ motortest_vals[2],getWidth()/4 ,getHeight()/2 ,paint);
canvas.drawText("Right:"+ motortest_vals[3],3*getWidth()/4 ,getHeight()/2 ,paint);
break;
 
case STATEID_RAWDEBUG:
paint.setARGB(state_intro_frame,50,50,200);
 
for(int y_p=0;y_p<16;y_p++)
canvas.drawRoundRect(new RectF(0,(getHeight()/32)*y_p*2,getWidth(),(getHeight()/32)*(y_p*2+1)),5,5,paint);
 
 
 
paint.setARGB(state_intro_frame,0,250,0);
for(int y_p=0;y_p<32;y_p++)
{
canvas.drawText( root.mk.debug_data.names[y_p],0,(getHeight()/32)*(y_p+1)-2,paint);
canvas.drawText( ""+root.mk.debug_data.analog[y_p],getWidth()/3,(getHeight()/32)*(y_p+1)-2,paint);
}
 
 
 
 
break;
 
case STATEID_KEYCONTROL:
canvas.rotate((root.mk.debug_data.analog[18]*(-90))/3000,getWidth()/2,getHeight()/2);
paint.setARGB(state_intro_frame,177,129,0);
// roll rect
canvas.drawRect(-getWidth(),getHeight()/2,2*getWidth(),3*getHeight()/2,paint);
 
int bar_height=20;
// nick rect
paint.setARGB(state_intro_frame,0,200,0);
canvas.drawRoundRect(new RectF(getWidth()/3,getHeight()/2 -bar_height/2 + root.mk.debug_data.analog[17]*getHeight()/(3*3000) ,2*getWidth()/3, getHeight()/2+ root.mk.debug_data.analog[17]*getHeight()/(3*3000)+bar_height),5,5,paint);
 
 
 
canvas.restore();
 
paint.setARGB(state_intro_frame,0,0,255);
// canvas.drawRoundRect(new RectF(getWidth()/2-getWidth()/8,getHeight()/2-getWidth()/8,getWidth()/2+getWidth()/8,getHeight()/2+getWidth()/8),5,5,paint);
 
canvas.drawRoundRect(new RectF(flight_x,flight_y,flight_x+getWidth()/8,flight_y+getWidth()/8),5,5,paint);
paint.setARGB(255,0,0,0);
break;
 
case STATEID_STICKVIEW:
paint.setARGB(state_intro_frame,50,50,200);
for(int y_p=0;y_p<10;y_p++)
canvas.drawRoundRect(new RectF(getWidth()/3 +((root.mk.stick_data.stick[y_p]<0)?(((root.mk.stick_data.stick[y_p]*getWidth()/3)/127)):0) ,(getHeight()/10)*y_p,getWidth()-getWidth()/3+((root.mk.stick_data.stick[y_p]>0)?(((root.mk.stick_data.stick[y_p]*getWidth()/3)/127)):0) ,(getHeight()/10)*(y_p+1)),15,15,paint);
paint.setARGB(state_intro_frame*2+50,0,255,0);
paint.setTextAlign(Paint.Align.CENTER);
for(int y_p=0;y_p<10;y_p++)
canvas.drawText("Chan " + (y_p+1) + "("+root.mk.stick_data.stick[y_p]+")",getWidth()/2,(getHeight()/20)*(y_p*2+1),paint);
paint.setTextAlign(Paint.Align.LEFT);
 
 
canvas.drawText("RC-Signal: " + root.mk.debug_data.SenderOkay(),0,10,paint);
break;
 
case STATEID_MAINMENU:
paint.setARGB(state_intro_frame ,0,0,0);
canvas.drawBitmap(lcd_img,0,lcd_top , paint);
 
int spacer=15;
int y_pos=10;
paint.setColor(Color.GREEN);
// canvas.drawText("LastKeyCode:"+last_key,0,10,paint);
paint.setTextAlign(Paint.Align.LEFT);
if (root.mk.connected)
{
canvas.drawText("Connected to MK with Version:"+root.mk.version.major+"."+root.mk.version.minor,0,y_pos,paint);
y_pos+=spacer;
canvas.drawText(" Power Source: " +( root.mk.debug_data.UBatt()/10) + "." + ( root.mk.debug_data.UBatt()%10) + " Volts | RC-Signal: " + root.mk.debug_data.SenderOkay(),0,y_pos,paint);
y_pos+=spacer;
canvas.drawText(" debug:"+root.mk.debug_data_count+ " LCD:" + root.mk.lcd_data_count + "(Pages:" + root.mk.LCD.pages + ") vers:" + root.mk.version_data_count,0,y_pos,paint);
y_pos+=spacer;
canvas.drawText(" other:"+root.mk.other_data_count+" params:"+root.mk.params_data_count,0,y_pos,paint);
}
else
{
canvas.drawText("No QuadroKopter Communication established.",0,y_pos,paint);
y_pos+=spacer;
}
break;
}
 
 
 
paint.setARGB(255,255,255,255);
// icon indicating QC is connected
// !!FIXME!! -10 by screensize
canvas.drawBitmap(icon_img,getWidth()-icon_img.getWidth(),-10 , paint);
if (root.mk.ready())
canvas.drawBitmap(bt_on_img,getWidth()-icon_img.getWidth()-bt_on_img.getWidth()-5,5 , paint);
else
canvas.drawBitmap(bt_off_img,getWidth()-icon_img.getWidth()-bt_on_img.getWidth()-5,5 , paint);
 
 
paint.setARGB(255,0,0,0);
invalidate();
}
}
/DUBwise/tags/pre_0.50/src/Android/src/org/ligi/MKCommunicator.java
0,0 → 1,473
/********************************************************************************************************************************
*
* Abstaction Layer to Communicate via J2ME and Bluetooth with the FlightCtrl of the MikroKopter Project (www.mikrokopter.de )
*
* Author: Marcus -LiGi- Bueschleb
*
* see README for further Infos
*
*
*******************************************************************************************************************************/
package org.ligi;
//import javax.microedition.io.*;
import java.io.*;
 
 
public class MKCommunicator
implements Runnable
{
/***************** Section: public Attributes **********************************************/
public boolean connected=false; // flag for the connection state
public boolean fatal=false; // flag which is set when an error is so fatal that reconnecting won't be tried - e.g. unknown version number.
 
 
public String mk_url=""; // buffer the url which is given in the constuctor for reconnectin purposes
public MKLCD LCD;
public MKVersion version;
public MKDebugData debug_data;
public MKStickData stick_data;
public MKParamsParser params;
public MKWatchDog watchdog;
// public MKProxy proxy=null;
 
public long connection_start_time=-1;
 
/****************** Section: private Attributes **********************************************/
//// private javax.microedition.io.StreamConnection connection;
private java.net.Socket connection;
private java.io.InputStream reader;
private java.io.OutputStream writer;
 
// temp - to be removed
String p_msg="--";
public String msg="BT_INIT";
 
public int debug_data_count=0;
public int version_data_count=0;
public int other_data_count=0;
public int lcd_data_count=0;
public int params_data_count=0;
 
 
 
String name;
DUBwise root;
// DUBwiseDebug debug;
 
/****************** Section: public Methods ************************************************/
public MKCommunicator(DUBwise root_) //,DUBwiseDebug debug_)
{
 
root=root_;
version=new MKVersion();
debug_data=new MKDebugData();
stick_data=new MKStickData();
params=new MKParamsParser();
LCD= new MKLCD(this);
watchdog=new MKWatchDog(this);
new Thread( this ).start(); // fire up main Thread
}
 
 
/* public void do_proxy(String proxy_url)
{
proxy=new MKProxy(proxy_url);
}*/
 
// URL string: "btspp://XXXXXXXXXXXX:1" - the X-Part is the MAC-Adress of the Bluetooth-Device connected to the Fligth-Control
public void connect_to(String _url,String _name)
{
mk_url=_url; // remember URL for connecting / reconnecting later
name=_name;
force_disconnect=false;
connected=false;
}
 
public boolean ready()
{
return (connected&&(version.major!=-1));
}
 
/****************** Section: private Methods ************************************************/
private void connect()
{
System.out.println("trying to connect to" + mk_url);
try{
//// connection = (StreamConnection) Connector.open(mk_url);
// old call
// connection = (StreamConnection) Connector.open(mk_url, Connector.READ_WRITE);
 
connection = new java.net.Socket("10.0.2.2",54321);
reader=connection.getInputStream();
writer=connection.getOutputStream();
 
//
String magic="\rmk-mode\r";
writer.write(magic.getBytes());
writer.flush();
//
 
 
connection_start_time=System.currentTimeMillis();
connected=true; // if we get here everything seems to be OK
get_version();
lcd_data_count=0;
debug_data_count=0;
version_data_count=0;
 
 
}
catch (Exception ex)
{
// TODO difference fatal errors from those which will lead to reconnection
msg="Problem connecting" + "\n" + ex;
System.out.println("problem connecting " + ex);
}
 
 
 
}
 
public int[] Decode64(int[] in_arr, int offset,int len)
{
int ptrIn=offset;
int a,b,c,d,x,y,z;
int ptr=0;
int[] out_arr=new int[len];
 
while(len!=0)
{
a = in_arr[ptrIn++] - '=';
b = in_arr[ptrIn++] - '=';
c = in_arr[ptrIn++] - '=';
d = in_arr[ptrIn++] - '=';
//if(ptrIn > max - 2) break; // nicht mehr Daten verarbeiten, als empfangen wurden
 
x = (a << 2) | (b >> 4);
y = ((b & 0x0f) << 4) | (c >> 2);
z = ((c & 0x03) << 6) | d;
 
if((len--)!=0) out_arr[ptr++] = x; else break;
if((len--)!=0) out_arr[ptr++] = y; else break;
if((len--)!=0) out_arr[ptr++] = z; else break;
}
return out_arr;
 
}
 
// FC - Function Mappers
 
// send a version Request to the FC - the reply to this request will be processed in process_data when it arrives
public void get_version()
{
send_command(0,'v',new int[0]);
}
 
// send a MotorTest request - params are the speed for each Motor
public void motor_test(int[] params)
{
send_command(0,'t',params);
}
 
public void send_keys(int[] params)
{
send_command(0,'k',params);
}
 
// get params
public void get_params(int id)
{
int[] params=new int[1];
params[0]=id;
 
while(sending)
{try { Thread.sleep(50); }
catch (Exception e) { }
}
 
send_command(0,'q',params);
}
 
 
public void get_debug_name(int id)
{
int[] params=new int[1];
params[0]=id;
 
while(sending)
{try { Thread.sleep(50); }
catch (Exception e) { }
}
 
send_command(0,'a',params);
}
 
 
 
public void trigger_debug_data()
{
int[] params=new int[1];
params[0]=0;
 
while(sending)
{try { Thread.sleep(50); }
catch (Exception e) { }
}
 
send_command(0,'c',params);
}
 
 
public void trigger_LCD(int key)
{
if (sending) return;
 
int[] params=new int[3];
params[0]=key;
params[1]=0;
params[2]=0;
send_command(0,'h',params);
}
 
 
public void write_params()
{
while(sending)
{try { Thread.sleep(50); }
catch (Exception e) { }
}
 
send_command(0,(char)('l'+params.act_paramset),params.field[params.act_paramset]);
}
 
 
boolean sending=false;
 
// send command to FC ( add crc and pack into pseudo Base64
public void send_command(int modul,char cmd,int[] params)
{
sending=true;
char[] send_buff=new char[5 + (params.length/3 + (params.length%3==0?0:1) )*4]; // 5=1*start_char+1*addr+1*cmd+2*crc
send_buff[0]='#';
send_buff[1]=(char)modul;
send_buff[2]=cmd;
for(int param_pos=0;param_pos<(params.length/3 + (params.length%3==0?0:1)) ;param_pos++)
{
int a = (param_pos*3<params.length)?params[param_pos*3]:0;
int b = ((param_pos*3+1)<params.length)?params[param_pos*3+1]:0;
int c = ((param_pos*3+2)<params.length)?params[param_pos*3+2]:0;
 
send_buff[3+param_pos*4] = (char)((a >> 2)+'=' );
send_buff[3+param_pos*4+1] = (char)('=' + (((a & 0x03) << 4) | ((b & 0xf0) >> 4)));
send_buff[3+param_pos*4+2] = (char)('=' + (((b & 0x0f) << 2) | ((c & 0xc0) >> 6)));
send_buff[3+param_pos*4+3] = (char)('=' + ( c & 0x3f));
 
//send_buff[3+foo]='=';
}
 
/* for(int foo=0;foo<(params.length/3 + (params.length%3==0?0:1) )*4;foo++)
{
int a = (foo<params.length) params[foo];
int a = params[foo];
//send_buff[3+foo]='=';
}
*/
try
{
int tmp_crc=0;
for ( int tmp_i=0; tmp_i<send_buff.length;tmp_i++)
{
tmp_crc+=(int)send_buff[tmp_i];
writer.write(send_buff[tmp_i]);
}
tmp_crc%=4096;
writer.write( (char)(tmp_crc/64 + '='));
writer.write( (char)(tmp_crc%64 + '='));
writer.write('\r');
writer.flush();
}
catch (Exception e)
{ // problem sending data to FC
}
 
sending=false;
}
 
 
public void process_data(int[] data,int len)
{
 
switch((char)data[2])
{
case 'D': // debug Data
debug_data_count++;
debug_data.set_by_mk_data(Decode64(data,3,len-3),version);
break;
 
case 'A': // debug Data Names
//debug_data_count++;
debug_data.set_names_by_mk_data(data[1]-'0',Decode64(data,3,len-3));
break;
case 'V': // Version Info
version_data_count++;
version.set_by_mk_data(Decode64(data,3,6));
break;
case '0':
case '1':
case '2':
case '3':
lcd_data_count++;
LCD.handle_lcd_data(Decode64(data,3,20),data[2]-(int)'0');
 
break;
case '4':
stick_data.set_by_mk_data(Decode64(data,3,20));
String tmp_s="";
for (int tmp_c=0;tmp_c<10;tmp_c++)
tmp_s+="s"+tmp_c+"v"+stick_data.stick[tmp_c]+" ";
root.log(tmp_s);
break;
 
case 'L':
case 'M':
case 'N':
case 'O':
case 'P':
params.set_by_mk_data((int)(data[2]-'L'),Decode64(data,3,len-3),version);
params_data_count++;
break;
 
default:
other_data_count++;
root.log("got other data:" + (char)data[2] + "=>" + (byte)data[2]);
 
 
String tmp_str="";
for (int tmp_i=0;tmp_i<len;tmp_i++)
tmp_str+=(char)data[tmp_i];
root.log(tmp_str);
break;
 
}
 
 
 
}
 
String o_msg="";
 
public boolean force_disconnect=true;
 
public void close_connections(boolean force)
{
// if ((!force)&&root.canvas.do_vibra) root.vibrate(500);
force_disconnect=force;
try{ reader.close(); }
catch (Exception inner_ex) { }
 
try{ writer.close(); }
catch (Exception inner_ex) { }
try{ connection.close(); }
catch (Exception inner_ex) { }
connected=false;
}
 
public boolean run=true;
// Thread to recieve data from Connection
public void run()
{
int[] data_set=new int[1024];
int input;
int pos=0;
msg+="!!run started!!";
while(run)
{
if (!connected)
{
if (!force_disconnect) connect();
}
else
try{
pos=0;
input=0;
// recieve data-set
while ((input != 13)&&(input != 10)) // &&(input!=-1))
{
 
input = reader.read() ;
// if (proxy!=null)
// proxy.writer.write(input);
// if (input==-1) throw new Exception("test");
if (input!=-1)
{
data_set[pos]=input;
pos++;
}
// root.log("p "+pos + " i:" + (char)input + " ii: " + input);
}
/*
if (proxy!=null)
{
proxy.writer.write('\r');
proxy.writer.write('\n');
proxy.writer.flush();
}
*/
try
{
if (pos>5)
process_data(data_set,pos);
}
catch (Exception ex)
{
root.log("Problem Parsinf data");
root.log(ex.toString());
// close the connection
// close_connections(false);
}
}
catch (Exception ex)
{
root.log("Problem reading from MK -> closing conn");
root.log(ex.toString());
// close the connection
// close_connections(false);
 
 
}
// sleep a bit to get someting more done
try { Thread.sleep(50); }
catch (Exception e) { }
} // while
 
 
} // run()
 
 
}
/DUBwise/tags/pre_0.50/src/Android/src/org/ligi/MKDebugData.java
0,0 → 1,97
/*********************************************
*
* class representing the DebugData Structure
*
* Author: Marcus -LiGi- Bueschleb
*
* see README for further Infos
*
********************************************/
 
package org.ligi;
 
public class MKDebugData
 
{
 
public int[] analog;
public String[] names;
public boolean[] got_name;
public int motor_complete=-1;
 
private int i;
 
public int motor_val(int id) { return analog[12+id]; }
public int nick_int() { return analog[0]; }
public int roll_int() { return analog[1]; }
public int accnick() { return analog[2]; }
public int accroll() { return analog[3]; }
 
 
public int UBatt() { return analog[9]; }
public int SenderOkay() { return analog[10]; }
 
 
 
public MKDebugData()
{
names=new String[32];
analog=new int[32];
got_name=new boolean[32];
for (i=0;i<32;i++)
{
analog[i]=-1;
names[i]="-#"+i+"->";
got_name[i]=false;
}
 
}
 
public void set_names_by_mk_data(int id,int[] in_arr)
{
names[id]="";
for (i=0;i<16;i++)
{
if ((char)in_arr[i]!=' ')
names[id]+=(char)in_arr[i];
got_name[id]=true;
}
names[id]+=":";
}
 
public void set_by_mk_data(int[] in_arr,MKVersion version)
{
 
if (version.compare(-1,-1)==version.VERSION_EQUAL)
return;
 
if (version.compare(0,60)==version.VERSION_PREVIOUS)
{
for (i=0;i<32;i++)
{
//analog[i]=(int)((in_arr[1+i*2]<<8) | in_arr[2+i*2]);
analog[i]=(int)((in_arr[3+i*2]<<8) | in_arr[2+i*2]);
if ((analog[i]&(1<<15))!=0)
analog[i]=-(analog[i]&(0xFFFF-1))^(0xFFFF-1);
}
}
else
{
for (i=0;i<16;i++)
{
analog[i]=(int)((in_arr[17+i*2]<<8) | in_arr[18+i*2]);
if ((analog[i]&(1<<15))!=0)
analog[i]=-(analog[i]&(0xFFFF-1))^(0xFFFF-1);
}
}
 
motor_complete=motor_val(0)+motor_val(1)+motor_val(2)+motor_val(3);
 
 
}
 
 
 
}
/DUBwise/tags/pre_0.50/src/Android/src/org/ligi/MKLCD.java
0,0 → 1,198
/*******************************************
*
* Handling of MK LCD
*
* Author: Marcus -LiGi- Bueschleb
* see README for further Infos
*
*
*******************************************/
package org.ligi;
 
public class MKLCD
implements Runnable
{
 
boolean buffer=false;
 
MKCommunicator mk=null;
 
// public String[] LCD_str;
 
private String[][] lcd_buf;
private final static int MAX_LCD_PAGES=20;
int act_key=0;
int act_mk_page=0;
int act_user_page=0;
boolean initial_run=true;
 
int pages=0;
 
int pages_read=0;
 
byte init_state=0;
 
public String[] get_act_page()
{ return lcd_buf[act_user_page]; }
 
public MKLCD(MKCommunicator _mk)
{
lcd_buf=new String[MAX_LCD_PAGES][4];
 
for (int p=0;p<MAX_LCD_PAGES;p++)
{
lcd_buf[p][0]="buffering Page ";
lcd_buf[p][1]="please stay patient ";
lcd_buf[p][2]=" ";
lcd_buf[p][3]=" ;-) ";
}
 
mk=_mk;
new Thread( this ).start(); // fire up main Thread
}
 
public void run()
{
while(true)
{
try {
if (mk.connected)
trigger_LCD();
Thread.sleep(100);
}
catch (Exception e) { }
}
}
 
public void set_page(int page)
{
act_user_page=page;
}
 
public void handle_lcd_data(int[] data,int row)
{
if(buffer)
{
if (row==0) // firs row indicates page
{
pages_read++;
act_mk_page=data[18]-48;
if (data[17]!=91) // [
act_mk_page+=10*(data[17]-48);
if (act_mk_page>pages)
pages=act_mk_page;
if (( init_state==1)&&(act_mk_page==0))
{ init_state=2; act_key=1; }
else if ((init_state==2)&&(act_mk_page!=0))
{ init_state=3; act_key=2; }
 
 
}
lcd_buf[act_mk_page][row]="";
for(int foo=0;foo<20;foo++)
lcd_buf[act_mk_page][row]+=(char)data[foo];
 
if (init_state==-1) // init over
{
if (act_mk_page<act_user_page)
act_key=2;
if (act_mk_page>act_user_page)
act_key=1;
 
}
else if (init_state==3)
{
if (row==3)
{
if(act_mk_page==pages-1)
init_state=-1;
else
act_key=2;
}
}
}
else
//unbuffered
{
 
 
String last_line=lcd_buf[act_mk_page][row];
 
lcd_buf[act_mk_page][row]="";
for(int foo=0;foo<20;foo++)
lcd_buf[act_mk_page][row]+=(char)data[foo];
 
if ((row==0)&&(last_line!=lcd_buf[act_mk_page][row]))
act_key=0;
 
}
}
 
boolean init=true;
public void trigger_LCD()
{
if (mk.connected && mk.version.known)
try {
if (buffer)
{
if (init_state==0)
{
mk.trigger_LCD(3);
init_state++;
}
else
mk.trigger_LCD(act_key);
act_key=0;
}
else
{
mk.trigger_LCD(act_key);
 
}
 
}
catch (Exception e) { }
}
 
 
 
 
 
 
public void LCD_NEXTPAGE()
{
if (buffer)
{
if (act_user_page!=pages)
act_user_page++;
else
act_user_page=0;
}
else
{
act_key=2;
}
}
 
public void LCD_PREVPAGE()
{
 
if (buffer)
{
if (act_user_page!=0)
act_user_page--;
else
act_user_page=pages;
}
else
{
act_key=1;
}
}
}
/DUBwise/tags/pre_0.50/src/Android/src/org/ligi/MKParamDefinitions.java
0,0 → 1,11
package org.ligi;
 
public interface MKParamDefinitions
{
 
public final static int PARAMTYPE_BYTE=0;
public final static int PARAMTYPE_BITSWITCH=1;
public final static int PARAMTYPE_STICK=2;
 
 
}
/DUBwise/tags/pre_0.50/src/Android/src/org/ligi/MKParamEditor.java
0,0 → 1,203
/**************************************************
*
* class to handle Editing of MK Params
*
* Author: Marcus -LiGi- Bueschleb
*
* see README for further Infos
*
*************************************************/
 
package org.ligi;
 
import android.view.*;
 
public class MKParamEditor
implements MKParamDefinitions
{
 
 
private int act_tab=0;
private int act_y=0;
private int act_lcd_lines=10;
 
DUBwise root;
 
public String[] lcd_lines;
 
public String[] public_lcd_lines;
public MKParamEditor(DUBwise _root)
{
root=_root;
lcd_lines=new String[40];
refresh_lcd();
}
/*
public void paint ( Graphics g)
{
refresh_lcd();
canvas.paint_lcd(g,false);
}
*/
public void refresh_lcd()
{
// try
{
 
if (root.mk!=null)
{
act_lcd_lines=root.mk.params.field_names[act_tab].length*2+1;
for ( int i=0;i<act_lcd_lines;i++)
lcd_lines[i]="";
 
 
try
{
 
lcd_lines[0]=(act_tab==0?" ":"< ") + root.mk.params.tab_names[act_tab] + (act_tab==(root.mk.params.tab_names.length-1)?" ":" >");
 
for (int i=0;i<root.mk.params.field_names[act_tab].length;i++)
{
lcd_lines[1+2*i]=root.mk.params.field_names[act_tab][i];
if (root.mk.params.field_types[act_tab][i]== root.mk.params.PARAMTYPE_BITSWITCH)
lcd_lines[2+2*i]=(((root.mk.params.get_field_from_act(root.mk.params.field_positions[act_tab][i]/8)&(1<<root.mk.params.field_positions[act_tab][i]%8))==0)?"off":"on" ) ;
if (root.mk.params.field_types[act_tab][i]== root.mk.params.PARAMTYPE_BYTE)
{
lcd_lines[2+2*i]=""+root.mk.params.get_field_from_act(root.mk.params.field_positions[act_tab][i]);
if ((root.mk.params.get_field_from_act(root.mk.params.field_positions[act_tab][i])>250)&&(root.mk.params.get_field_from_act(root.mk.params.field_positions[act_tab][i])<256))
lcd_lines[2+2*i]+="[Poti"+(root.mk.params.get_field_from_act(root.mk.params.field_positions[act_tab][i])-250) +"]";
}
 
if (root.mk.params.field_types[act_tab][i]== root.mk.params.PARAMTYPE_STICK)
{
lcd_lines[2+2*i]=""+root.mk.params.get_field_from_act(root.mk.params.field_positions[act_tab][i]);
}
 
 
}
for (int i=0;i<act_lcd_lines;i++)
{
lcd_lines[i]=(act_y==i?"#":" ")+lcd_lines[i];
}
 
for ( int i=0;i<act_lcd_lines;i++)
while(lcd_lines[i].length()<20)
{
lcd_lines[i]+=" ";
}
}
catch (Exception e){}
public_lcd_lines=new String[act_lcd_lines];
for(int i=0;i<act_lcd_lines;i++)
public_lcd_lines[i]=lcd_lines[i];
}
else
{
public_lcd_lines=new String[1];
public_lcd_lines[0]="reading params";
}
 
}
// catch (Exception e){}
}
 
 
public final static int KEYCODE_CLEAR=-8;
public boolean editing_number=false;
 
public void keypress (int keyCode,int action)
{
if (act_y==0) switch (action)
{
case KeyEvent.KEYCODE_DPAD_RIGHT:
if (act_tab<root.mk.params.tab_names.length-1) act_tab++;
break;
 
case KeyEvent.KEYCODE_DPAD_LEFT:
if (act_tab!=0) act_tab--;
break;
}
else
{
if(root.mk.params.field_types[act_tab][act_y/2-1]==root.mk.params.PARAMTYPE_BYTE)
{
if ((keyCode >=KeyEvent.KEYCODE_0) && (keyCode <=KeyEvent.KEYCODE_9))
{
if((editing_number)&&( Math.abs(root.mk.params.get_field_from_act(root.mk.params.field_positions[act_tab][act_y/2-1]))*10+(keyCode -KeyEvent.KEYCODE_0)<1000))
root.mk.params.set_field_from_act(root.mk.params.field_positions[act_tab][act_y/2-1] , Math.abs(root.mk.params.get_field_from_act(root.mk.params.field_positions[act_tab][act_y/2-1]))*10+(keyCode -KeyEvent.KEYCODE_0));
else
root.mk.params.set_field_from_act(root.mk.params.field_positions[act_tab][act_y/2-1] , (keyCode -KeyEvent.KEYCODE_0));
editing_number=true;
return;
}
else
if ( keyCode==KEYCODE_CLEAR)
root.mk.params.set_field_from_act(root.mk.params.field_positions[act_tab][act_y/2-1],0);
}
editing_number=false;
switch (action)
{
case KeyEvent.KEYCODE_DPAD_RIGHT:
switch(root.mk.params.field_types[act_tab][act_y/2-1])
{
case PARAMTYPE_BITSWITCH:
root.mk.params.field_from_act_xor((root.mk.params.field_positions[act_tab][act_y/2-1]/8),1<<(root.mk.params.field_positions[act_tab][act_y/2-1]%8));
break;
case PARAMTYPE_BYTE:
case PARAMTYPE_STICK:
root.mk.params.field_from_act_add(root.mk.params.field_positions[act_tab][act_y/2-1],1);
break;
}
break;
case KeyEvent.KEYCODE_DPAD_LEFT:
switch(root.mk.params.field_types[act_tab][act_y/2-1])
{
case PARAMTYPE_BITSWITCH:
root.mk.params.field_from_act_xor((root.mk.params.field_positions[act_tab][act_y/2-1]/8),1<<(root.mk.params.field_positions[act_tab][act_y/2-1]%8));
break;
case PARAMTYPE_BYTE:
case PARAMTYPE_STICK:
root.mk.params.field_from_act_add(root.mk.params.field_positions[act_tab][act_y/2-1],-1);
break;
}
break;
}
}
switch (action)
{
 
case KeyEvent.KEYCODE_DPAD_DOWN:
if (act_y<(act_lcd_lines-2)) act_y+=2;
else act_y=0;
break;
 
case KeyEvent.KEYCODE_DPAD_UP :
if (act_y!=0) act_y-=2;
else act_y=act_lcd_lines-1;
break;
}
 
refresh_lcd();
 
 
}
}
 
/DUBwise/tags/pre_0.50/src/Android/src/org/ligi/MKParamsParser.java
0,0 → 1,134
/**************************************************
*
* class representing the Params Structure
*
* Author: Marcus -LiGi- Bueschleb
*
* see README for further Infos
*
*************************************************/
 
package org.ligi;
 
public class MKParamsParser
implements MKParamDefinitions
 
{
 
 
// -- start generated code --
public final static int PARAMTYPE_BYTE=0;
public final static int PARAMTYPE_BITSWITCH=1;
public final static int PARAMTYPE_STICK=2;
public final static String[][] all_tab_names={{"Altitude","Camera","Channels","Configuration","Gyro","Other","Stick","User"},{"Altitude","Camera","Channels","Configuration","Gyro","Looping","Other","Stick","User"},{"Altitude","Camera","Channels","Configuration","Coupling","Gyro","Looping","Other","Stick","User"},{"Altitude","Camera","Channels","Configuration","Coupling","Gyro","Looping","Other","Stick","User"}};
public final static String[][][] all_field_names={{{"Min. Accelerate","Barometric D","Setpoint","Altitude P","Gain","Z-ACC"},{"Servo control","Nick compensation","Servo min","Servo max","Refresh rate","Invert Direction"},{"Nick","Roll","Accelerate","Gier","POTI1","POTI2","POTI3","POTI4"},{"ALTITUDE_CONTROL","Switch for Setpoint","Heading Hold","Compas Active","GPS"},{"ACC/Gyro Factor","P-Rate","I-Rate"},{"Min Gas","Max Gas","Compass Effect","Voltage Warning","Distress Gas","Distress Gas Time"},{"Nick/Roll P","Nick/Roll D","Gier P"},{"Param 1","Param 2","Param 3","Param 4"}},{{"Min. Accelerate","Barometric D","Setpoint","Altitude P","Gain","Z-ACC"},{"Servo control","Nick compensation","Servo min","Servo max","Refresh rate","Invert Direction"},{"Nick","Roll","Accelerate","Gier","POTI1","POTI2","POTI3","POTI4"},{"ALTITUDE_CONTROL","Switch for Setpoint","Heading Hold","Compas Active","GPS"},{"ACC/Gyro Factor","P-Rate","I-Rate"},{"Gas Limit","Threshold","UP","DOWN","LEFT","RIGHT"},{"Min Gas","Max Gas","Compass Effect","Voltage Warning","Distress Gas","Distress Gas Time"},{"Nick/Roll P","Nick/Roll D","Gier P"},{"Param 1","Param 2","Param 3","Param 4"}},{{"Min. Accelerate","Barometric D","Setpoint","Altitude P","Gain","Z-ACC"},{"Servo control","Nick compensation","Servo min","Servo max","Refresh rate","Invert Direction"},{"Nick","Roll","Accelerate","Gier","POTI1","POTI2","POTI3","POTI4"},{"ALTITUDE_CONTROL","Switch for Setpoint","Heading Hold","Compas Active","Compas Fix","GPS","Coupling","Yaw Rate Limiter"},{"Yaw pos. feedback","Yaw neg. feedback"},{"ACC/Gyro Factor","P-Rate","I-Rate","ACC/Gyro Comp","Drift-Compensation"},{"Gas Limit","Threshold","Hysterese","TurnOver Nick","TurnOver Roll","UP","DOWN","LEFT","RIGHT"},{"Min Gas","Max Gas","Compass Effect","Voltage Warning","Distress Gas","Distress Gas Time"},{"Nick/Roll P","Nick/Roll D","Gier P"},{"Param 1","Param 2","Param 3","Param 4"}},{{"Min. Accelerate","Barometric D","Setpoint","Altitude P","Gain","Z-ACC"},{"Servo control","Nick compensation","Servo min","Servo max","Refresh rate","Invert Direction"},{"Nick","Roll","Accelerate","Gier","POTI1","POTI2","POTI3","POTI4"},{"ALTITUDE_CONTROL","Switch for Setpoint","Heading Hold","Compas Active","Compas Fix","GPS","Coupling","Yaw Rate Limiter"},{"Yaw pos. feedback","Yaw neg. feedback"},{"ACC/Gyro Factor","P-Rate","I-Rate","ACC/Gyro Comp","Drift-Compensation","Dynamic stability"},{"Gas Limit","Threshold","Hysterese","TurnOver Nick","TurnOver Roll","UP","DOWN","LEFT","RIGHT"},{"Min Gas","Max Gas","Compass Effect","Voltage Warning","Distress Gas","Distress Gas Time"},{"Nick/Roll P","Nick/Roll D","Gier P"},{"Param 1","Param 2","Param 3","Param 4","Param 5","Param 6","Param 7","Param 8"}}};
public final static int[][][] all_field_positions={{{9,10,11,12,13,14},{33,34,35,36,37,304},{0,1,2,3,4,5,6,7},{64,65,66,67,69},{20,22,23},{18,19,21,24,25,26},{15,16,17},{29,30,31,32}},{{9,10,11,12,13,14},{33,34,35,36,37,328},{0,1,2,3,4,5,6,7},{64,65,66,67,69},{20,22,23},{38,39,320,321,322,323},{18,19,21,24,25,26},{15,16,17},{29,30,31,32}},{{9,10,11,12,13,14},{33,34,35,36,37,384},{0,1,2,3,4,5,6,7},{64,65,66,67,68,69,70,71},{41,42},{20,22,23,45,46},{38,39,40,43,44,376,377,378,379},{18,19,21,24,25,26},{15,16,17},{29,30,31,32}},{{9,10,11,12,13,14},{33,34,35,36,37,424},{0,1,2,3,4,5,6,7},{64,65,66,67,68,69,70,71},{41,42},{20,22,23,45,46,47},{38,39,40,43,44,416,417,418,419},{18,19,21,24,25,26},{15,16,17},{29,30,31,32,48,49,50,51}}};
public final static int[][][] all_field_types={{{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH},{PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK},{PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE}},{{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH},{PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK},{PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE}},{{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH},{PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK},{PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE}},{{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH},{PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK},{PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE}}};
public final static int[] all_name_positions={46,46,53,58};
public final static int[] all_lengths={58,58,65,70};
// -- end generated code --
 
 
public final static int MAX_PARAMSETS=20;
public final static int MAX_PARAMLENGTH=100;
 
public int[][] field;
public String[] names={"Paramset 1","Paramset 2","Paramset 3","Paramset 4","Paramset 5"};
 
public int act_paramset=0;
 
 
public int get_field_from_act(int pos)
{ return field[act_paramset][pos]; }
 
public void set_field_from_act(int pos,int val)
{
if (val>255) val=255;
if (val<0) val=255;
field[act_paramset][pos]=val;
}
 
 
public void field_from_act_add(int pos,int val)
{
set_field_from_act(pos , get_field_from_act(pos)+val);
}
 
// for boolean Flags
public void field_from_act_xor(int pos,int val)
{
field[act_paramset][pos]^=val;
}
 
public MKParamsParser()
{
field=new int[MAX_PARAMSETS][];
for (int ii=0;ii<MAX_PARAMSETS;ii++)
field[ii]=null;
 
 
tab_names=all_tab_names[3];
field_names=all_field_names[3];
field_positions=all_field_positions[3];
field_types=all_field_types[3];
 
name_start=all_name_positions[3];
length=all_lengths[3];
 
for (int tmp=0;tmp< MAX_PARAMSETS;tmp++)
field[tmp]=new int[length];
 
 
}
 
//<--generated
public static final int COMP_COUNT=3;
 
// public string[COMP_COUNT] categorys;
 
//->
public int[] param_type;
public int[] param_pos;
public int[] param_innerpos;
 
public String[] tab_names;
public String[][] field_names;
public int[][] field_positions;
public int[][] field_types;
 
public int length;
public int name_start;
 
 
 
 
public void set_by_mk_data(int paramset_num,int[] in_arr,MKVersion version)
{
 
tab_names=all_tab_names[version.compatible-4];
field_names=all_field_names[version.compatible-4];
field_positions=all_field_positions[version.compatible-4];
field_types=all_field_types[version.compatible-4];
 
name_start=all_name_positions[version.compatible-4];
length=all_lengths[version.compatible-4];
 
field[paramset_num]=new int[length];
 
for ( int i=0;i<length;i++)
field[paramset_num][i]=in_arr[i];
names[paramset_num]="" + (paramset_num+1) +": ";
for ( int i=name_start;i<length;i++)
{
if(in_arr[i]==0)break;
names[paramset_num]+=(char)in_arr[i];
}
 
}
 
 
 
}
/DUBwise/tags/pre_0.50/src/Android/src/org/ligi/MKStickData.java
0,0 → 1,44
/*********************************************
*
* class representing the StickData Structure
*
* Author: Marcus -LiGi- Bueschleb
*
* see README for further Infos
*
********************************************/
 
package org.ligi;
 
public class MKStickData
{
// holing stick data
public int[] stick;
 
// general counter
private int i;
 
public MKStickData()
{
 
stick=new int[10];
for (i=0;i<10;i++)
stick[i]=-1;
 
}
 
public void set_by_mk_data(int[] in_arr)
{
 
for (i=0;i<10;i++)
{
stick[i]=(int)((in_arr[1+i*2]<<8) | in_arr[i*2]);
if ((stick[i]&(1<<15))!=0)
stick[i]=-(stick[i]&(0xFFFF-1))^(0xFFFF-1);
}
 
}
 
 
 
}
/DUBwise/tags/pre_0.50/src/Android/src/org/ligi/MKVersion.java
0,0 → 1,49
/************************************
*
* class representing the MK-Version
* Author: Marcus -LiGi- Bueschleb
* Project-Start: 9/2007 *
*
* see README for further Infos
*
****************************************/
 
package org.ligi;
 
public class MKVersion
 
{
public int major=-1;
public int minor=-1;
public int compatible=-1;
public String str="--";
 
// version known?
public boolean known=false;
 
public final byte VERSION_AFTER=0;
public final byte VERSION_EQUAL=1;
public final byte VERSION_PREVIOUS=2;
 
 
public void set_by_mk_data(int[] data)
{
major=data[0];
minor=data[1];
compatible=data[2];
str="v"+major+"."+minor+"/"+compatible;
known=true;
}
public byte compare(int major_c,int minor_c)
{
if ((major_c==major)&&(minor_c==minor))
return VERSION_EQUAL;
// TODO - compare major - PC-COMPATIBLE
else if (minor_c>minor) return VERSION_AFTER;
return VERSION_PREVIOUS;
}
 
}
/DUBwise/tags/pre_0.50/src/Android/src/org/ligi/MKWatchDog.java
0,0 → 1,77
/**************************************
*
* WatchDog for MK-Connection
*
* Author: Marcus -LiGi- Bueschleb
*
* see README for further Infos
*
*
**************************************/
 
package org.ligi;
 
public class MKWatchDog
implements Runnable
{
 
MKCommunicator mk=null;
 
int debug_data_count_buff=-123;
int lcd_data_count_buff=-123;
 
 
public MKWatchDog(MKCommunicator _mk)
{
 
mk=_mk;
new Thread( this ).start(); // fire up main Thread
}
 
public void run()
{
while(true)
{
try { Thread.sleep(3000); }
catch (Exception e) { }
if (mk.connected&&(!mk.force_disconnect))
{
if (debug_data_count_buff==mk.debug_data_count)
{
// mk.close_connections(false);
}
if ((lcd_data_count_buff==mk.lcd_data_count)||(mk.lcd_data_count==0))
mk.LCD.trigger_LCD();
debug_data_count_buff=mk.debug_data_count;
lcd_data_count_buff=mk.lcd_data_count;
 
 
if (mk.version.major==-1)
mk.get_version();
 
for ( int cnt=0;cnt<5;cnt++)
if (mk.params.field[cnt]==null)
{
mk.get_params(cnt+1);
break;
}
 
for (int c=0;c<32;c++)
if (!mk.debug_data.got_name[c])
{
mk.get_debug_name(c);
break;
}
}
 
}
}
 
}
/DUBwise/tags/pre_0.50/src/Android/src/org/ligi/R.java
0,0 → 1,43
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
 
package org.ligi;
 
public final class R {
public static final class attr {
}
public static final class drawable {
public static final int bt_off=0x7f020000;
public static final int bt_on=0x7f020001;
public static final int icon=0x7f020002;
public static final int lcd_green=0x7f020003;
public static final int starfield=0x7f020004;
}
public static final class layout {
public static final int main=0x7f030000;
}
public static final class raw {
public static final int voice_sample_1=0x7f040000;
public static final int voice_sample_10=0x7f040001;
public static final int voice_sample_11=0x7f040002;
public static final int voice_sample_12=0x7f040003;
public static final int voice_sample_13=0x7f040004;
public static final int voice_sample_2=0x7f040005;
public static final int voice_sample_3=0x7f040006;
public static final int voice_sample_4=0x7f040007;
public static final int voice_sample_5=0x7f040008;
public static final int voice_sample_6=0x7f040009;
public static final int voice_sample_7=0x7f04000a;
public static final int voice_sample_8=0x7f04000b;
public static final int voice_sample_9=0x7f04000c;
public static final int voice_sample_komma=0x7f04000d;
public static final int voice_sample_volt=0x7f04000e;
}
public static final class string {
public static final int app_name=0x7f050000;
}
}
/DUBwise/tags/pre_0.50/src/J2ME/build.props
0,0 → 1,3
screensize=240x320
voice_mode=de_tts
basename=DUBwise-240x320-de_tts
/DUBwise/tags/pre_0.50/src/J2ME/build.rb
0,0 → 1,76
#!/usr/bin/env ruby
# little ruby script to build DUBwise
#
# Author: Marcus -LiGi- Bueschleb
#
# see README for further Infos
 
 
resdir="res/"
 
 
puts `mv build.props build.props.bak`
puts `ant clean`
 
 
ARGV<<"" if ARGV==[]
 
case ARGV[0]
when "test"
screensizes=["240x320"]
# screensizes=["176x220"]
voice_modes=["en_speedy"]
when "n80"
 
screensizes=["340x400"]
voice_modes=["en_speedy"]
else
screensizes=["128x128","176x220","240x320","340x400","480x640"]
voice_modes=["no_voice","de_tts","de_64kbit_tts","en_speedy","wav"]
end
 
 
 
propertys={}
 
screensizes.each { |screensize|
 
 
 
 
 
voice_modes.each { |voice_mode|
 
p "cleaning ressources"
p `rm -rf tmp/res`
p `mkdir tmp/res`
 
p `cp -v res/images_by_screensize/#{screensize}/* tmp/res/`
 
propertys["screensize"]=screensize
 
p "voice_mode" + voice_mode
p "Screensize " + screensize
 
propertys["voice_mode"]=voice_mode
 
propertys["basename"]="DUBwise-#{screensize}-#{voice_mode}"
p `cp -v res/voice_samples_by_name/#{voice_mode}/* tmp/res/`
 
prefs_file= File.new("build.props","w")
propertys.each_pair {|name,value|
prefs_file << name+"="+value+"\n"
}
prefs_file.close
 
`ant build`.each_line { |l| puts l }
}
 
 
}
puts `mv -v build.props.bak build.props`
 
Property changes:
Added: svn:executable
+*
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/build.xml
0,0 → 1,70
<project name="DUBwise" basedir=".">
<property name="wtk.home" value="/home/ligi/tools/WTK2.2/"/>
 
<property name="project_name" value="DUBwise"/> <!-- jar filename -->
<property name="project_version" value="0.47"/>
 
<property file="build.props"/>
 
<property name="res_dir" location="tmp/res"/>
<property name="build_dir" location="${basedir}/build/"/>
<property name="lib_dir" location="${basedir}/lib/"/>
<property name="src_dir" location="${basedir}/src/"/>
<property name="preprocessed_src_dir" location="${basedir}/tmp/pp_src/"/>
 
<taskdef resource="antenna.properties" classpath="${lib_dir}/antenna.jar"/>
 
<property name="wtk.midp.version" value="2.0"/>
 
<property name="wtk.midpapi" value="${lib_dir}/classes_with_fileapi.zip"/>
<target name="build">
<wtkpreprocess version="2" srcdir="${src_dir}" destdir="${preprocessed_src_dir}" symbols="VERSION=${project_version},voice_mode=${voice_mode}" verbose="false"/>
<wtkbuild destdir="${build_dir}/classes" srcdir="${preprocessed_src_dir}" target="1.1" preverify="true"/>
<wtkjad
jadfile="${build_dir}/bin/${basename}.jad"
jarfile="${build_dir}/bin/${basename}.jar"
update="false"
manifest="${build_dir}/bin/MANIFEST.MF"
name="${project_name}"
vendor="LiGi"
version="${project_version}">
<attribute name="MIDletX-No-Command" value="true"/>
<attribute name="MIDlet-Icon" value="i.png"/>
<midlet name="${project_name}" class="${project_name}" icon="i.png" />
<!-- !!TODO!! Remove Icon JAD entry if no icon is there -->
</wtkjad>
<wtkpackage
jarfile="${build_dir}/bin/${basename}.jar"
jadfile="${build_dir}/bin/${basename}.jad"
basedir="${build_dir}/classes"
manifest="${build_dir}/bin/MANIFEST.MF"
obfuscate="false"
preverify="true">
<fileset dir="${res_dir}/">
<include name="*"/>
</fileset>
</wtkpackage>
 
<!-- !!TODO!! just zip if flag set -->
<zip destfile="${build_dir}/deploy.zip" basedir="${build_dir}/bin/" includes="**/*"/>
</target>
 
<target name="clean">
 
<delete dir="${build_dir}"/>
<delete dir="${preprocessed_src_dir}"/>
<tstamp/>
<mkdir dir="${preprocessed_src_dir}"/>
<mkdir dir="${build_dir}"/>
<mkdir dir="${build_dir}/classes"/>
<mkdir dir="${build_dir}/bin"/>
</target>
 
</project>
/DUBwise/tags/pre_0.50/src/J2ME/lib/antenna.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/lib/classes.zip
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:executable
+*
\ No newline at end of property
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/images_by_screensize/128x128/bt.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/images_by_screensize/128x128/clouds.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/images_by_screensize/128x128/i.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/images_by_screensize/128x128/lcd_blue.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/images_by_screensize/128x128/lcd_green.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/images_by_screensize/128x128/load.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/images_by_screensize/128x128/starfield.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/images_by_screensize/176x220/bt.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/images_by_screensize/176x220/clouds.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/images_by_screensize/176x220/i.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/images_by_screensize/176x220/lcd_blue.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/images_by_screensize/176x220/lcd_green.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/images_by_screensize/176x220/load.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/images_by_screensize/176x220/starfield.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/images_by_screensize/240x320/bt.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/images_by_screensize/240x320/clouds.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/images_by_screensize/240x320/i.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/images_by_screensize/240x320/lcd_blue.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/images_by_screensize/240x320/lcd_green.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/images_by_screensize/240x320/load.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/images_by_screensize/240x320/starfield.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_64kbit_tts/1.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_64kbit_tts/10.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_64kbit_tts/11.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_64kbit_tts/12.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_64kbit_tts/13.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_64kbit_tts/2.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_64kbit_tts/3.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_64kbit_tts/4.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_64kbit_tts/5.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_64kbit_tts/6.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_64kbit_tts/7.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_64kbit_tts/8.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_64kbit_tts/9.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_64kbit_tts/komma.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_64kbit_tts/volt.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_tts/1.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_tts/10.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_tts/11.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_tts/12.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_tts/13.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_tts/2.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_tts/3.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_tts/4.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_tts/5.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_tts/6.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_tts/7.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_tts/8.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_tts/9.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_tts/komma.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/de_tts/volt.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/en_speedy/1.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/en_speedy/10.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/en_speedy/11.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/en_speedy/12.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/en_speedy/13.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/en_speedy/2.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/en_speedy/3.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/en_speedy/4.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/en_speedy/5.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/en_speedy/6.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/en_speedy/7.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/en_speedy/8.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/en_speedy/9.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/en_speedy/komma.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/en_speedy/volt.mp3
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/wav/1.wav
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/wav/10.wav
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/wav/11.wav
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/wav/12.wav
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/wav/13.wav
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/wav/2.wav
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/wav/3.wav
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/wav/4.wav
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/wav/5.wav
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/wav/6.wav
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/wav/7.wav
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/wav/8.wav
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/wav/9.wav
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/wav/komma.wav
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/res/voice_samples_by_name/wav/volt.wav
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/DUBwise/tags/pre_0.50/src/J2ME/src/BTSearcher.java
0,0 → 1,136
/***************************************
*
* searches 4 Bluetooth Devices
*
* Author: Marcus -LiGi- Bueschleb
*
* see README for further Infos
*
****************************************/
 
import javax.bluetooth.*;
 
public class BTSearcher
implements DiscoveryListener
{
private LocalDevice m_LclDevice = null;
private DiscoveryAgent m_DscrAgent=null;
 
 
 
public boolean searching=true;
public boolean error=false;
public String err_log="none";
 
 
public void log(String err_str)
{
 
err_log+=err_str;
System.out.println(err_str);
}
 
public final int MAX_DEVICES=10;
 
public RemoteDevice[] remote_devices;
public int remote_device_count=0;
public String[] remote_device_name;
public String[] remote_device_mac;
 
 
public BTSearcher()
{
 
remote_devices=new RemoteDevice[MAX_DEVICES];
remote_device_name=new String[MAX_DEVICES];
remote_device_mac=new String[MAX_DEVICES];
 
remote_device_count=0;
}
 
public void search()
{
searching=true;
remote_device_count=0;
try
{
//First get the local device and obtain the discovery agent.
m_LclDevice = LocalDevice.getLocalDevice();
m_DscrAgent= m_LclDevice.getDiscoveryAgent();
m_DscrAgent.startInquiry(DiscoveryAgent.GIAC,this);
}
catch (BluetoothStateException ex)
{
error=true;
log("Problem in searching the blue tooth devices\n" + ex);
}
 
}
 
public void inquiryCompleted(int transID) {
 
try {
log("search complete with " + remote_device_count + " devices");
for(int i=0;i<remote_device_count;i++)
{
log("#" + i + " -> addr: " + remote_devices[i].getBluetoothAddress());
remote_device_mac[i]=remote_devices[i].getBluetoothAddress();
 
remote_device_name[i]=remote_devices[i].getBluetoothAddress();
try {
log("#" + i + "name:" + remote_devices[i].getFriendlyName(true));
remote_device_name[i]=remote_devices[i].getFriendlyName(true);
}
catch (Exception e)
{
log("Problem getting name of BT-Device( -> taking mac as name): " + e);
}
 
 
}
}
catch (Exception e)
{
log("Problem in searching the blue tooth devices" + e);
}
searching=false;
}
 
 
public void search_again()
{
}
 
//Called when device is found during inquiry
public void deviceDiscovered(RemoteDevice btDevice, DeviceClass cod)
{
log("found device ");
try
{
if (remote_device_count!=(MAX_DEVICES-1))
{
remote_devices[remote_device_count]=btDevice;
remote_device_count++;
}
}
catch (Exception e)
{
log("Device Discovered Error: " + e);
}
 
}
 
 
public void serviceSearchCompleted(int transID, int respCode)
{ }
 
public void servicesDiscovered(int transID, ServiceRecord[] records)
{ }
 
 
 
}
/DUBwise/tags/pre_0.50/src/J2ME/src/DUBwise.java
0,0 → 1,46
/***********************************************************************
*
* DUBwise == Digital UFO Broadcasting with intelligent service equipment
* main MIDLet Source file
*
* Author: Marcus -LiGi- Bueschleb
*
* see README for further Infos
*
************************************************************************/
 
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
 
public class DUBwise
extends MIDlet
 
{
public Display display;
public DUBwiseCanvas canvas;
public boolean loaded=false;
 
public void vibrate(int duration)
{
display.vibrate(duration);
}
 
protected void startApp()
throws MIDletStateChangeException
{
 
if (loaded)return;
display = Display.getDisplay(this);
canvas=new DUBwiseCanvas(this);
 
// fire up canvas
display.setCurrent(canvas);
loaded=true;
}
 
public void quit() { notifyDestroyed(); }
protected void pauseApp() {} // not needed right now
protected void destroyApp(boolean arg0) { }
 
}
/DUBwise/tags/pre_0.50/src/J2ME/src/DUBwiseCanvas.java
0,0 → 1,2086
/***************************************************************
*
* User Interface ( Canvas ) of DUBwise
*
* Author: Marcus -LiGi- Bueschleb
*
* see README for further Infos
*
***************************************************************/
 
import javax.microedition.lcdui.*;
import javax.microedition.rms.*;
 
import javax.microedition.media.*;
import javax.microedition.media.control.*;
 
 
// for fileapi
import javax.microedition.io.*;
import javax.microedition.midlet.*;
import javax.microedition.io.file.*;
 
import java.io.*;
import java.util.*;
 
 
// end for fileapi
 
public class DUBwiseCanvas
extends Canvas
implements Runnable,DUBwiseDefinitions
{
 
// for fileapi
public final static int MAX_FILELIST_LENGTH=100;
public final static int MAX_PATH_DEPTH=10;
// String act_path="";
// String last_path="";
 
byte act_path_depth=0;
String[] act_path_arr;
 
 
public String act_path()
{
String res="";
for (int i=0;i<act_path_depth;i++)
res+=act_path_arr[i];
return res;
}
 
String[] file_list;
int file_list_length=0;
 
 
int[] act_proxy_ip={192,168,1,42,4242}; // { ip , ip , ip , ip , port }
int[] act_connection_ip={192,168,1,42,4242}; // { ip , ip , ip , ip , port }
 
 
int ipinput_pos=0;
// end for fileapi
 
public String ip_digit_zeroes(int digit)
{ return "" + digit/100 + "" + (digit/10)%10 + "" + (digit)%10; }
 
public String ip_str(int[] ip,boolean with_zeroes)
{
if(with_zeroes)
return ip_digit_zeroes(ip[0]) + "." +ip_digit_zeroes(ip[1]) + "."+ip_digit_zeroes(ip[2]) + "."+ip_digit_zeroes(ip[3]) + ":"+ip_digit_zeroes(ip[4]) ;
else
return ip[0]+"."+ip[1]+"."+ip[2]+"."+ip[3]+":"+ip[4];
}
 
int heading_offset=0;
int act_wp;
 
// name/handle for the recordStore to memorize some stuff
private final static String RECORD_STORE_NAME="DUBSETT";
private BTSearcher bt_scanner;
public MKCommunicator mk=null;
private MKStatistics mk_stat=null;
private MKParamsEditor params_editor=null;
public DUBwiseDebug debug=null;
 
//#if voice_mode!="no_voice"
private MKStatusVoice status_voice;
//#endif
 
private String err="";
private DUBwise root;
 
public UFOProber ufo_prober;
 
byte[] settings_arr;
 
public boolean do_vibra=true;
public boolean do_sound=true;
public boolean do_scrollbg=true;
public boolean keep_lighton=false;
 
private Image bg_img;
private Image bt_img;
private Image lcd_img;
private Image load_img;
private Image symbols_img;
 
 
public boolean fullscreen=false;
public int act_motor=0;
public int act_motor_increase=0;
public boolean motor_test_sel_all=false;
 
 
final static int SKINID_DARK= 0;
final static int SKINID_LIGHT = 1;
 
//holds id of actual skin
byte act_skin=SKINID_DARK;
 
 
public final static int MAX_GRAPHS=4;
 
public final static int[] graph_colors={0x156315,0xCC1315,0xf8ef02,0x19194d};
 
public int[] graph_sources={0,1,2,3};
public String[] graph_names={"nick int","roll int","nick acc","roll acc"};
 
public int[][] graph_data;
 
public int[] nick_line_pos_data;
public int[] roll_line_pos_data;
 
public int[] accnick_line_pos_data;
public int[] accroll_line_pos_data;
 
public int lcd_char_width=0;
public int lcd_char_height=0;
 
public int frame_pos=0;
 
public int user_intent=USER_INTENT_NONE;
int line_scaler=20;
 
int rawdebug_cursor_y=0;
int rawdebug_off_y=0;
 
public int line_middle_y;
 
boolean quit=false;
boolean rescan=true;
int bg_offset=0;
 
// variable to hold the current state
public int state=-1;
int local_max=-1;
 
int y_off=0;
int spacer=0;
int spacer1=0;
 
int[] motor_test = {0,0,0,0};
 
String[] menu_items;
int[] menu_actions;
int act_menu_select=0;
String[] lcd_lines =null;
 
public void paint_menu(Graphics g)
{
for ( int i=0;i<menu_items.length;i++)
{
if ((frame_pos%3)!=0)
{
lcd_lines[i]=(act_menu_select==i?">":" ") + menu_items[i];
for ( int ii=0;ii<(18-menu_items[i].length());ii++)
lcd_lines[i]+=" ";
if (act_menu_select==i)
lcd_lines[i]+="<";
}
else
lcd_lines[i]=" " + menu_items[i];
 
}
paint_lcd(g,true);
}
 
public void menu_keypress(int keyCode)
{
debug.log("KeyCode:"+keyCode);
switch (getGameAction (keyCode))
{
case UP:
if (act_menu_select!=0) act_menu_select--;
else
act_menu_select=menu_items.length-1;
break;
case DOWN:
if (act_menu_select<(menu_items.length-1)) act_menu_select++;
else act_menu_select=0;
break;
}
 
}
 
public boolean cam_condition()
{
return (mk.stick_data.stick[5]>100);
 
}
 
// int lcd_top=25;
 
public void paint_lcd(Graphics g,boolean bottomup)
{
 
int y;
 
int lcd_top= (state==STATEID_EDIT_PARAMS?0:25);
 
int spacer_left_right=(this.getWidth()-(20*(lcd_img.getWidth()/222)))/2;
// for(int i=0;i<lcd_lines.length;i++)
int max_lines=(this.getHeight()-lcd_top)/lcd_char_height;
int display_lines=(lcd_lines.length>max_lines?max_lines:lcd_lines.length);
 
 
int lcd_off= (state==STATEID_EDIT_PARAMS?params_editor.act_y:act_menu_select)-display_lines+1;
if ( lcd_off<0) lcd_off=0;
 
for(int i=0;i<display_lines;i++)
for (int pos=0;pos<20;pos++)
{
if (bottomup)
y=this.getHeight()-(display_lines-i)*lcd_char_height;
else
y=i*lcd_char_height;
g.setClip((lcd_img.getWidth()/222)*pos+spacer_left_right,y,(lcd_img.getWidth()/222),lcd_img.getHeight());
g.drawImage(lcd_img,spacer_left_right+(lcd_img.getWidth()/222)*pos-((pos<lcd_lines[i+lcd_off].length()?lcd_lines[i+lcd_off].charAt(pos):' ')-' ')*(lcd_img.getWidth()/222),y,g.TOP | g.LEFT);
}
}
 
public void load_images()
{
try
{
// load all needed images
switch (act_skin)
{
case SKINID_DARK:
lcd_img=Image.createImage("/lcd_green.png");
bg_img=Image.createImage("/starfield.jpg"); break;
 
case SKINID_LIGHT:
lcd_img=Image.createImage("/lcd_blue.png");
bg_img=Image.createImage("/clouds.jpg");
break;
}
 
 
bt_img=Image.createImage("/bt.png");
symbols_img=Image.createImage("/symbols.png");
load_img=Image.createImage("/load.png");
 
lcd_char_width=lcd_img.getWidth()/222;
lcd_char_height=lcd_img.getHeight();
 
graph_data=new int[MAX_GRAPHS][bg_img.getWidth()];
 
for (int c=0;c<bg_img.getWidth();c++)
for (int d=0;d<MAX_GRAPHS;d++)
graph_data[d][c]=-1;
 
 
nick_line_pos_data=new int[bg_img.getWidth()];
roll_line_pos_data=new int[bg_img.getWidth()];
accnick_line_pos_data=new int[bg_img.getWidth()];
accroll_line_pos_data=new int[bg_img.getWidth()];
for (int c=0;c<bg_img.getWidth();c++)
{
nick_line_pos_data[c]=-1;
roll_line_pos_data[c]=-1;
accnick_line_pos_data[c]=-1;
accroll_line_pos_data[c]=-1;
}
 
}
 
catch (Exception e)
{
debug.err(e.toString());
}
 
}
 
public DUBwiseCanvas(DUBwise _root)
{
 
 
// file
file_list= new String[MAX_FILELIST_LENGTH];
act_path_arr=new String[MAX_PATH_DEPTH];
// end file
 
 
root=_root;
 
debug = new DUBwiseDebug(this);
 
 
 
bt_scanner = new BTSearcher();
params_editor = new MKParamsEditor(this);
ufo_prober = new UFOProber();
 
mk = new MKCommunicator(root,debug);
mk_stat = new MKStatistics(mk);
 
//#if voice_mode!="no_voice"
status_voice=new MKStatusVoice(mk,this);
//#endif
try
{
RecordStore recStore = RecordStore.openRecordStore(RECORD_STORE_NAME , true );
 
if (recStore.getNumRecords()==3)
{
 
//byte[] recData = new byte[recStore.getRecordSize(1)];
//int len = recStore.getRecord(1, recData, 0);
 
//byte[] recData2 = new byte[recStore.getRecordSize(2)];
//int len2 = recStore.getRecord(2, recData, 0);
byte[] url_data=recStore.getRecord(1);
byte[] name_data=recStore.getRecord(2);
settings_arr=recStore.getRecord(3);
act_skin=settings_arr[0];
do_sound=(settings_arr[1]==1);
do_vibra=(settings_arr[2]==1);
do_scrollbg=(settings_arr[3]==1);
fullscreen=(settings_arr[4]==1);
keep_lighton=(settings_arr[5]==1);
 
connect_mk(new String(url_data, 0, url_data.length),new String(name_data, 0, name_data.length));
 
}
recStore.closeRecordStore();
}
catch (Exception e)
{
settings_arr=new byte[10];
 
err+=e.toString();
}
 
load_images();
 
// chg_state((mk.force_disconnect)?STATEID_SCANNING:STATEID_MAINMENU);
chg_state(STATEID_MAINMENU);
 
 
new Thread(this).start();
 
}
 
 
 
/****************************** Thread ******************/
// ticking runnable Section
public void run()
{
 
 
while(true)
{
try {
 
 
repaint();
serviceRepaints();
 
long loopStartTime = System.currentTimeMillis();
long sleeptime=0;
// ticked thing
frame_pos++;
 
switch(state)
{
case STATEID_CAMMODE:
 
try
{
if(cam_condition())
{
cam_img=null;
debug.log("get snap\n");
cam_raw = mVideoControl.getSnapshot(null);
 
try { Thread.sleep(4000); }
catch (Exception e)
{
err="Problem Sleeping ";
}
}
else
{
if (cam_img==null)
cam_img = Image.createImage(cam_raw, 0, cam_raw.length);
}
}
catch ( Exception e)
{
debug.log(e.toString());
}
break;
case STATEID_KEYCONTROL:
mk.send_keys(keycontrol_bitfield);
break;
 
case STATEID_READ_PARAMS:
if (mk.watchdog.act_paramset==5)
chg_state(STATEID_SELECT_PARAMSET);
else
{
lcd_lines[0]="Reading Settings ";
lcd_lines[1]=mk.watchdog.act_paramset+"/5 |"+ (mk.watchdog.act_paramset>0?"#":"_") + (mk.watchdog.act_paramset>1?"#":"_") + (mk.watchdog.act_paramset>2?"#":"_")+ (mk.watchdog.act_paramset>3?"#":"_")+ (mk.watchdog.act_paramset>4?"#":"_") + "| ";
}
break;
 
case STATEID_MOTORTEST:
 
if (motor_test_sel_all)
for (int m=0;m<4;m++)
{
motor_test[m]+=act_motor_increase;
if (motor_test[m]<0)motor_test[m]=0;
if (motor_test[m]>255)motor_test[m]=255;
}
else
{
motor_test[act_motor]+=act_motor_increase;
if (motor_test[act_motor]<0) motor_test[act_motor]=0;
if (motor_test[act_motor]>255) motor_test[act_motor]=255;
}
 
mk.motor_test(motor_test);
break;
 
case STATEID_IPINPUT:
lcd_lines[1]=ip_str(act_proxy_ip,true);
 
lcd_lines[2]="";
for(int foo=0;foo<20;foo++)
{
if (foo==ipinput_pos)
lcd_lines[2]+="^";
else
lcd_lines[2]+=" ";
}
break;
 
case STATEID_MAINMENU:
if (ufo_prober.change_notify)
{
ufo_prober.change_notify=false;
chg_state(STATEID_MAINMENU);
}
break;
 
case STATEID_SCANNING:
intro_str_delay--;
if (intro_str_delay<0)
{
intro_str_delay=1;
if (intro_str_pos>intro_str.length())
intro_str_pos=0;
lcd_lines[3]=intro_str.substring(intro_str_pos, (((intro_str_pos+20)>intro_str.length())?intro_str.length():intro_str_pos+20));
intro_str_pos++;
}
if (!bt_scanner.searching)
chg_state(STATEID_DEVICESELECT);
 
break;
 
 
}
 
try {
nick_line_pos_data[-bg_offset] = mk.debug_data.nick_int();
roll_line_pos_data[-bg_offset] = mk.debug_data.roll_int();
accnick_line_pos_data[-bg_offset] = mk.debug_data.accnick();
accroll_line_pos_data[-bg_offset] = mk.debug_data.accroll();
}
catch (Exception e)
{
err+=e.toString();
}
 
 
if (quit)
{
 
try
{
RecordStore.deleteRecordStore(RECORD_STORE_NAME);
RecordStore recStore = RecordStore.openRecordStore(RECORD_STORE_NAME, true );
recStore.addRecord(mk.mk_url.getBytes(), 0, mk.mk_url.getBytes().length);
recStore.addRecord(mk.name.getBytes(), 0, mk.name.getBytes().length);
settings_arr=new byte[10];
settings_arr[0]=(byte)act_skin;
settings_arr[1]=(byte)(do_sound?1:0);
settings_arr[2]=(byte)(do_vibra?1:0);
settings_arr[3]=(byte)(do_scrollbg?1:0);
settings_arr[4]=(byte)(fullscreen?1:0);
settings_arr[5]=(byte)(keep_lighton?1:0);
recStore.addRecord(settings_arr, 0, settings_arr.length);
 
 
recStore.closeRecordStore();
 
}
catch (Exception e)
{
err+=e.toString();
}
 
root.quit();
}
if (rescan)
{
rescan=false;
}
 
try {
//rescan=false;
bg_offset--;
if (bg_offset==-bg_img.getWidth())
bg_offset=0;
if (keep_lighton) com.nokia.mid.ui.DeviceControl.setLights(0,100);
 
}
catch (Exception e) { }
sleeptime=1000/ 15 - (int) (System.currentTimeMillis()- loopStartTime);
 
 
if (sleeptime<0)
sleeptime=100; // everyone has fi sleep
try { Thread.sleep(sleeptime); }
catch (Exception e)
{
err="Problem Sleeping ";
}
 
}
catch (Exception e)
{
err+=e.toString();
}
}
}
 
 
boolean firstrun=true;
 
public int skin_bg_color()
{
switch (act_skin)
{
case SKINID_DARK:
return 0x000000;
 
default:
case SKINID_LIGHT:
return 0xFFFFFF;
}
}
 
 
public int skin_fg_color()
{
switch (act_skin)
{
case SKINID_DARK:
return 0xFFFFFF;
default:
case SKINID_LIGHT:
return 0x000000;
}
}
 
// drawing section
public void paint(Graphics g) {
//
if (debug.showing)
{
debug.paint(g);
return;
}
 
if (firstrun)
{
if (fullscreen) setFullScreenMode(fullscreen);
firstrun=false;
}
y_off=0;
 
 
 
try {
if (mk!=null)
{
line_middle_y=this.getHeight()/2;
if (local_max<Math.abs(mk.debug_data.nick_int()))
local_max=Math.abs(mk.debug_data.nick_int());
if (local_max<Math.abs(mk.debug_data.roll_int()))
local_max=Math.abs(mk.debug_data.roll_int());
if (local_max<Math.abs(mk.debug_data.accnick()))
local_max=Math.abs(mk.debug_data.accnick());
if (local_max<Math.abs(mk.debug_data.accroll()))
local_max=Math.abs(mk.debug_data.accroll());
line_scaler= local_max/(this.getHeight()/2)+1;
}
 
 
Font f1 = Font.getFont(Font.FACE_SYSTEM, Font.STYLE_PLAIN, Font.SIZE_MEDIUM);
Font f2 = Font.getFont(Font.FACE_SYSTEM, Font.STYLE_PLAIN, Font.SIZE_SMALL);
 
spacer=(f1.getHeight());
spacer1=(f2.getHeight());
 
//default Font
g.setFont(f1);
 
 
//draw background
if ((!do_scrollbg) || (state==STATEID_EDIT_PARAMS))
{
g.setColor(0xdedfff);
g.fillRect(0,0,this.getWidth(),symbols_img.getHeight());
 
g.setColor(skin_bg_color());
g.fillRect(0,symbols_img.getHeight(),this.getWidth(),this.getHeight()-symbols_img.getHeight());
 
 
}
else
{
g.setColor(0xFFFFFF);
g.fillRect(0,0,this.getWidth(),this.getHeight());
g.drawImage(bg_img,bg_offset,0, g.TOP | g.LEFT);
if (bg_offset+bg_img.getWidth()<this.getWidth())
g.drawImage(bg_img,bg_offset+bg_img.getWidth(),0, g.TOP | g.LEFT);
}
 
 
//int bar=0;
// for ( int bar=0;bar<3;bar++)
if (do_scrollbg)
for ( int bar=0;bar<this.getWidth()/(symbols_img.getWidth()/10)+1;bar++)
{
g.setClip(bar*(symbols_img.getWidth()/10),0,(symbols_img.getWidth()/10),symbols_img.getHeight());;
g.drawImage(symbols_img,bar*(symbols_img.getWidth()/10),0, g.TOP | g.LEFT);
}
 
 
g.setClip(0,0,(symbols_img.getWidth()/10),symbols_img.getHeight());;
if (mk.connected)
{
 
if (((mk.bytes_in_count>>3)&1)==1)
g.drawImage(symbols_img,(-2)*(symbols_img.getWidth()/10),0, g.TOP | g.LEFT);
else
g.drawImage(symbols_img,(-3)*(symbols_img.getWidth()/10),0, g.TOP | g.LEFT);
 
int symbol_spacer=5;
g.setClip(symbol_spacer+(symbols_img.getWidth()/10),0,(symbols_img.getWidth()/10),symbols_img.getHeight());;
 
g.drawImage(symbols_img,symbol_spacer+(-3)*(symbols_img.getWidth()/10),0, g.TOP | g.LEFT);
g.setClip(0,0,this.getWidth(),this.getHeight());
g.setColor(0x03035a);
g.drawString("" + (mk.debug_data.UBatt()/10) + "," +(mk.debug_data.UBatt()%10)+"V" , symbol_spacer+2+2*(symbols_img.getWidth()/10),y_off,Graphics.TOP | Graphics.LEFT);
// g.drawString("Sender: " + mk.debug_data.SenderOkay(),this.getWidth()/2,y_off,Graphics.TOP | Graphics.LEFT);
g.setClip(2*symbol_spacer+2*(symbols_img.getWidth()/10) + g.getFont().stringWidth("88,8V"),0,(symbols_img.getWidth()/10),symbols_img.getHeight());;
g.drawImage(symbols_img,2*symbol_spacer+(-4)*(symbols_img.getWidth()/10) + g.getFont().stringWidth("88,8V"),0, g.TOP | g.LEFT);
 
g.setClip(0,0,this.getWidth(),this.getHeight());
 
g.drawString(""+mk.debug_data.SenderOkay() , 2+2*symbol_spacer+3*(symbols_img.getWidth()/10) + g.getFont().stringWidth("88,8V"),y_off,Graphics.TOP | Graphics.LEFT);
}
 
else
g.drawImage(symbols_img,(-1)*(symbols_img.getWidth()/10),0, g.TOP | g.LEFT);
 
// if (mk.connected)
 
// unclip
g.setClip(0,0,this.getWidth(),this.getHeight());
 
y_off+=symbols_img.getHeight();
g.setColor(skin_fg_color());
switch(state)
{
 
case STATEID_GPSVIEW:
 
g.setStrokeStyle(Graphics.SOLID);
g.setColor(0x0000ff);
 
 
// g.fillArc(0, 0, this.getWidth(), this.getWidth(), 0,45);
 
int start_angle=(360+mk.gps_position.angle2wp(act_wp) - ((360+mk.debug_data.analog[26]-heading_offset)%360))%360;
// start_angle=0;
start_angle=(360-start_angle +90 -(45/2))%360;
 
g.fillArc(0, 0, this.getWidth(), this.getWidth(), start_angle,45);
// g.drawArc(1, 1, this.getWidth()-2, this.getWidth()-2, start_angle,45);
// g.drawArc(2, 2, this.getWidth()-4, this.getWidth()-4, start_angle ,45);
 
 
g.setColor(skin_fg_color());
 
 
 
 
g.drawString("GPS-Packages: " + mk.navi_data_count ,0,y_off,Graphics.TOP | Graphics.LEFT); g.drawString("GPS-Packages: " + mk.navi_data_count ,0,y_off,Graphics.TOP | Graphics.LEFT); g.drawString("GPS-Packages: " + mk.navi_data_count ,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
g.drawString("Used Sats: " + mk.gps_position.Used_Sat ,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
g.drawString("Latitude: " + mk.gps_position.Latitude_str() ,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
 
g.drawString("Longitude: " + mk.gps_position.Longitude_str() ,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
 
 
g.drawString("Target-Lat: " + mk.gps_position.TargetLatitude ,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
g.drawString("Target-Long: " + mk.gps_position.TargetLongitude ,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
g.drawString("Distance : " + mk.gps_position.Distance2Target ,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
g.drawString("Angle: " + mk.gps_position.Angle2Target ,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
 
g.drawString("WayPoints: " + act_wp + "/" + mk.gps_position.last_wp ,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
 
g.drawString("" + mk.gps_position.NameWP[act_wp] ,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
 
g.drawString("Lat: " + mk.gps_position.WP_Latitude_str(act_wp) ,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
 
g.drawString("Long: " + mk.gps_position.WP_Longitude_str(act_wp) ,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
 
 
g.drawString("Distance: " + mk.gps_position.distance2wp(act_wp) ,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
 
g.drawString("Angle: " + mk.gps_position.angle2wp(act_wp) ,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
 
 
g.drawString("Compas Heading: " + ((360+mk.debug_data.analog[26]-heading_offset)%360) + "(" +mk.debug_data.analog[26] +")" ,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
 
 
break;
 
case STATEID_CAMMODE:
 
if (cam_img!=null)
g.drawImage(cam_img,0,0,g.TOP | g.LEFT);
g.drawString("condition: " + cam_condition() ,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
g.drawString("width " + cam_img.getWidth(),0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
g.drawString("height " + cam_img.getHeight(),0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
break;
 
case STATEID_STICKVIEW:
 
for(int tmp_y=0;tmp_y<10;tmp_y++)
{
g.drawString(""+tmp_y+"=>"+mk.stick_data.stick[tmp_y],0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
}
break;
 
case STATEID_KEYCONTROL:
 
 
y_off+=spacer;
g.drawString("UP&DOWN => nick",0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
g.drawString("LEFT&RIGHT => roll",0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
g.drawString("1&4 => altitude",0,y_off,Graphics.TOP | Graphics.LEFT);
 
y_off+=spacer;
g.drawString("2&3 => gier",0,y_off,Graphics.TOP | Graphics.LEFT);
 
y_off+=spacer;
g.drawString("Press # and * at once",0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
g.drawString("to quit KeyControl",0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
g.drawString("bf1:"+ keycontrol_bitfield[0] ,0,y_off,Graphics.TOP | Graphics.LEFT);
g.drawString("bf2:"+ keycontrol_bitfield[1] ,this.getWidth()/2,y_off,Graphics.TOP | Graphics.LEFT);
break;
 
case STATEID_MOTORTEST:
for (int bar=0;bar<4;bar++)
 
{
g.setColor(((bar==act_motor)|motor_test_sel_all)?0x44CC44:0x4444DD);
g.fillRect(this.getWidth()/(8*2)+bar*2*this.getWidth()/8,y_off+10,this.getWidth()/8,y_off+20+motor_test[bar]);
g.setColor(0x000000);
g.drawString(""+motor_test[bar] ,this.getWidth()/8+bar*2*this.getWidth()/8,y_off+10,Graphics.TOP | Graphics.HCENTER);
g.drawString(""+mk.debug_data.motor_val(bar) ,this.getWidth()/8+bar*2*this.getWidth()/8,y_off+25,Graphics.TOP | Graphics.HCENTER);
}
break;
 
case STATEID_EDIT_PARAMS:
params_editor.paint(g);
break;
 
case STATEID_FILEOPEN:
y_off+=spacer;
g.drawString("act_path" + act_path() ,0,y_off,Graphics.TOP | Graphics.LEFT);
paint_menu(g);
break;
 
 
case STATEID_IPINPUT:
paint_lcd(g,true);
break;
 
case STATEID_READ_PARAMS:
paint_lcd(g,true);
 
g.setClip(this.getWidth()/2-load_img.getWidth()/6+1,this.getHeight()/2-load_img.getHeight()/8+1, load_img.getWidth()/4,load_img.getHeight()/3);;
g.drawImage(load_img,this.getWidth()/2-load_img.getWidth()/8 - ((((frame_pos/3)%12)%4)*(load_img.getWidth()/4)) ,this.getHeight()/2-load_img.getHeight()/6- ((((frame_pos/3)%12)/4)*(load_img.getHeight()/3)), g.TOP | g.LEFT);
// g.drawImage(bt_img,this.getWidth()/2 ,this.getHeight()/2 , g.HCENTER | g.VCENTER);
break;
 
 
case STATEID_SCANNING:
paint_lcd(g,true);
 
g.setClip(this.getWidth()/2-load_img.getWidth()/6+1,this.getHeight()/2-load_img.getHeight()/8+1, load_img.getWidth()/4,load_img.getHeight()/3);;
g.drawImage(load_img,this.getWidth()/2-load_img.getWidth()/8 - ((((frame_pos/3)%12)%4)*(load_img.getWidth()/4)) ,this.getHeight()/2-load_img.getHeight()/6- ((((frame_pos/3)%12)/4)*(load_img.getHeight()/3)), g.TOP | g.LEFT);
g.drawImage(bt_img,this.getWidth()/2 ,this.getHeight()/2 , g.HCENTER | g.VCENTER);
break;
 
case STATEID_RAWDEBUG:
g.setFont(f2);
rawdebug_off_y=0;
if ((rawdebug_cursor_y+2)*spacer1>this.getHeight())
rawdebug_off_y=((rawdebug_cursor_y+2)*spacer1-this.getHeight())/spacer1;
for (int i=0;i<(this.getHeight()/spacer1);i++)
{
if (i+rawdebug_off_y==rawdebug_cursor_y)
{
g.setColor(0x0000CC);
g.fillRect(0,y_off,this.getWidth(),spacer1);
 
g.setColor(skin_fg_color());
 
 
}
if (i+rawdebug_off_y<32) //todo better style
g.drawString(mk.debug_data.names[i+rawdebug_off_y] + mk.debug_data.analog[i+rawdebug_off_y] ,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer1;
}
 
 
 
break;
 
case STATEID_CONN_DETAILS:
g.setFont(f1);
g.drawString("Connection::",0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
g.setFont(f2);
g.drawString(ufo_prober.extended_name()+ " (" + (mk.connected?("open"+((System.currentTimeMillis()- mk.connection_start_time)/1000)+"s"):"closed")+"):",0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer1;
g.drawString(" Version:" + mk.version.str ,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer1;
g.drawString(" Name:" + mk.name,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer1;
g.drawString(" URL:" + mk.mk_url,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer1;
g.setFont(f1);
g.drawString("Packet Traffic:",0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
g.setFont(f2);
g.drawString( " in:"+mk.bytes_in_count + " bytes => " + mk.bytes_in_count/((System.currentTimeMillis()- mk.connection_start_time)/1000) + " bytes/s",0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer1;
 
g.drawString( " out:"+mk.bytes_out_count + " bytes =>" + mk.bytes_out_count/((System.currentTimeMillis()- mk.connection_start_time)/1000) + "bytes/s", 0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer1;
 
 
g.drawString( " debug:"+mk.debug_data_count+ " LCD:" + mk.lcd_data_count + " vers:" + mk.version_data_count,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer1;
g.drawString( " other:"+mk.other_data_count+" params:"+mk.params_data_count + " GPS:"+mk.navi_data_count ,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer1;
g.drawString( " debug_names:" + mk.debug_names_count + " angles:" + mk.angle_data_count ,0,y_off,Graphics.TOP | Graphics.LEFT);
 
break;
 
 
case STATEID_PROXY:
g.setFont(f1);
g.drawString("Host:",0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
g.setFont(f2);
g.drawString(" " + mk.proxy.url + "("+((mk.proxy.connected)?"open":"closed") +")",0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer1;
 
g.setFont(f1);
g.drawString("Packet Traffic:",0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
g.setFont(f2);
g.drawString( " in:"+mk.bytes_in_count + " bytes => " + mk.bytes_in_count/((System.currentTimeMillis()- mk.connection_start_time)/1000) + " bytes/s",0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer1;
 
g.drawString( " out:"+mk.bytes_out_count + " bytes =>" + mk.bytes_out_count/((System.currentTimeMillis()- mk.connection_start_time)/1000) + "bytes/s", 0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer1;
 
 
g.drawString( " debug:"+mk.debug_data_count+ " LCD:" + mk.lcd_data_count + " vers:" + mk.version_data_count,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer1;
g.drawString( " other:"+mk.other_data_count+" params:"+mk.params_data_count + " GPS:"+mk.navi_data_count ,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer1;
g.drawString( " debug_names:" + mk.debug_names_count + " angles:" + mk.angle_data_count ,0,y_off,Graphics.TOP | Graphics.LEFT);
 
break;
 
 
case STATEID_MAINMENU:
case STATEID_SETTINGSMENU:
// falltru wanted
case STATEID_SELECT_PARAMSET:
case STATEID_HANDLE_PARAMS:
case STATEID_DEVICESELECT:
 
paint_menu(g);
break;
 
case STATEID_GRAPH:
 
g.setStrokeStyle(Graphics.DOTTED);
g.setColor(0xe1dddd);
 
int scale=0;
if (1/line_scaler< this.getHeight()/10) scale=1;
if (10/line_scaler< this.getHeight()/10) scale=10;
if (100/line_scaler< this.getHeight()/10) scale=100;
if (1000/line_scaler< this.getHeight()/10) scale=1000;
if (10000/line_scaler< this.getHeight()/10) scale=10000;
 
 
/*
g.drawString("scale:"+scale + "line scaler" + line_scaler,0,y_off,Graphics.TOP | Graphics.LEFT);
 
 
int jump=0;
g.drawLine(0,line_middle_y,this.getWidth(),line_middle_y);
 
while (jump<this.getHeight()/2)
{
g.drawLine(0,line_middle_y - jump/line_scaler,this.getWidth(),line_middle_y - jump/line_scaler);
g.drawLine(0,line_middle_y + jump/line_scaler,this.getWidth(),line_middle_y + jump/line_scaler);
jump+=scale;
}
*/
 
 
 
 
for ( int x=0;x<this.getWidth();x++)
{
int p= (((-bg_offset+x-this.getWidth()-5)));
if (p<1)
p+=bg_img.getWidth();
p%=(bg_img.getWidth()-1);
 
 
try {
nick_line_pos_data[-bg_offset] = mk.debug_data.nick_int();
roll_line_pos_data[-bg_offset] = mk.debug_data.roll_int();
accnick_line_pos_data[-bg_offset] = mk.debug_data.accnick();
accroll_line_pos_data[-bg_offset] = mk.debug_data.accroll();
}
catch (Exception e)
{
err+=e.toString();
}
 
g.setColor(0x156315);
draw_graph_part(g,x,nick_line_pos_data[p]/line_scaler,nick_line_pos_data[p+1]/line_scaler);
g.setColor(0xCC1315);
draw_graph_part(g,x,roll_line_pos_data[p]/line_scaler,roll_line_pos_data[p+1]/line_scaler);
g.setColor(0xf8ef02);
draw_graph_part(g,x,accnick_line_pos_data[p]/line_scaler,accnick_line_pos_data[p+1]/line_scaler);
g.setColor(0x19194d);
draw_graph_part(g,x,accroll_line_pos_data[p]/line_scaler,accroll_line_pos_data[p+1]/line_scaler);
}
 
 
 
for (int d=0;d<MAX_GRAPHS;d++)
{
g.setColor(graph_colors[d]);
g.fillRect(0,y_off +spacer1/2-2 ,20,4);
g.setColor(skin_fg_color());
g.drawString(graph_names[d],23,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer1;
 
}
 
 
 
break;
 
case STATEID_FLIGHTVIEW:
 
g.setClip(this.getWidth()/2-load_img.getWidth()/6+1,this.getHeight()/2-load_img.getHeight()/8+1, load_img.getWidth()/4,load_img.getHeight()/3);;
if (( mk.LCD.init_state!=-1)||(mk.LCD.act_mk_page!=mk.LCD.act_user_page)) g.drawImage(load_img,this.getWidth()/2-load_img.getWidth()/8 - ((((frame_pos/3)%12)%4)*(load_img.getWidth()/4)) ,this.getHeight()/2-load_img.getHeight()/6- ((((frame_pos/3)%12)/4)*(load_img.getHeight()/3)), g.TOP | g.LEFT);
 
/*
// !!TODO!! check exactly which version those Datas where introduced
if (mk.version.compare(0,60)==mk.version.VERSION_PREVIOUS)
{
g.drawString("Voltage: " + (mk.debug_data.UBatt()/10) + "," +(mk.debug_data.UBatt()%10)+"V" ,0,y_off,Graphics.TOP | Graphics.LEFT);
g.drawString("Sender: " + mk.debug_data.SenderOkay(),this.getWidth()/2,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
}
 
g.drawString(mk.version.str+"(d"+mk.debug_data_count+ "l" + mk.lcd_data_count+ "v" + mk.version_data_count+"o"+mk.other_data_count+"p"+mk.params_data_count+")",0,y_off,Graphics.TOP | Graphics.LEFT);
 
y_off+=spacer;
 
g.drawString("n:"+mk.debug_data.nick_int() + " r:"+mk.debug_data.roll_int() + " an:"+mk.debug_data.accnick() + " ar:"+mk.debug_data.accroll() ,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
g.drawString("m1:"+mk.debug_data.motor_val(0) + " m2:"+mk.debug_data.motor_val(1)+" m3:"+mk.debug_data.motor_val(2) + " m4:"+mk.debug_data.motor_val(3) ,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
if (mk.connected)
{
g.drawString("time conn:" +((System.currentTimeMillis()- mk.connection_start_time)/1000)+"s" ,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
g.drawString("time motor>15:" +(mk_stat.motor_on_time/1000) +"s" ,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
g.drawString("time motor=15:" +(mk_stat.motor_stand_time/1000) +"s" ,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
g.drawString("lcd:" + mk.LCD.act_mk_page + "/" + mk.LCD.pages + " ( wanted: " + mk.LCD.act_user_page + "state:" + mk.LCD.init_state +")" ,0,y_off,Graphics.TOP | Graphics.LEFT);
 
y_off+=spacer;
g.drawString("lcd-key:" + mk.LCD.act_key ,0,y_off,Graphics.TOP | Graphics.LEFT);
 
}
*/
int spacer_left_right=(this.getWidth()-(20*(lcd_img.getWidth()/222)))/2;
 
y_off=this.getHeight()-4*lcd_img.getHeight();
for ( int foo=0;foo<4;foo++)
{
for (int x=0;x<20;x++)
{
g.setClip(spacer_left_right+(lcd_img.getWidth()/222)*x,y_off,(lcd_img.getWidth()/222),lcd_img.getHeight());
g.drawImage(lcd_img,spacer_left_right+(lcd_img.getWidth()/222)*x-(mk.LCD.get_act_page()[foo].charAt(x)-' ')*(lcd_img.getWidth()/222),y_off, g.TOP | g.LEFT);
 
}
y_off+=lcd_img.getHeight();
}
 
g.setClip(0,0,this.getWidth(),this.getHeight());
 
 
 
 
 
 
}
 
 
} catch (Exception e) {}
 
}
Player mPlayer;
VideoControl mVideoControl;
Image cam_img;
int cam_img_seq=0;
byte[] cam_raw;
 
private void connect_mk(String url,String name)
{
// ufo_prober.bluetooth_probe(url);
mk.connect_to(url,name);
}
 
public void draw_graph_part(Graphics g,int x,int y1,int y2)
{
if ( this.getWidth()>200)
{
g.fillRect(x,line_middle_y-y1,1,1 );
if (y1>y2)
g.fillRect(x,line_middle_y-y1,1,y1-y2);
else
g.fillRect(x,line_middle_y-y2,1,y2-y1);
 
}
else
{
g.fillRect(x,line_middle_y-y1,1,1 );
if (y1>y2)
g.fillRect(x,line_middle_y-y1,1,y1-y2);
else
g.fillRect(x,line_middle_y-y2,1,y2-y1);
}
 
 
 
}
 
 
public int pow(int val,int pow)
{
int res=1;
 
for (int p=0;p<pow;p++)
res*=val;
 
return res;
}
public int mod_decimal(int val,int mod_power,int modder,int setter,int clipper)
{
 
int res=0;
 
for (int power=0;power<4;power++)
{
 
int act_digit=(val/pow(10,power))%10;
 
int new_digit=act_digit;
if (power==mod_power)
{
if (setter!=-1)
new_digit=setter;
new_digit+=modder;
 
if(new_digit<0)
new_digit=0;
 
if(new_digit>clipper)
new_digit=clipper;
 
}
 
// new_digit=1;
res+=new_digit*pow(10,power);
}
return res;
 
 
}
 
/*********************************************** input Section **********************************************/
 
 
public final String intro_str=" Digital Ufo Broadcasting with intelligent service equipment by Marcus -LiGi- Bueschleb ; Big Up Holger&Ingo for the MikroKopter Project (http://www.mikrokopter.de) ";
 
int intro_str_pos=0;
int intro_str_delay=3;
 
 
 
public void chg_state(int next_state)
{
if (next_state!=state)act_menu_select=0;
// prepare next state
switch(next_state)
{
case STATEID_FILEOPEN:
if (act_path_depth==0)
{
Enumeration drives = FileSystemRegistry.listRoots();
int tmp_i=0;
while(drives.hasMoreElements())
{
file_list[tmp_i]= (String) drives.nextElement();
tmp_i++;
if (MAX_FILELIST_LENGTH<tmp_i)
break;
}
menu_items=new String[tmp_i];
lcd_lines=new String[tmp_i];
file_list_length=tmp_i;
for(tmp_i=0;tmp_i<file_list_length;tmp_i++)
menu_items[tmp_i]=file_list[tmp_i];
 
}
else
{
 
try {
FileConnection fc = (FileConnection) Connector.open("file:///"+act_path());
Enumeration filelist = fc.list("*", true);
int tmp_i=0;
while(filelist.hasMoreElements()) {
file_list[tmp_i] = (String) filelist.nextElement();
tmp_i++;
/* fc = (FileConnection)
Connector.open("file:///CFCard/" + fileName);
if(fc.isDirectory()) {
System.out.println("\tDirectory Name: " + fileName);
} else {
System.out.println
("\tFile Name: " + fileName +
"\tSize: "+fc.fileSize());
}*/
}
menu_items=new String[tmp_i+1];
lcd_lines=new String[tmp_i+1];
file_list_length=tmp_i+1;
menu_items[0]="..";
for(tmp_i=1;tmp_i<file_list_length;tmp_i++)
menu_items[tmp_i]=file_list[tmp_i-1];
 
 
fc.close();
} catch (IOException ioe) {
System.out.println(ioe.getMessage());
}
}
 
 
break;
case STATEID_CAMMODE:
if (mVideoControl==null)
try
{
debug.log("creating player\n");
mPlayer = Manager.createPlayer("capture://video?encoding=png&width=2048&height=1536");
debug.log("realizing player\n");
mPlayer.realize();
debug.log("get_videocontrol\n");
mVideoControl = (VideoControl)mPlayer.getControl("VideoControl");
debug.log("switching Canvas\n");
mVideoControl.initDisplayMode(VideoControl.USE_DIRECT_VIDEO, this);
debug.log("get snap\n");
byte[] raw = mVideoControl.getSnapshot(null);
}
catch ( Exception e)
{
debug.log(e.toString());
}
 
 
break;
case STATEID_KEYCONTROL:
keycontrol_exit=0;
break;
 
case STATEID_READ_PARAMS:
user_intent=USER_INTENT_PARAMS;
lcd_lines=new String[2];
lcd_lines[0]="Reading Settings ";
lcd_lines[1]=mk.watchdog.act_paramset+"/5 |"+ (mk.watchdog.act_paramset>0?"#":"_") + (mk.watchdog.act_paramset>1?"#":"_") + (mk.watchdog.act_paramset>2?"#":"_")+ (mk.watchdog.act_paramset>3?"#":"_")+ (mk.watchdog.act_paramset>4?"#":"_") + "| ";
 
break;
 
case STATEID_IPINPUT:
lcd_lines=new String[3];
lcd_lines[0]="Address (IP:Port): ";
break;
 
case STATEID_SCANNING:
lcd_lines=new String[4];
lcd_lines[0]="Scanning for Devices";
lcd_lines[1]=" ";
 
//#expand lcd_lines[2]="DUBwise v%VERSION% ";
lcd_lines[3]=intro_str.substring(0,20);
mk.close_connections(true);
bt_scanner.search();
break;
 
case STATEID_HANDLE_PARAMS:
menu_items=new String[3];
menu_items[0]="write to MK";
menu_items[1]="don't write to MK";
menu_items[2]="discard/read again";
lcd_lines=new String[3];
 
break;
 
case STATEID_SELECT_PARAMSET:
menu_items=new String[5];
for (int i=0;i<5;i++)
menu_items[i]=mk.params.names[i];
 
lcd_lines=new String[5];
break;
 
case STATEID_DEVICESELECT:
menu_items=new String[bt_scanner.remote_device_count+1];
for (int i=0;i<bt_scanner.remote_device_count;i++)
menu_items[i]=bt_scanner.remote_device_name[i];
menu_items[bt_scanner.remote_device_count]="scan again";
lcd_lines=new String[bt_scanner.remote_device_count+1];
break;
 
 
case STATEID_MAINMENU:
if (ufo_prober.is_navi())
{
menu_items=main_menu_items_navi;
menu_actions=main_menu_actions_navi;
}
else if (ufo_prober.is_mk())
{
menu_items=main_menu_items_mk;
menu_actions=main_menu_actions_mk;
}
else // no connection
{
menu_items=main_menu_items_no_connection;
menu_actions=main_menu_actions_no_connection;
}
 
lcd_lines=new String[menu_items.length];
break;
 
case STATEID_SETTINGSMENU:
menu_items=new String[settings_menu_items.length];
for(int cnt=0;cnt<settings_menu_items.length;cnt++)
menu_items[cnt]=settings_menu_items[cnt];
 
menu_items[0]+=(act_skin==SKINID_DARK)?"Dark":"Light";
menu_items[1]+=(!do_sound)?"Off":"On";
menu_items[2]+=(!do_vibra)?"Off":"On";
menu_items[3]+=(!do_scrollbg)?"Off":"On";
menu_items[4]+=(!fullscreen)?"Off":"On";
menu_items[5]+=(!keep_lighton)?"Off":"On";
 
lcd_lines=new String[menu_items.length];
break;
 
case STATEID_RAWDEBUG:
user_intent=USER_INTENT_RAWDEBUG;
break;
 
 
case STATEID_GRAPH:
user_intent=USER_INTENT_GRAPH;
break;
 
}
 
 
 
// switch state
state=next_state;
}
 
 
public void keyReleased(int keyCode)
{
switch(state)
{
case STATEID_MOTORTEST:
act_motor_increase=0;
break;
case STATEID_KEYCONTROL:
if (keyCode==KEY_POUND)
keycontrol_exit &= 255^1;
else
if (keyCode==KEY_STAR)
keycontrol_exit &= 255^2;
else
if ((keyCode >= this.KEY_NUM0) && (keyCode < this.KEY_NUM8))
keycontrol_bitfield[0]&=255^( 1<<(keyCode-this.KEY_NUM0));
else
if ((keyCode >= this.KEY_NUM8) && (keyCode <= this.KEY_NUM9))
keycontrol_bitfield[1]&=255^( 1<<(keyCode-this.KEY_NUM8));
else
switch (getGameAction (keyCode))
{
case UP:
keycontrol_bitfield[1]&=255^4;
break;
case DOWN:
keycontrol_bitfield[1]&=255^8;
break;
 
case LEFT:
keycontrol_bitfield[1]&=255^16;
break;
 
case RIGHT:
keycontrol_bitfield[1]&=255^32;
break;
case FIRE:
keycontrol_bitfield[1]&=255^64;
break;
 
}
mk.send_keys(keycontrol_bitfield);
break;
}
 
}
 
 
byte keycontrol_exit=0;
public final static int[] keycontrol_bitfield={0,0};
 
 
public void pointerPressed (int pointer_x, int pointer_y)
{
if (pointer_x<this.getWidth()/2)
{
if (state==STATEID_EDIT_PARAMS)
{
chg_state(STATEID_HANDLE_PARAMS);
return;
}
else
if (state!=STATEID_KEYCONTROL)
{
chg_state(STATEID_MAINMENU);
return;
}
}
else
{
fullscreen=!fullscreen;
setFullScreenMode(fullscreen);
}
}
public void keyPressed(int keyCode)
{
debug.process_key(keyCode);
 
 
if ((keyCode==KEY_STAR) || (keyCode==113))
{
if (state==STATEID_EDIT_PARAMS)
{
chg_state(STATEID_HANDLE_PARAMS);
return;
}
else
if (state!=STATEID_KEYCONTROL)
{
chg_state(STATEID_MAINMENU);
return;
}
 
}
if ((keyCode==KEY_POUND)&&(state!=STATEID_KEYCONTROL))
{
fullscreen=!fullscreen;
setFullScreenMode(fullscreen);
return;
}
switch(state)
{
case STATEID_IPINPUT:
if ((keyCode>=KEY_NUM0)&&(keyCode<=KEY_NUM9))
{
act_proxy_ip[ipinput_pos/4]=mod_decimal(act_proxy_ip[ipinput_pos/4],(ipinput_pos<15?2:3)-(ipinput_pos%4),0,(keyCode-KEY_NUM0),9);
 
if(ipinput_pos<19) ipinput_pos++;
if ((ipinput_pos<18)&&(((ipinput_pos+1)%4)==0))ipinput_pos++;
}
else
switch (getGameAction (keyCode))
{
case LEFT:
if(ipinput_pos>0) ipinput_pos--;
if (((ipinput_pos+1)%4)==0)ipinput_pos--;
break;
case RIGHT:
if(ipinput_pos<19) ipinput_pos++;
if(ipinput_pos<18)if (((ipinput_pos+1)%4)==0)ipinput_pos++;
break;
 
case UP:
act_proxy_ip[ipinput_pos/4]=mod_decimal(act_proxy_ip[ipinput_pos/4],(ipinput_pos<15?2:3)-(ipinput_pos%4),1,-1,9);
 
break;
 
case DOWN:
act_proxy_ip[ipinput_pos/4]=mod_decimal(act_proxy_ip[ipinput_pos/4],(ipinput_pos<15?2:3)-(ipinput_pos%4),-1,-1,9);
 
 
case FIRE:
mk.do_proxy("socket://"+ip_str(act_proxy_ip,false));
chg_state(STATEID_PROXY);
 
break;
 
}
break;
 
case STATEID_GPSVIEW:
if (keyCode == this.KEY_NUM0)
mk.set_gps_target(mk.gps_position.Latitude,mk.gps_position.Longitude);
 
 
 
if (keyCode == this.KEY_NUM1)
mk.gps_position.push_wp();
if (keyCode == this.KEY_NUM2)
chg_state(STATEID_FILEOPEN);
if (keyCode == this.KEY_NUM3)
mk.set_gps_target(mk.gps_position.LatWP[act_wp],mk.gps_position.LongWP[act_wp]);
 
if (keyCode == this.KEY_NUM4)
mk.gps_position.next_gps_format();
 
if (keyCode == this.KEY_NUM5)
heading_offset= mk.debug_data.analog[26];
 
switch (getGameAction (keyCode))
{
case UP:
if (act_wp!=0) act_wp--;
break;
case DOWN:
if (act_wp<mk.gps_position.last_wp) act_wp++;
 
break;
 
 
}
 
break;
case STATEID_RAWDEBUG:
switch (getGameAction (keyCode))
{
case UP:
if (rawdebug_cursor_y==0)
rawdebug_cursor_y=31;
else
rawdebug_cursor_y--;
break;
case DOWN:
if (rawdebug_cursor_y==31)
rawdebug_cursor_y=0;
else
rawdebug_cursor_y++;
break;
 
 
}
break;
case STATEID_KEYCONTROL:
if (keyCode==KEY_POUND)
keycontrol_exit |= 1;
else
if (keyCode==KEY_STAR)
keycontrol_exit |= 2;
else
if ((keyCode >= this.KEY_NUM0) && (keyCode < this.KEY_NUM8))
keycontrol_bitfield[0]|=1<<(keyCode-this.KEY_NUM0);
else
if ((keyCode >= this.KEY_NUM8) && (keyCode <= this.KEY_NUM9))
keycontrol_bitfield[1]|=1<<(keyCode-this.KEY_NUM8);
else
switch (getGameAction (keyCode))
{
case UP:
keycontrol_bitfield[1]|=4;
break;
case DOWN:
keycontrol_bitfield[1]|=8;
break;
 
case LEFT:
keycontrol_bitfield[1]|=16;
break;
 
case RIGHT:
keycontrol_bitfield[1]|=32;
break;
case FIRE:
keycontrol_bitfield[1]|=64;
break;
 
}
if (keycontrol_exit==3)
chg_state(STATEID_MAINMENU);
else
mk.send_keys(keycontrol_bitfield);
break;
 
 
case STATEID_MOTORTEST:
switch (getGameAction (keyCode))
{
case UP:
act_motor_increase=-1;
break;
case DOWN:
act_motor_increase=1;
break;
 
case FIRE:
motor_test_sel_all=!motor_test_sel_all;
break;
 
case LEFT:
act_motor--;
if (act_motor<0) {act_motor=0; chg_state(STATEID_MAINMENU); }
break;
 
case RIGHT:
act_motor++;
act_motor%=4;
break;
}
 
break;
case STATEID_HANDLE_PARAMS:
if ( getGameAction (keyCode)==FIRE )
{
switch(act_menu_select)
{
case 0:
 
mk.write_params();
break;
case 2:
mk.params.use_backup();
break;
}
chg_state(STATEID_MAINMENU);
}
else
menu_keypress(keyCode);
break;
 
case STATEID_FILEOPEN:
if ( getGameAction (keyCode)==FIRE )
{
if ((act_menu_select==0)&&(act_path_depth!=0))
{
act_path_depth--;
//act_path=act_path.substring(0,act_path.substring(0,act_path.length()-2).indexOf('/') );
 
//act_path=last_path;
}
else
{
//last_path=act_path;
if (act_path_depth==0)
act_path_arr[act_path_depth++]=file_list[act_menu_select];
else
act_path_arr[act_path_depth++]=file_list[act_menu_select-1];
}
act_menu_select=0;
chg_state(STATEID_FILEOPEN);
}
else
menu_keypress(keyCode);
break;
 
case STATEID_SETTINGSMENU:
if ( getGameAction (keyCode)==FIRE )
switch(act_menu_select)
{
case SETTINGSMENU_CHANGESKIN:
act_skin++;
act_skin=(byte)(act_skin%2);
load_images();
chg_state(STATEID_SETTINGSMENU);
break;
case SETTINGSMENU_SOUNDTOGGLE:
do_sound=!do_sound;
chg_state(STATEID_SETTINGSMENU);
break;
case SETTINGSMENU_VIBRATOGGLE:
do_vibra=!do_vibra;
chg_state(STATEID_SETTINGSMENU);
break;
 
case SETTINGSMENU_GRAPHTOGGLE:
do_scrollbg=!do_scrollbg;
chg_state(STATEID_SETTINGSMENU);
break;
 
 
case SETTINGSMENU_FULLSCREENTOGGLE:
fullscreen=!fullscreen;
setFullScreenMode(fullscreen);
chg_state(STATEID_SETTINGSMENU);
break;
 
case SETTINGSMENU_LIGHTTOGGLE:
keep_lighton =!keep_lighton;
chg_state(STATEID_SETTINGSMENU);
break;
 
case SETTINGSMENU_BACK:
chg_state(STATEID_MAINMENU);
break;
}
else menu_keypress(keyCode);
break;
 
case STATEID_MAINMENU:
if (keyCode == this.KEY_NUM2)
chg_state(STATEID_FILEOPEN);
 
if ( getGameAction (keyCode)==FIRE )
{
 
switch(menu_actions[act_menu_select])
{
 
 
case ACTIONID_CONN_DETAILS:
chg_state(STATEID_CONN_DETAILS);
break;
case ACTIONID_QUIT:
quit=true;
break;
 
case ACTIONID_SWITCH_NC:
mk.switch_to_navi();
break;
 
case ACTIONID_SWITCH_FC:
mk.switch_to_fc();
break;
case ACTIONID_GRAPH:
chg_state(STATEID_GRAPH);
break;
case ACTIONID_KEYCONTROL:
chg_state(STATEID_KEYCONTROL);
break;
case ACTIONID_LCD :
chg_state(STATEID_FLIGHTVIEW);
break;
 
case ACTIONID_PROXY:
 
chg_state(STATEID_IPINPUT);
break;
case ACTIONID_DEVICESELECT:
chg_state(STATEID_SCANNING);
break;
case ACTIONID_RAWDEBUG:
chg_state(STATEID_RAWDEBUG);
break;
case ACTIONID_SETTINGS:
chg_state(STATEID_SETTINGSMENU);
break;
 
case ACTIONID_RCDATA:
chg_state(STATEID_STICKVIEW);
break;
 
case ACTIONID_CAM:
chg_state(STATEID_CAMMODE);
break;
 
case ACTIONID_GPSDATA:
chg_state(STATEID_GPSVIEW);
break;
 
 
case ACTIONID_MOTORTEST :
chg_state(STATEID_MOTORTEST);
break;
 
case ACTIONID_EDIT_PARAMS:
if (mk.watchdog.act_paramset<5)
chg_state(STATEID_READ_PARAMS);
else
chg_state(STATEID_SELECT_PARAMSET);
 
break;
 
case ACTIONID_DEBUG:
debug.showing=true;
break;
}
/*
if (ufo_prober.is_mk())
switch(act_menu_select)
{
 
 
 
 
}
else if (ufo_prober.is_navi())
switch(act_menu_select)
{
case MAINMENU_NAVI_SWITCH_FC:
mk.switch_to_fc();
 
break;
 
case MAINMENU_NAVI_SETTINGS:
chg_state(STATEID_SETTINGSMENU);
break;
case MAINMENU_NAVI_TELEMETRY :
chg_state(STATEID_FLIGHTVIEW);
break;
 
case MAINMENU_NAVI_RAWDEBUG:
chg_state(STATEID_RAWDEBUG);
break;
 
case MAINMENU_NAVI_GPSVIEW:
chg_state(STATEID_GPSVIEW);
break;
 
case MAINMENU_NAVI_DEVICESELECT:
chg_state(STATEID_SCANNING);
break;
case MAINMENU_NAVI_QUIT:
// set quit Flag
quit=true;
break;
}
else
switch(act_menu_select)
{
 
 
 
case MAINMENU_NO_CONN_SETTINGS:
chg_state(STATEID_SETTINGSMENU);
break;
 
case MAINMENU_NO_CONN_DEVICESELECT:
chg_state(STATEID_SCANNING);
break;
 
 
case MAINMENU_NO_CONN_DEBUG:
debug.showing=true;
break;
 
case MAINMENU_NO_CONN_QUIT:
// set quit Flag
quit=true;
break;
 
} */
}
 
else menu_keypress(keyCode);
 
break;
 
case STATEID_SELECT_PARAMSET:
if ( getGameAction (keyCode)==FIRE )
{
if ( mk.params.field[act_menu_select]!=null)
{
mk.params.act_paramset=act_menu_select;
chg_state(STATEID_EDIT_PARAMS);
}
}
else menu_keypress(keyCode);
break;
case STATEID_DEVICESELECT:
/*
if ((keyCode >= this.KEY_NUM0) && (keyCode < this.KEY_NUM0+bt_scanner.remote_device_count))
{
connect_mk("btspp://"+bt_scanner.remote_device_mac[keyCode-this.KEY_NUM0] + ":1",bt_scanner.remote_device_name[keyCode-this.KEY_NUM0]);
chg_state(STATEID_MAINMENU);
}
else
*/
 
if ( getGameAction (keyCode)==FIRE )
{
 
if (bt_scanner.remote_device_count > act_menu_select)
{
connect_mk("btspp://"+bt_scanner.remote_device_mac[act_menu_select] + ":1",bt_scanner.remote_device_name[act_menu_select]);
chg_state(STATEID_MAINMENU);
// keyCode=-1;
}
else
chg_state(STATEID_SCANNING);
}
else menu_keypress(keyCode);
break;
 
case STATEID_EDIT_PARAMS:
params_editor.keypress(keyCode,getGameAction (keyCode)) ;
break;
 
case STATEID_FLIGHTVIEW:
 
if ((keyCode >= this.KEY_NUM0) && (keyCode <= this.KEY_NUM9))
mk.LCD.set_page(keyCode-this.KEY_NUM0);
else
switch (getGameAction (keyCode))
{
case LEFT:
case UP:
mk.LCD.LCD_PREVPAGE();
break;
case RIGHT:
case DOWN:
mk.LCD.LCD_NEXTPAGE();
break;
 
 
}
break;
}
 
}
 
 
 
 
 
 
 
}
 
 
/DUBwise/tags/pre_0.50/src/J2ME/src/DUBwiseDebug.java
0,0 → 1,156
/***************************************************************
*
* Code for on Device Debugging of DUBwise
*
* Author: Marcus -LiGi- Bueschleb
*
* see README for further Infos
*
***************************************************************/
 
import javax.microedition.lcdui.*;
 
 
public class DUBwiseDebug
extends Canvas
{
 
 
public boolean showing=false;
public boolean paused=false;
 
public String debug_msg="";
 
private byte[] debug_screen_sequence={KEY_POUND,KEY_NUM4,KEY_NUM2};
private byte debug_screen_sequence_pos=0;
 
public final static int DEBUG_HISTORY_LENGTH=1000;
 
public String[] debug_msgs;
 
public int debug_pos=0;
public int debug_paused_pos=0;
 
 
int y_off=0;
 
 
public DUBwiseCanvas canvas;
 
public DUBwiseDebug(DUBwiseCanvas canvas_)
{
canvas=canvas_;
 
debug_msgs=new String[DEBUG_HISTORY_LENGTH];
for (int tmp_i=0;tmp_i<DEBUG_HISTORY_LENGTH;tmp_i++)
debug_msgs[tmp_i]="";
}
 
public void log(String str)
{
if (debug_pos==DEBUG_HISTORY_LENGTH)
debug_pos=0;
 
debug_msgs[debug_pos]=str;
debug_pos++;
// debug_msgs[debug_pos]=str;
}
 
 
public void err(String str)
{
if (debug_pos==DEBUG_HISTORY_LENGTH)
debug_pos=0;
 
debug_msgs[debug_pos]=str;
debug_pos++;
showing=false;
paused=true;
// debug_msgs[debug_pos]=str;
}
 
public void paint (Graphics g)
{
 
Font debug_font= Font.getFont(Font.FACE_SYSTEM, Font.STYLE_PLAIN, Font.SIZE_SMALL);
 
g.setFont(debug_font);
 
g.setColor(0x0000FF);
g.fillRect(0,0,canvas.getWidth(),canvas.getHeight());
g.setColor(0xFFFFFF);
 
y_off=0;
if (!paused) debug_paused_pos=debug_pos;
for (int tmp_pos=debug_paused_pos;((tmp_pos>0)&&(y_off<canvas.getHeight()));tmp_pos--)
{
debug_msg=debug_msgs[tmp_pos];
String tmp_str="";
 
for(int tmp_i=0;tmp_i<debug_msg.length();tmp_i++)
{
if ((debug_msg.charAt(tmp_i)=='\r')||(debug_msg.charAt(tmp_i)=='\n'))
{
g.drawString(tmp_str,5,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=debug_font.getHeight();
tmp_str="";
}
else
tmp_str+=debug_msg.charAt(tmp_i);
}
g.drawString(tmp_pos+" "+tmp_str,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=debug_font.getHeight();
}
 
}
public void process_key(int keyCode)
{
 
 
if (!showing)
{
if (keyCode==debug_screen_sequence[debug_screen_sequence_pos])
{
debug_screen_sequence_pos++;
if(debug_screen_sequence_pos==debug_screen_sequence.length)
{
showing=true;
debug_screen_sequence_pos=0;
}
}
else
debug_screen_sequence_pos=0;
}
else
{
if (keyCode==KEY_STAR)
showing=false;
 
if (keyCode==KEY_NUM0)
paused=!paused;
 
 
switch (getGameAction (keyCode))
{
case UP:
debug_paused_pos++;
break;
case DOWN:
debug_paused_pos--;
break;
 
}
 
}
 
 
}
 
 
}
/DUBwise/tags/pre_0.50/src/J2ME/src/DUBwiseDefinitions.java
0,0 → 1,84
 
public interface DUBwiseDefinitions
{
// id for each state - must just be uniq - order isnt important
public final static int STATEID_SCANNING =0;
public final static int STATEID_DEVICESELECT =1;
public final static int STATEID_MAINMENU =2;
public final static int STATEID_MOTORTEST =3;
public final static int STATEID_SELECT_PARAMSET =4;
public final static int STATEID_EDIT_PARAMS =5;
public final static int STATEID_HANDLE_PARAMS =6;
public final static int STATEID_FLIGHTVIEW =7;
public final static int STATEID_RAWDEBUG =8;
public final static int STATEID_KEYCONTROL =9;
public final static int STATEID_SETTINGSMENU =10;
public final static int STATEID_STICKVIEW =11;
public final static int STATEID_CAMMODE =12;
public final static int STATEID_READ_PARAMS =13;
public final static int STATEID_GPSVIEW =14;
public final static int STATEID_FILEOPEN =15;
public final static int STATEID_GRAPH =16;
public final static int STATEID_CONN_DETAILS =17;
public final static int STATEID_IPINPUT =18;
public final static int STATEID_PROXY =19;
 
 
public boolean fullscreen=false;
public int act_motor=0;
public int act_motor_increase=0;
public boolean motor_test_sel_all=false;
 
 
 
public final static int ACTIONID_SETTINGS = 0;
public final static int ACTIONID_DEVICESELECT = 1;
public final static int ACTIONID_DEBUG = 2;
public final static int ACTIONID_CONN_DETAILS = 3;
public final static int ACTIONID_SWITCH_NC = 4;
public final static int ACTIONID_SWITCH_FC = 5;
 
public final static int ACTIONID_GRAPH = 6;
public final static int ACTIONID_LCD = 7;
public final static int ACTIONID_RAWDEBUG = 8;
public final static int ACTIONID_RCDATA = 9;
public final static int ACTIONID_KEYCONTROL = 10;
public final static int ACTIONID_MOTORTEST = 11;
public final static int ACTIONID_EDIT_PARAMS = 12;
public final static int ACTIONID_CAM = 13;
public final static int ACTIONID_PROXY = 14;
public final static int ACTIONID_GPSDATA = 15;
public final static int ACTIONID_QUIT = 100;
 
 
public String[] main_menu_items_no_connection = { "Proxy","Tool Settings" , "Change Device", "Connection Details" , "Debug DUBwise" , "Quit " };
public int[] main_menu_actions_no_connection= { ACTIONID_PROXY, ACTIONID_SETTINGS , ACTIONID_DEVICESELECT , ACTIONID_CONN_DETAILS, ACTIONID_DEBUG , ACTIONID_QUIT};
 
 
public String[] main_menu_items_mk ={"Connection Details" , "switch to NC","Sensor Graph" , "LCD","Raw Debug", "view RC-data", "MK-KeyControl", "Motor Test" , "Flight Settings","Tool Settings","Remote Cam","Proxy","Change Device" , "Debug" , "Quit " };
 
public int[] main_menu_actions_mk = { ACTIONID_CONN_DETAILS , ACTIONID_SWITCH_NC , ACTIONID_GRAPH , ACTIONID_LCD , ACTIONID_RAWDEBUG , ACTIONID_RCDATA , ACTIONID_KEYCONTROL , ACTIONID_MOTORTEST , ACTIONID_EDIT_PARAMS , ACTIONID_SETTINGS , ACTIONID_CAM , ACTIONID_PROXY , ACTIONID_DEVICESELECT , ACTIONID_DEBUG , ACTIONID_QUIT};
 
 
public String[] main_menu_items_navi={"Connection Details" , "switch to FC","LCD","Raw Debug", "view GPS-Data" ,"Tool Settings","Change Device" , "Quit " };
 
public int[] main_menu_actions_navi = { ACTIONID_CONN_DETAILS , ACTIONID_SWITCH_FC , ACTIONID_LCD , ACTIONID_RAWDEBUG , ACTIONID_GPSDATA , ACTIONID_SETTINGS , ACTIONID_DEVICESELECT , ACTIONID_DEBUG , ACTIONID_QUIT};
 
 
 
public String[] settings_menu_items={"Skin ","Sound ","Vibra " ,"Scrolling BG ","FullScreen " ,"Keep BGLight " ,"Back" };
public final static int SETTINGSMENU_CHANGESKIN =0;
public final static int SETTINGSMENU_SOUNDTOGGLE =1;
public final static int SETTINGSMENU_VIBRATOGGLE =2;
public final static int SETTINGSMENU_GRAPHTOGGLE =3;
public final static int SETTINGSMENU_FULLSCREENTOGGLE =4;
public final static int SETTINGSMENU_LIGHTTOGGLE =5;
public final static int SETTINGSMENU_BACK =6;
 
public final static int USER_INTENT_NONE=0;
public final static int USER_INTENT_RAWDEBUG=1;
public final static int USER_INTENT_PARAMS=2;
public final static int USER_INTENT_GRAPH=3;
}
/DUBwise/tags/pre_0.50/src/J2ME/src/MKCommunicator.java
0,0 → 1,606
/********************************************************************************************************************************
*
* Abstaction Layer to Communicate via J2ME and Bluetooth with the FlightCtrl of the MikroKopter Project (www.mikrokopter.de )
*
* Author: Marcus -LiGi- Bueschleb
*
* see README for further Infos
*
*
*******************************************************************************************************************************/
import javax.microedition.io.*;
import java.io.*;
 
 
public class MKCommunicator
implements Runnable
{
/***************** Section: public Attributes **********************************************/
public boolean connected=false; // flag for the connection state
public boolean fatal=false; // flag which is set when an error is so fatal that reconnecting won't be tried - e.g. unknown version number.
public String mk_url=""; // buffer the url which is given in the constuctor for reconnectin purposes
public MKLCD LCD;
public MKVersion version;
public MKDebugData debug_data;
 
public MKGPSPosition gps_position;
 
public MKStickData stick_data;
public MKParamsParser params;
public MKWatchDog watchdog;
public MKProxy proxy=null;
public long connection_start_time=-1;
 
/****************** Section: private Attributes **********************************************/
private javax.microedition.io.StreamConnection connection;
private java.io.InputStream reader;
private java.io.OutputStream writer;
 
// temp - to be removed
String p_msg="--";
public String msg="BT_INIT";
 
// for statistics
public int debug_data_count=0;
public int debug_names_count=0;
public int angle_data_count=0;
public int version_data_count=0;
public int other_data_count=0;
public int lcd_data_count=0;
public int params_data_count=0;
public int navi_data_count=0;
 
 
public int bytes_in_count=0;
public int bytes_out_count=0;
 
 
String name;
DUBwise root;
 
 
DUBwiseDebug debug;
/****************** Section: public Methods ************************************************/
public MKCommunicator(DUBwise root_,DUBwiseDebug debug_)
{
debug=debug_;
root=root_;
version=new MKVersion();
debug_data=new MKDebugData();
stick_data=new MKStickData();
params=new MKParamsParser();
LCD= new MKLCD(this);
watchdog=new MKWatchDog(this);
gps_position=new MKGPSPosition();
proxy =new MKProxy();
new Thread( this ).start(); // fire up main Thread
}
 
 
 
public void do_proxy(String proxy_url)
{
proxy.connect(proxy_url);
}
 
// URL string: "btspp://XXXXXXXXXXXX:1" - the X-Part is the MAC-Adress of the Bluetooth-Device connected to the Fligth-Control
public void connect_to(String _url,String _name)
{
mk_url=_url; // remember URL for connecting / reconnecting later
name=_name;
force_disconnect=false;
connected=false;
}
 
public boolean ready()
{
return (connected&&(version.major!=-1));
}
/****************** Section: private Methods ************************************************/
private void connect()
{
System.out.println("trying to connect to" + mk_url);
try{
connection = (StreamConnection) Connector.open(mk_url);
// old call
// connection = (StreamConnection) Connector.open(mk_url, Connector.READ_WRITE);
reader=connection.openInputStream();
writer=connection.openOutputStream();
 
//
//String magic="\rmk-mode\r";
//writer.write(magic.getBytes());
//writer.flush();
//
 
 
connection_start_time=System.currentTimeMillis();
connected=true; // if we get here everything seems to be OK
get_version();
lcd_data_count=0;
debug_data_count=0;
version_data_count=0;
 
 
}
catch (Exception ex)
{
// TODO difference fatal errors from those which will lead to reconnection
msg="Problem connecting" + "\n" + ex;
System.out.println("problem connecting " + ex);
}
 
 
 
}
 
public int[] Decode64(int[] in_arr, int offset,int len)
{
int ptrIn=offset;
int a,b,c,d,x,y,z;
int ptr=0;
int[] out_arr=new int[len];
 
while(len!=0)
{
a=0;
b=0;
c=0;
d=0;
try {
a = in_arr[ptrIn++] - '=';
b = in_arr[ptrIn++] - '=';
c = in_arr[ptrIn++] - '=';
d = in_arr[ptrIn++] - '=';
}
catch (Exception e) {}
//if(ptrIn > max - 2) break; // nicht mehr Daten verarbeiten, als empfangen wurden
 
x = (a << 2) | (b >> 4);
y = ((b & 0x0f) << 4) | (c >> 2);
z = ((c & 0x03) << 6) | d;
 
if((len--)!=0) out_arr[ptr++] = x; else break;
if((len--)!=0) out_arr[ptr++] = y; else break;
if((len--)!=0) out_arr[ptr++] = z; else break;
}
return out_arr;
 
}
 
// FC - Function Mappers
 
// send a version Request to the FC - the reply to this request will be processed in process_data when it arrives
public void set_gps_target(int longitude,int latitude)
{
int[] target=new int[8];
target[0]= (0xFF)&(longitude<<24);
target[1]= (0xFF)&(longitude<<16);
target[2]= (0xFF)&(longitude<<8);
target[3]= (0xFF)&(longitude);
// send_command(0,'s',target);
}
 
 
public void get_version()
{
send_command(0,'v',new int[0]);
}
 
// send a MotorTest request - params are the speed for each Motor
public void motor_test(int[] params)
{
send_command(0,'t',params);
}
 
public void send_keys(int[] params)
{
send_command(0,'k',params);
}
 
// get params
public void get_params(int id)
{
int[] params=new int[1];
params[0]=id;
 
while(sending||recieving)
{try { Thread.sleep(50); }
catch (Exception e) { }
}
 
send_command(0,'q',params);
}
 
 
public void get_debug_name(int id)
{
int[] params=new int[1];
params[0]=id;
 
while(sending||recieving)
{try { Thread.sleep(50); }
catch (Exception e) { }
}
 
send_command(0,'a',params);
}
 
 
 
public void trigger_debug()
{
if (sending||recieving) return; // its not that important - can be dropped
int[] params=new int[0];
send_command(0,'c',params);
}
 
 
 
public void switch_to_fc()
{
 
 
while(sending||recieving)
{
try { Thread.sleep(50); }
catch (Exception e) { }
}
 
 
int[] params=new int[1];
params[0]=0;
send_command(0,'u',params);
try { Thread.sleep(50); }
catch (Exception e) { }
 
version=new MKVersion();
LCD= new MKLCD(this);
 
}
 
 
public void switch_to_navi()
 
{
while(sending||recieving)
{try { Thread.sleep(50); }
catch (Exception e) { }
}
 
 
sending=true;
try
{
writer.write( 27);
writer.write( 27);
writer.write( 0x55);
writer.write( 0xaa);
writer.write( 0);
writer.write('\r');
bytes_out_count+=6;
writer.flush();
}
catch (Exception e) { }
sending=false;
try { Thread.sleep(50); }
catch (Exception e) { }
version=new MKVersion();
LCD= new MKLCD(this);
}
 
 
public void trigger_LCD(int key)
{
while(sending||recieving) // check if not only sending matters
{try { Thread.sleep(50); }
catch (Exception e) { }
}
 
//if (sending||recieving) return;
int[] params=new int[3];
params[0]=key;
params[1]=0;
params[2]=0;
send_command(0,'h',params);
}
 
 
public void write_params()
{
params.update_backup();
while(sending||recieving)
{try { Thread.sleep(50); }
catch (Exception e) { }
}
 
send_command(0,(char)('l'+params.act_paramset),params.field[params.act_paramset]);
}
 
 
boolean sending=false;
boolean recieving=false;
 
// send command to FC ( add crc and pack into pseudo Base64
public void send_command(int modul,char cmd,int[] params)
{
 
// if (modul==0) return;
sending=true;
// char[] send_buff=new char[5 + (params.length/3 + (params.length%3==0?0:1) )*4]; // 5=1*start_char+1*addr+1*cmd+2*crc
 
char[] send_buff=new char[3 + (params.length/3 + (params.length%3==0?0:1) )*4]; // 5=1*start_char+1*addr+1*cmd+2*crc
send_buff[0]='#';
send_buff[1]=(char)modul;
send_buff[2]=cmd;
for(int param_pos=0;param_pos<(params.length/3 + (params.length%3==0?0:1)) ;param_pos++)
{
int a = (param_pos*3<params.length)?params[param_pos*3]:0;
int b = ((param_pos*3+1)<params.length)?params[param_pos*3+1]:0;
int c = ((param_pos*3+2)<params.length)?params[param_pos*3+2]:0;
 
send_buff[3+param_pos*4] = (char)((a >> 2)+'=' );
send_buff[3+param_pos*4+1] = (char)('=' + (((a & 0x03) << 4) | ((b & 0xf0) >> 4)));
send_buff[3+param_pos*4+2] = (char)('=' + (((b & 0x0f) << 2) | ((c & 0xc0) >> 6)));
send_buff[3+param_pos*4+3] = (char)('=' + ( c & 0x3f));
 
//send_buff[3+foo]='=';
}
 
/* for(int foo=0;foo<(params.length/3 + (params.length%3==0?0:1) )*4;foo++)
{
int a = (foo<params.length) params[foo];
int a = params[foo];
//send_buff[3+foo]='=';
}
*/
try
{
int tmp_crc=0;
for ( int tmp_i=0; tmp_i<send_buff.length;tmp_i++)
{
tmp_crc+=(int)send_buff[tmp_i];
writer.write(send_buff[tmp_i]);
bytes_out_count++;
}
tmp_crc%=4096;
writer.write( (char)(tmp_crc/64 + '='));
writer.write( (char)(tmp_crc%64 + '='));
writer.write('\r');
bytes_out_count+=3;
writer.flush();
}
catch (Exception e)
{ // problem sending data to FC
}
 
sending=false;
}
 
 
public int slave_addr=-1;
 
public void process_data(int[] data,int len)
{
 
slave_addr=data[1];
 
switch((char)data[2])
{
case 'D': // debug Data
debug_data_count++;
debug_data.set_by_mk_data(Decode64(data,3,len-3),version);
break;
 
case 'A': // debug Data Names
debug_names_count++;
debug_data.set_names_by_mk_data(data[1]-'0',Decode64(data,3,len-3));
break;
case 'V': // Version Info
version_data_count++;
version.set_by_mk_data(Decode64(data,3,6));
if (version.minor>60) // FIXME - NO good detection
root.canvas.ufo_prober.set_to_mk();
break;
case '0':
case '1':
case '2':
case '3':
lcd_data_count++;
LCD.handle_lcd_data(Decode64(data,3,20),data[2]-(int)'0');
 
break;
case '4':
stick_data.set_by_mk_data(Decode64(data,3,20));
String tmp_s="";
for (int tmp_c=0;tmp_c<10;tmp_c++)
tmp_s+="s"+tmp_c+"v"+stick_data.stick[tmp_c]+" ";
debug.log(tmp_s);
break;
case 'L':
case 'M':
case 'N':
case 'O':
case 'P':
//int[] foo=Decode64(data,3,len-3);
params.set_by_mk_data((int)(data[2]-'L'),Decode64(data,3,len-3),version);
params_data_count++;
break;
 
 
 
// data from navi
case 'Q':
navi_data_count++;
debug.log("got navi data(" + len +"):");
 
gps_position.set_by_mk_data(Decode64(data,3,len-3),version);
 
debug.log("long:" + gps_position.Longitude);
debug.log("lat:" + gps_position.Latitude);
 
root.canvas.ufo_prober.set_to_navi();
break;
 
 
case 'w':
angle_data_count++;
// root.canvas.ufo_prober.set_to_mk();
debug.log("got angle data");
 
break;
default:
other_data_count++;
debug.log("got other data:"+ (char)data[2] + "=>" + (byte)data[2]);
 
/*
String tmp_str="";
for (int tmp_i=0;tmp_i<len;tmp_i++)
tmp_str+=(char)data[tmp_i];
debug.log(tmp_str);*/
break;
 
}
 
 
 
}
 
String o_msg="";
 
public boolean force_disconnect=true;
 
public void close_connections(boolean force)
{
// if ((!force)&&root.canvas.do_vibra) root.vibrate(500);
force_disconnect=force;
try{ reader.close(); }
catch (Exception inner_ex) { }
 
try{ writer.close(); }
catch (Exception inner_ex) { }
try{ connection.close(); }
catch (Exception inner_ex) { }
connected=false;
}
 
// Thread to recieve data from Connection
public void run()
{
int[] data_set=new int[300];
int input;
int pos=0;
 
debug.log("Thread started");
while(true)
{
debug.log("Connection Thread run");
if (!connected)
{
if (!force_disconnect) connect();
}
else
try{
 
/*
while(sending)
{try { Thread.sleep(50); }
catch (Exception e) { }
}
*/
 
recieving=true;
debug.log("Connected - reading data");
pos=0;
input=0;
// recieve data-set
while ((input != 13)) //&&(input!=-1))
{
 
debug.log("pre read");
input = reader.read() ;
debug.log("Byte rcv" + input);
proxy.write(input);
 
if (input==-1) throw new Exception("disconnect");
if (input!=-1)
{
bytes_in_count++;
data_set[pos]=input;
pos++;
}
 
}
recieving=false;
debug.log("Data recieved (" + pos + "Bytes) - processing ..");
/*
if (proxy!=null)
{
proxy.writer.write('\r');
proxy.writer.write('\n');
proxy.writer.flush();
}
*/
if (pos>5)
process_data(data_set,pos);
debug.log("Processing done");
 
}
catch (Exception ex)
{
debug.log("Problem reading from MK -> closing conn");
debug.log(ex.toString());
// close the connection
close_connections(false);
 
 
}
// sleep a bit to get someting more done
try { Thread.sleep(50); }
catch (Exception e) { }
} // while
 
// debug.log("Leaving Communicator thread");
 
} // run()
 
 
}
/DUBwise/tags/pre_0.50/src/J2ME/src/MKDebugData.java
0,0 → 1,95
/*********************************************
*
* class representing the DebugData Structure
*
* Author: Marcus -LiGi- Bueschleb
*
* see README for further Infos
*
********************************************/
 
public class MKDebugData
 
{
 
public int[] analog;
public String[] names;
public boolean[] got_name;
public int motor_complete=-1;
 
private int i;
 
public int motor_val(int id) { return analog[12+id]; }
public int nick_int() { return analog[0]; }
public int roll_int() { return analog[1]; }
public int accnick() { return analog[2]; }
public int accroll() { return analog[3]; }
 
 
public int UBatt() { return analog[9]; }
public int SenderOkay() { return analog[10]; }
 
 
 
public MKDebugData()
{
names=new String[32];
analog=new int[32];
got_name=new boolean[32];
for (i=0;i<32;i++)
{
analog[i]=-1;
names[i]="-#"+i+"->";
got_name[i]=false;
}
 
}
 
public void set_names_by_mk_data(int id,int[] in_arr)
{
names[id]="";
for (i=0;i<16;i++)
{
if ((char)in_arr[i]!=' ')
names[id]+=(char)in_arr[i];
got_name[id]=true;
}
names[id]+=":";
}
 
public void set_by_mk_data(int[] in_arr,MKVersion version)
{
 
if (version.compare(-1,-1)==version.VERSION_EQUAL)
return;
 
// if (version.compare(0,60)==version.VERSION_PREVIOUS)
{
for (i=0;i<32;i++)
{
//analog[i]=(int)((in_arr[1+i*2]<<8) | in_arr[2+i*2]);
analog[i]=(int)((in_arr[3+i*2]<<8) | in_arr[2+i*2]);
if ((analog[i]&(1<<15))!=0)
analog[i]=-(analog[i]&(0xFFFF-1))^(0xFFFF-1);
}
}
/*else
{
for (i=0;i<16;i++)
{
analog[i]=(int)((in_arr[17+i*2]<<8) | in_arr[18+i*2]);
if ((analog[i]&(1<<15))!=0)
analog[i]=-(analog[i]&(0xFFFF-1))^(0xFFFF-1);
}
}
*/
motor_complete=motor_val(0)+motor_val(1)+motor_val(2)+motor_val(3);
 
 
}
 
 
 
}
/DUBwise/tags/pre_0.50/src/J2ME/src/MKGPSPosition.java
0,0 → 1,342
/*********************************************
*
* class representing the DebugData Structure
*
* Author: Marcus -LiGi- Bueschleb
*
* see README for further Infos
*
* Some code taken from here:
* http://www.koders.com/java/fidFC75A641A87B51BB757E9CD3136C7886C491487F.aspx
*
* and
* http://www.movable-type.co.uk/scripts/latlong.html
*
* thanx a lot for sharing!
*
********************************************/
 
 
 
import java.lang.Math;
public class MKGPSPosition
{
public final byte GPS_FORMAT_DECIMAL=0;
public final byte GPS_FORMAT_MINSEC=1;
public final byte GPS_FORMAT_COUNT=2;
byte act_gps_format=GPS_FORMAT_DECIMAL;
 
public final static int MAX_WAYPOINTS=100;
 
int[] LongWP;
int[] LatWP;
String[] NameWP;
int last_wp=0;
 
 
int Longitude;
int Latitude;
 
int TargetLongitude;
int TargetLatitude;
 
int Distance2Target;
int Angle2Target;
 
byte Used_Sat;
/**
* Holds value Math.PI.
*/
public static final double PI = Math.PI;
/**
* Holds value PI / 2.0.
*/
public static final double PI_div2 = PI / 2.0;
/**
* Holds value PI / 4.0.
*/
public static final double PI_div4 = PI / 4.0;
 
 
public static final double RADIANS = PI / 180.0;
public static final double DEGREES = 180.0 / PI;
 
 
private static final double p4 = 0.161536412982230228262e2;
/**
* Holds value 0.26842548195503973794141e3.
*/
private static final double p3 = 0.26842548195503973794141e3;
/**
* Holds value 0.11530293515404850115428136e4.
*/
private static final double p2 = 0.11530293515404850115428136e4;
/**
* Holds value 0.178040631643319697105464587e4.
*/
private static final double p1 = 0.178040631643319697105464587e4;
/**
* Holds value 0.89678597403663861959987488e3.
*/
private static final double p0 = 0.89678597403663861959987488e3;
/**
* Holds value 0.5895697050844462222791e2.
*/
private static final double q4 = 0.5895697050844462222791e2;
/**
* Holds value 0.536265374031215315104235e3.
*/
private static final double q3 = 0.536265374031215315104235e3;
/**
* Holds value 0.16667838148816337184521798e4.
*/
private static final double q2 = 0.16667838148816337184521798e4;
/**
* Holds value 0.207933497444540981287275926e4.
*/
private static final double q1 = 0.207933497444540981287275926e4;
/**
* Holds value 0.89678597403663861962481162e3.
*/
private static final double q0 = 0.89678597403663861962481162e3;
 
 
 
 
 
private static double _ATAN(double X) {
if (X < 0.414213562373095048802) { /* tan(PI/8) */
return _ATANX(X);
}
else if (X > 2.414213562373095048802) { /* tan(3*PI/8) */
return PI_div2 - _ATANX(1.0 / X);
}
else {
return PI_div4 + _ATANX((X - 1.0) / (X + 1.0));
}
}
 
 
private static double _ATANX(double X) {
double XX = X * X;
return X * ((((p4 * XX + p3) * XX + p2) * XX + p1) * XX + p0)
/ (((((XX + q4) * XX + q3) * XX + q2) * XX + q1) * XX + q0);
}
 
 
 
public double aTan2(double Y, double X) {
 
//private static double ATAN2(double Y, double X) {
// return Math.atan2(Y,X); // not in CLDC 1.1
 
// X=0
if (X == 0.0) {
if (Y > 0.0) {
// mid Q1/Q2
return PI_div2;
}
else if (Y < 0.0) {
// mid Q3/Q4
return -PI_div2;
}
else {
// undefined
return 0.0;
}
}
 
// X<0
if (X < 0.0) {
if (Y >= 0.0) {
// Q2
return (PI - _ATAN(Y / -X)); // Y>=0,X<0 |Y/X|
}
else {
// Q3
return -(PI - _ATAN(Y / X)); // Y<0,X<0 |Y/X|
}
}
 
// X>0
if (X > 0.0) {
// Q1/A4
//return ATAN( Y / X);
if (Y > 0.0) {
// Q1
return _ATAN(Y / X);
}
else {
// Q4
return -_ATAN(-Y / X);
}
}
 
/* will never reach here */
return 0.0;
 
}
/*
 
 
 
double coeff_1 = Math.PI / 4d;
double coeff_2 = 3d * coeff_1;
double abs_y = Math.abs(y);
double angle;
if (x >= 0d) {
double r = (x - abs_y) / (x + abs_y);
angle = coeff_1 - coeff_1 * r;
} else {
double r = (x + abs_y) / (abs_y - x);
angle = coeff_2 - coeff_1 * r;
}
return y < 0d ? -angle : angle;
}
 
*/
public int distance2wp(int id)
{
double lat1=(Latitude/10000000.0)*RADIANS;
double long1=(Longitude/10000000.0)*RADIANS;
 
double lat2=(LatWP[id]/10000000.0)*RADIANS;
double long2=(LongWP[id]/10000000.0)*RADIANS;
 
 
double dLat= (lat2-lat1);
double dLon= (long2-long1);
 
double a = Math.sin(dLat/2.0) * Math.sin(dLat/2.0) +
Math.cos(lat1) * Math.cos(lat2) *
Math.sin(dLon/2.0) * Math.sin(dLon/2.0);
 
return (int)(( 2.0 * aTan2(Math.sqrt(a), Math.sqrt(1.0-a)) )*6371008.8);
}
 
 
 
 
public int angle2wp(int id)
{
// TODO reuse from distance
double lat1=(Latitude/10000000.0)*RADIANS;
double long1=(Longitude/10000000.0)*RADIANS;
 
double lat2=(LatWP[id]/10000000.0)*RADIANS;
double long2=(LongWP[id]/10000000.0)*RADIANS;
 
 
double dLat= (lat2-lat1);
double dLon= (long2-long1);
 
 
double y = Math.sin(dLon) * Math.cos(lat2);
double x = Math.cos(lat1)*Math.sin(lat2) - Math.sin(lat1)*Math.cos(lat2)*Math.cos(dLon);
return ((int)(aTan2(y, x)*DEGREES)+360)%360;
 
}
 
 
 
public void push_wp()
{
LongWP[last_wp]=Longitude;
LatWP[last_wp]=Latitude;
 
last_wp++;
}
 
public void next_gps_format()
{
act_gps_format=(byte)((act_gps_format+1)%GPS_FORMAT_COUNT);
}
 
public String act_gps_format_str(int val)
{
switch(act_gps_format)
{
case GPS_FORMAT_DECIMAL:
return "" + val/10000000 + "." +val%10000000 ;
case GPS_FORMAT_MINSEC:
return "" + val/10000000 + "^" + ((val%10000000)*60)/10000000 + "'" + ((((val%10000000)*60)%10000000)*60)/10000000 + "." + ((((val%10000000)*60)%10000000)*60)%10000000;
default:
return "invalid format";
}
}
 
public String WP_Latitude_str(int id)
{
return "" + act_gps_format_str(LatWP[id]); //+ "''N" ;
}
 
public String WP_Longitude_str(int id)
{
return "" + act_gps_format_str(LongWP[id]); //+ "''E" ;
 
}
 
public String Latitude_str()
{
return "" + act_gps_format_str(Latitude) ;
}
 
public String Longitude_str()
{
return "" + act_gps_format_str(Longitude) ;
 
}
 
 
// Constructor
public MKGPSPosition()
{
 
LongWP=new int[MAX_WAYPOINTS];
LatWP=new int[MAX_WAYPOINTS];
 
NameWP=new String[MAX_WAYPOINTS];
// predefined waypoints
 
 
LongWP[0]=123230170;
LatWP[0]= 513600170 ;
NameWP[0]="Sicherer PC1";
 
LongWP[1]=123269000;
LatWP[1]= 513662670;
NameWP[1]="Sicherer PC2";
 
LongWP[2]=123475570;
LatWP[2]= 513569750 ;
NameWP[2]="Treffpunkt Seba";
 
 
last_wp=2;
}
 
private int parse_arr(int offset,int[] in_arr)
{
return ((in_arr[offset+3]<<24) |
(in_arr[offset+2]<<16) |
(in_arr[offset+1]<<8) |
(in_arr[offset+0]));
}
 
public void set_by_mk_data(int[] in_arr,MKVersion version)
{
Longitude=parse_arr(0,in_arr);
Latitude=parse_arr(4,in_arr);
TargetLongitude=parse_arr(8,in_arr);
TargetLatitude=parse_arr(12,in_arr);
Distance2Target=parse_arr(16,in_arr);
Angle2Target=parse_arr(20,in_arr);
Used_Sat=(byte)in_arr[24];
 
}
}
/DUBwise/tags/pre_0.50/src/J2ME/src/MKLCD.java
0,0 → 1,165
/*******************************************
*
* Handling of MK LCD
*
* Author: Marcus -LiGi- Bueschleb
* see README for further Infos
*
*
*******************************************/
 
public class MKLCD
// implements Runnable
{
 
MKCommunicator mk=null;
 
// public String[] LCD_str;
 
private String[][] lcd_buf;
private final static int MAX_LCD_PAGES=20;
int act_key=0;
int act_mk_page=0;
int act_user_page=0;
boolean initial_run=true;
 
int pages=0;
 
int pages_read=0;
 
byte init_state=0;
 
public String[] get_act_page()
{ return lcd_buf[act_user_page]; }
 
public MKLCD(MKCommunicator _mk)
{
lcd_buf=new String[MAX_LCD_PAGES][4];
 
for (int p=0;p<MAX_LCD_PAGES;p++)
{
lcd_buf[p][0]="buffering Page ";
lcd_buf[p][1]="please stay patient ";
lcd_buf[p][2]=" ";
lcd_buf[p][3]=" ;-) ";
}
 
mk=_mk;
// new Thread( this ).start(); // fire up main Thread
}
/*
public void run()
{
while(true)
{
try {
if (mk.connected)
Thread.sleep(300);
}
catch (Exception e) { }
}
}
*/
public void set_page(int page)
{
act_user_page=page;
}
 
public void handle_lcd_data(int[] data,int row)
{
if (row==0) // firs row indicates page
{
pages_read++;
act_mk_page=data[18]-48;
if (data[17]!=91) // [
act_mk_page+=10*(data[17]-48);
if (act_mk_page>pages)
pages=act_mk_page;
if (( init_state==1)&&(act_mk_page==0))
{ init_state=2; act_key=1; }
else if ((init_state==2)&&(act_mk_page!=0))
{ init_state=3; act_key=2; }
 
if(init_state==2)act_key=2;
 
// if((init_state==3)&&(act_mk_page==0))
// init_state=-1;
// else
 
 
}
 
else if (row==3)
{
if ((init_state==3))
{
if((act_mk_page==0)||(act_mk_page==pages-1))
init_state=-1;
else
act_key=2;
 
}
 
if (init_state==-1) // init over
{
if (act_mk_page<act_user_page)
act_key=2;
else
if (act_mk_page>act_user_page)
act_key=1;
if (act_mk_page==act_user_page)
act_key=0;
}
 
}
lcd_buf[act_mk_page][row]="";
for(int foo=0;foo<20;foo++)
lcd_buf[act_mk_page][row]+=(char)data[foo];
 
}
 
boolean init=true;
public void trigger_LCD()
{
if (mk.connected && mk.version.known)
try {
if (init_state==0)
{
mk.trigger_LCD(3);
init_state++;
}
else
mk.trigger_LCD(act_key);
 
act_key=0;
}
catch (Exception e) { }
}
 
 
public void LCD_NEXTPAGE()
{
if (act_user_page!=pages)
act_user_page++;
else
act_user_page=0;
 
}
 
public void LCD_PREVPAGE()
{
if (act_user_page!=0)
act_user_page--;
else
act_user_page=pages;
}
}
/DUBwise/tags/pre_0.50/src/J2ME/src/MKParamDefinitions.java
0,0 → 1,9
public interface MKParamDefinitions
{
 
public final static int PARAMTYPE_BYTE=0;
public final static int PARAMTYPE_BITSWITCH=1;
public final static int PARAMTYPE_STICK=2;
 
 
}
/DUBwise/tags/pre_0.50/src/J2ME/src/MKParamsEditor.java
0,0 → 1,196
/**************************************************
*
* class to handle Editing of MK Params
*
* Author: Marcus -LiGi- Bueschleb
*
* see README for further Infos
*
*************************************************/
 
import javax.microedition.lcdui.*;
 
 
public class MKParamsEditor
implements MKParamDefinitions
{
 
 
private int act_tab=0;
public int act_y=0;
private int act_lcd_lines=10;
 
DUBwiseCanvas canvas;
 
public String[] lcd_lines;
 
public MKParamsEditor(DUBwiseCanvas _canvas)
{
canvas=_canvas;
lcd_lines=new String[40];
refresh_lcd();
}
 
public void paint ( Graphics g)
{
refresh_lcd();
canvas.paint_lcd(g,false);
}
 
public void refresh_lcd()
{
if (canvas.mk!=null)
{
act_lcd_lines=canvas.mk.params.field_names[act_tab].length*2+1;
for ( int i=0;i<act_lcd_lines;i++)
lcd_lines[i]="";
 
 
try
{
 
lcd_lines[0]=(act_tab==0?" ":"< ") + canvas.mk.params.tab_names[act_tab] + (act_tab==(canvas.mk.params.tab_names.length-1)?" ":" >");
 
for (int i=0;i<canvas.mk.params.field_names[act_tab].length;i++)
{
lcd_lines[1+2*i]=canvas.mk.params.field_names[act_tab][i];
if (canvas.mk.params.field_types[act_tab][i]== canvas.mk.params.PARAMTYPE_BITSWITCH)
lcd_lines[2+2*i]=(((canvas.mk.params.get_field_from_act(canvas.mk.params.field_positions[act_tab][i]/8)&(1<<canvas.mk.params.field_positions[act_tab][i]%8))==0)?"off":"on" ) ;
if (canvas.mk.params.field_types[act_tab][i]== canvas.mk.params.PARAMTYPE_BYTE)
{
lcd_lines[2+2*i]=""+canvas.mk.params.get_field_from_act(canvas.mk.params.field_positions[act_tab][i]);
if ((canvas.mk.params.get_field_from_act(canvas.mk.params.field_positions[act_tab][i])>250)&&(canvas.mk.params.get_field_from_act(canvas.mk.params.field_positions[act_tab][i])<256))
lcd_lines[2+2*i]+="[Poti"+(canvas.mk.params.get_field_from_act(canvas.mk.params.field_positions[act_tab][i])-250) +"]";
}
 
if (canvas.mk.params.field_types[act_tab][i]== canvas.mk.params.PARAMTYPE_STICK)
{
lcd_lines[2+2*i]=""+canvas.mk.params.get_field_from_act(canvas.mk.params.field_positions[act_tab][i]);
}
 
 
}
for (int i=0;i<act_lcd_lines;i++)
{
lcd_lines[i]=(act_y==i?"#":" ")+lcd_lines[i];
}
 
for ( int i=0;i<act_lcd_lines;i++)
while(lcd_lines[i].length()<20)
{
lcd_lines[i]+=" ";
}
}
catch (Exception e){}
canvas.lcd_lines=new String[act_lcd_lines];
for(int i=0;i<act_lcd_lines;i++)
canvas.lcd_lines[i]=lcd_lines[i];
}
else
{
canvas.lcd_lines=new String[1];
canvas.lcd_lines[0]="reading params";
}
 
}
 
 
public final static int KEYCODE_CLEAR=-8;
public boolean editing_number=false;
 
public void keypress (int keyCode,int action)
{
if (act_y==0) switch (action)
{
case Canvas.RIGHT:
if (act_tab<canvas.mk.params.tab_names.length-1) act_tab++;
break;
 
case Canvas.LEFT:
if (act_tab!=0) act_tab--;
break;
}
else
{
if(canvas.mk.params.field_types[act_tab][act_y/2-1]==canvas.mk.params.PARAMTYPE_BYTE)
{
if ((keyCode >= Canvas.KEY_NUM0) && (keyCode <= Canvas.KEY_NUM9))
{
if((editing_number)&&( Math.abs(canvas.mk.params.get_field_from_act(canvas.mk.params.field_positions[act_tab][act_y/2-1]))*10+(keyCode - Canvas.KEY_NUM0)<1000))
canvas.mk.params.set_field_from_act(canvas.mk.params.field_positions[act_tab][act_y/2-1] , Math.abs(canvas.mk.params.get_field_from_act(canvas.mk.params.field_positions[act_tab][act_y/2-1]))*10+(keyCode - Canvas.KEY_NUM0));
else
canvas.mk.params.set_field_from_act(canvas.mk.params.field_positions[act_tab][act_y/2-1] , (keyCode - Canvas.KEY_NUM0));
editing_number=true;
return;
}
else
if ( keyCode==KEYCODE_CLEAR)
canvas.mk.params.set_field_from_act(canvas.mk.params.field_positions[act_tab][act_y/2-1],0);
}
editing_number=false;
switch (action)
{
case Canvas.RIGHT:
switch(canvas.mk.params.field_types[act_tab][act_y/2-1])
{
case PARAMTYPE_BITSWITCH:
canvas.mk.params.field_from_act_xor((canvas.mk.params.field_positions[act_tab][act_y/2-1]/8),1<<(canvas.mk.params.field_positions[act_tab][act_y/2-1]%8));
break;
case PARAMTYPE_BYTE:
case PARAMTYPE_STICK:
canvas.mk.params.field_from_act_add(canvas.mk.params.field_positions[act_tab][act_y/2-1],1);
break;
}
break;
case Canvas.LEFT:
switch(canvas.mk.params.field_types[act_tab][act_y/2-1])
{
case PARAMTYPE_BITSWITCH:
canvas.mk.params.field_from_act_xor((canvas.mk.params.field_positions[act_tab][act_y/2-1]/8),1<<(canvas.mk.params.field_positions[act_tab][act_y/2-1]%8));
break;
case PARAMTYPE_BYTE:
case PARAMTYPE_STICK:
canvas.mk.params.field_from_act_add(canvas.mk.params.field_positions[act_tab][act_y/2-1],-1);
break;
}
break;
}
}
switch (action)
{
 
case Canvas.DOWN:
if (act_y<(act_lcd_lines-2)) act_y+=2;
else act_y=0;
break;
 
case Canvas.UP:
if (act_y!=0) act_y-=2;
else act_y=act_lcd_lines-1;
break;
}
 
refresh_lcd();
 
 
}
}
 
/DUBwise/tags/pre_0.50/src/J2ME/src/MKParamsParser.java
0,0 → 1,173
/**************************************************
*
* class representing the Params Structure
*
* Author: Marcus -LiGi- Bueschleb
*
* see README for further Infos
*
*************************************************/
 
public class MKParamsParser
implements MKParamDefinitions
 
{
 
/* old
// -- start generated code --
public final static int PARAMTYPE_BYTE=0;
public final static int PARAMTYPE_BITSWITCH=1;
public final static int PARAMTYPE_STICK=2;
public final static String[][] all_tab_names={{"Altitude","Camera","Channels","Configuration","Gyro","Other","Stick","User"},{"Altitude","Camera","Channels","Configuration","Gyro","Looping","Other","Stick","User"},{"Altitude","Camera","Channels","Configuration","Coupling","Gyro","Looping","Other","Stick","User"},{"Altitude","Camera","Channels","Configuration","Coupling","Gyro","Looping","Other","Stick","User"}};
public final static String[][][] all_field_names={{{"Min. Accelerate","Barometric D","Setpoint","Altitude P","Gain","Z-ACC"},{"Servo control","Nick compensation","Servo min","Servo max","Refresh rate","Invert Direction"},{"Nick","Roll","Accelerate","Gier","POTI1","POTI2","POTI3","POTI4"},{"ALTITUDE_CONTROL","Switch for Setpoint","Heading Hold","Compas Active","GPS"},{"ACC/Gyro Factor","P-Rate","I-Rate"},{"Min Gas","Max Gas","Compass Effect","Voltage Warning","Distress Gas","Distress Gas Time"},{"Nick/Roll P","Nick/Roll D","Gier P"},{"Param 1","Param 2","Param 3","Param 4"}},{{"Min. Accelerate","Barometric D","Setpoint","Altitude P","Gain","Z-ACC"},{"Servo control","Nick compensation","Servo min","Servo max","Refresh rate","Invert Direction"},{"Nick","Roll","Accelerate","Gier","POTI1","POTI2","POTI3","POTI4"},{"ALTITUDE_CONTROL","Switch for Setpoint","Heading Hold","Compas Active","GPS"},{"ACC/Gyro Factor","P-Rate","I-Rate"},{"Gas Limit","Threshold","UP","DOWN","LEFT","RIGHT"},{"Min Gas","Max Gas","Compass Effect","Voltage Warning","Distress Gas","Distress Gas Time"},{"Nick/Roll P","Nick/Roll D","Gier P"},{"Param 1","Param 2","Param 3","Param 4"}},{{"Min. Accelerate","Barometric D","Setpoint","Altitude P","Gain","Z-ACC"},{"Servo control","Nick compensation","Servo min","Servo max","Refresh rate","Invert Direction"},{"Nick","Roll","Accelerate","Gier","POTI1","POTI2","POTI3","POTI4"},{"ALTITUDE_CONTROL","Switch for Setpoint","Heading Hold","Compas Active","Compas Fix","GPS","Coupling","Yaw Rate Limiter"},{"Yaw pos. feedback","Yaw neg. feedback"},{"ACC/Gyro Factor","P-Rate","I-Rate","ACC/Gyro Comp","Drift-Compensation"},{"Gas Limit","Threshold","Hysterese","TurnOver Nick","TurnOver Roll","UP","DOWN","LEFT","RIGHT"},{"Min Gas","Max Gas","Compass Effect","Voltage Warning","Distress Gas","Distress Gas Time"},{"Nick/Roll P","Nick/Roll D","Gier P"},{"Param 1","Param 2","Param 3","Param 4"}},{{"Min. Accelerate","Barometric D","Setpoint","Altitude P","Gain","Z-ACC"},{"Servo control","Nick compensation","Servo min","Servo max","Refresh rate","Invert Direction"},{"Nick","Roll","Accelerate","Gier","POTI1","POTI2","POTI3","POTI4"},{"ALTITUDE_CONTROL","Switch for Setpoint","Heading Hold","Compas Active","Compas Fix","GPS","Coupling","Yaw Rate Limiter"},{"Yaw pos. feedback","Yaw neg. feedback"},{"ACC/Gyro Factor","P-Rate","I-Rate","ACC/Gyro Comp","Drift-Compensation","Dynamic stability"},{"Gas Limit","Threshold","Hysterese","TurnOver Nick","TurnOver Roll","UP","DOWN","LEFT","RIGHT"},{"Min Gas","Max Gas","Compass Effect","Voltage Warning","Distress Gas","Distress Gas Time"},{"Nick/Roll P","Nick/Roll D","Gier P"},{"Param 1","Param 2","Param 3","Param 4","Param 5","Param 6","Param 7","Param 8"}}};
public final static int[][][] all_field_positions={{{9,10,11,12,13,14},{33,34,35,36,37,304},{0,1,2,3,4,5,6,7},{64,65,66,67,69},{20,22,23},{18,19,21,24,25,26},{15,16,17},{29,30,31,32}},{{9,10,11,12,13,14},{33,34,35,36,37,328},{0,1,2,3,4,5,6,7},{64,65,66,67,69},{20,22,23},{38,39,320,321,322,323},{18,19,21,24,25,26},{15,16,17},{29,30,31,32}},{{9,10,11,12,13,14},{33,34,35,36,37,384},{0,1,2,3,4,5,6,7},{64,65,66,67,68,69,70,71},{41,42},{20,22,23,45,46},{38,39,40,43,44,376,377,378,379},{18,19,21,24,25,26},{15,16,17},{29,30,31,32}},{{9,10,11,12,13,14},{33,34,35,36,37,424},{0,1,2,3,4,5,6,7},{64,65,66,67,68,69,70,71},{41,42},{20,22,23,45,46,47},{38,39,40,43,44,416,417,418,419},{18,19,21,24,25,26},{15,16,17},{29,30,31,32,48,49,50,51}}};
public final static int[][][] all_field_types={{{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH},{PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK},{PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE}},{{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH},{PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK},{PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE}},{{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH},{PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK},{PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE}},{{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH},{PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK},{PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE}}};
public final static int[] all_name_positions={46,46,53,58};
public final static int[] all_lengths={58,58,65,70};
// -- end generated code --
 
--- old 2
 
// -- start generated code --
public final static int PARAMTYPE_BYTE=0;
public final static int PARAMTYPE_BITSWITCH=1;
public final static int PARAMTYPE_STICK=2;
public final static String[][] all_tab_names={{"Altitude","Camera","Channels","Configuration","Gyro","Other","Stick","User"},{"Altitude","Camera","Channels","Configuration","Gyro","Looping","Other","Stick","User"},{"Altitude","Camera","Channels","Configuration","Coupling","Gyro","Looping","Other","Stick","User"},{"Altitude","Camera","Channels","Configuration","Coupling","Gyro","Looping","Other","Stick","User"},{"Altitude","Camera","Channels","Configuration","Coupling","Gyro","Looping","Navi","Other","Output","Stick","User"}};
public final static String[][][] all_field_names={{{"Min. Accelerate","Barometric D","Setpoint","Altitude P","Gain","Z-ACC"},{"Servo control","Nick compensation","Servo min","Servo max","Refresh rate","Invert Direction"},{"Nick","Roll","Accelerate","Gier","POTI1","POTI2","POTI3","POTI4"},{"ALTITUDE_CONTROL","Switch for Setpoint","Heading Hold","Compas Active","GPS"},{"ACC/Gyro Factor","P-Rate","I-Rate"},{"Min Gas","Max Gas","Compass Effect","Voltage Warning","Distress Gas","Distress Gas Time"},{"Nick/Roll P","Nick/Roll D","Gier P"},{"Param 1","Param 2","Param 3","Param 4"}},{{"Min. Accelerate","Barometric D","Setpoint","Altitude P","Gain","Z-ACC"},{"Servo control","Nick compensation","Servo min","Servo max","Refresh rate","Invert Direction"},{"Nick","Roll","Accelerate","Gier","POTI1","POTI2","POTI3","POTI4"},{"ALTITUDE_CONTROL","Switch for Setpoint","Heading Hold","Compas Active","GPS"},{"ACC/Gyro Factor","P-Rate","I-Rate"},{"Gas Limit","Threshold","UP","DOWN","LEFT","RIGHT"},{"Min Gas","Max Gas","Compass Effect","Voltage Warning","Distress Gas","Distress Gas Time"},{"Nick/Roll P","Nick/Roll D","Gier P"},{"Param 1","Param 2","Param 3","Param 4"}},{{"Min. Accelerate","Barometric D","Setpoint","Altitude P","Gain","Z-ACC"},{"Servo control","Nick compensation","Servo min","Servo max","Refresh rate","Invert Direction"},{"Nick","Roll","Accelerate","Gier","POTI1","POTI2","POTI3","POTI4"},{"ALTITUDE_CONTROL","Switch for Setpoint","Heading Hold","Compas Active","Compas Fix","GPS","Coupling","Yaw Rate Limiter"},{"Yaw pos. feedback","Yaw neg. feedback"},{"ACC/Gyro Factor","P-Rate","I-Rate","ACC/Gyro Comp","Drift-Compensation"},{"Gas Limit","Threshold","Hysterese","TurnOver Nick","TurnOver Roll","UP","DOWN","LEFT","RIGHT"},{"Min Gas","Max Gas","Compass Effect","Voltage Warning","Distress Gas","Distress Gas Time"},{"Nick/Roll P","Nick/Roll D","Gier P"},{"Param 1","Param 2","Param 3","Param 4"}},{{"Min. Accelerate","Barometric D","Setpoint","Altitude P","Gain","Z-ACC"},{"Servo control","Nick compensation","Servo min","Servo max","Refresh rate","Invert Direction"},{"Nick","Roll","Accelerate","Gier","POTI1","POTI2","POTI3","POTI4"},{"ALTITUDE_CONTROL","Switch for Setpoint","Heading Hold","Compas Active","Compas Fix","GPS","Coupling","Yaw Rate Limiter"},{"Yaw pos. feedback","Yaw neg. feedback"},{"ACC/Gyro Factor","P-Rate","I-Rate","ACC/Gyro Comp","Drift-Compensation","Dynamic stability"},{"Gas Limit","Threshold","Hysterese","TurnOver Nick","TurnOver Roll","UP","DOWN","LEFT","RIGHT"},{"Min Gas","Max Gas","Compass Effect","Voltage Warning","Distress Gas","Distress Gas Time"},{"Nick/Roll P","Nick/Roll D","Gier P"},{"Param 1","Param 2","Param 3","Param 4","Param 5","Param 6","Param 7","Param 8"}},{{"Min. Accelerate","Barometric D","Setpoint","Altitude P","Gain","Z-ACC"},{"Servo control","Nick compensation","Servo min","Servo max","Refresh rate","Invert Direction"},{"Nick","Roll","Accelerate","Gier","POTI1","POTI2","POTI3","POTI4"},{"ALTITUDE_CONTROL","Switch for Setpoint","Heading Hold","Compas Active","Compas Fix","GPS","Coupling","Yaw Rate Limiter"},{"Yaw pos. feedback","Yaw neg. feedback"},{"ACC/Gyro Factor","P-Rate","I-Rate","ACC/Gyro Comp","Drift-Compensation","Dynamic stability"},{"Gas Limit","Threshold","Hysterese","TurnOver Nick","TurnOver Roll","UP","DOWN","LEFT","RIGHT"},{"Mode Control","GPS-Gain","GPS-P","GPS-I","GPS-D","GPS-ACC","Satelite Minimum","Stick Threhsold"},{"Min Gas","Max Gas","Compass Effect","Voltage Warning","Distress Gas","Distress Gas Time"},{"J16 Bitmask","J16 Timing","J17 Bitmask","J17 Timing"},{"Nick/Roll P","Nick/Roll D","Gier P","External Control"},{"Param 1","Param 2","Param 3","Param 4","Param 5","Param 6","Param 7","Param 8"}}};
public final static int[][][] all_field_positions={{{9,10,11,12,13,14},{33,34,35,36,37,304},{0,1,2,3,4,5,6,7},{64,65,66,67,69},{20,22,23},{18,19,21,24,25,26},{15,16,17},{29,30,31,32}},{{9,10,11,12,13,14},{33,34,35,36,37,328},{0,1,2,3,4,5,6,7},{64,65,66,67,69},{20,22,23},{38,39,320,321,322,323},{18,19,21,24,25,26},{15,16,17},{29,30,31,32}},{{9,10,11,12,13,14},{33,34,35,36,37,384},{0,1,2,3,4,5,6,7},{64,65,66,67,68,69,70,71},{41,42},{20,22,23,45,46},{38,39,40,43,44,376,377,378,379},{18,19,21,24,25,26},{15,16,17},{29,30,31,32}},{{9,10,11,12,13,14},{33,34,35,36,37,424},{0,1,2,3,4,5,6,7},{64,65,66,67,68,69,70,71},{41,42},{20,22,23,45,46,47},{38,39,40,43,44,416,417,418,419},{18,19,21,24,25,26},{15,16,17},{29,30,31,32,48,49,50,51}},{{9,10,11,12,13,14},{33,34,35,36,37,528},{0,1,2,3,4,5,6,7},{64,65,66,67,68,69,70,71},{41,42},{20,22,23,45,46,47},{38,39,40,43,44,520,521,522,523},{56,57,58,59,60,61,62,63},{18,19,21,24,25,26},{52,53,54,55},{15,16,17,64},{29,30,31,32,48,49,50,51}}};
public final static int[][][] all_field_types={{{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH},{PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK},{PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE}},{{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH},{PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK},{PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE}},{{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH},{PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK},{PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE}},{{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH},{PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK},{PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE}},{{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH},{PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK},{PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE}}};
public final static int[] all_name_positions={46,46,53,58,71};
public final static int[] all_lengths={58,58,65,70,83};
// -- end generated code --
 
*/
 
 
// -- start generated code --
public final static int PARAMTYPE_BYTE=0;
public final static int PARAMTYPE_BITSWITCH=1;
public final static int PARAMTYPE_STICK=2;
public final static String[][] all_tab_names={{"Altitude","Camera","Channels","Configuration","Gyro","Other","Stick","User"},{"Altitude","Camera","Channels","Configuration","Gyro","Looping","Other","Stick","User"},{"Altitude","Camera","Channels","Configuration","Coupling","Gyro","Looping","Other","Stick","User"},{"Altitude","Camera","Channels","Configuration","Coupling","Gyro","Looping","Other","Stick","User"},{"Altitude","Camera","Channels","Configuration","Coupling","Gyro","Looping","Navi","Other","Output","Stick","User"},{"Altitude","Camera","Channels","Configuration","Coupling","Gyro","Looping","Navi","Other","Output","Stick","User"}};
public final static String[][][] all_field_names={{{"Min. Accelerate","Barometric D","Setpoint","Altitude P","Gain","Z-ACC"},{"Servo control","Nick compensation","Servo min","Servo max","Refresh rate","Invert Direction"},{"Nick","Roll","Accelerate","Gier","POTI1","POTI2","POTI3","POTI4"},{"ALTITUDE_CONTROL","Switch for Setpoint","Heading Hold","Compas Active","GPS"},{"ACC/Gyro Factor","P-Rate","I-Rate"},{"Min Gas","Max Gas","Compass Effect","Voltage Warning","Distress Gas","Distress Gas Time"},{"Nick/Roll P","Nick/Roll D","Gier P"},{"Param 1","Param 2","Param 3","Param 4"}},{{"Min. Accelerate","Barometric D","Setpoint","Altitude P","Gain","Z-ACC"},{"Servo control","Nick compensation","Servo min","Servo max","Refresh rate","Invert Direction"},{"Nick","Roll","Accelerate","Gier","POTI1","POTI2","POTI3","POTI4"},{"ALTITUDE_CONTROL","Switch for Setpoint","Heading Hold","Compas Active","GPS"},{"ACC/Gyro Factor","P-Rate","I-Rate"},{"Gas Limit","Threshold","UP","DOWN","LEFT","RIGHT"},{"Min Gas","Max Gas","Compass Effect","Voltage Warning","Distress Gas","Distress Gas Time"},{"Nick/Roll P","Nick/Roll D","Gier P"},{"Param 1","Param 2","Param 3","Param 4"}},{{"Min. Accelerate","Barometric D","Setpoint","Altitude P","Gain","Z-ACC"},{"Servo control","Nick compensation","Servo min","Servo max","Refresh rate","Invert Direction"},{"Nick","Roll","Accelerate","Gier","POTI1","POTI2","POTI3","POTI4"},{"ALTITUDE_CONTROL","Switch for Setpoint","Heading Hold","Compas Active","Compas Fix","GPS","Coupling","Yaw Rate Limiter"},{"Yaw pos. feedback","Yaw neg. feedback"},{"ACC/Gyro Factor","P-Rate","I-Rate","ACC/Gyro Comp","Drift-Compensation"},{"Gas Limit","Threshold","Hysterese","TurnOver Nick","TurnOver Roll","UP","DOWN","LEFT","RIGHT"},{"Min Gas","Max Gas","Compass Effect","Voltage Warning","Distress Gas","Distress Gas Time"},{"Nick/Roll P","Nick/Roll D","Gier P"},{"Param 1","Param 2","Param 3","Param 4"}},{{"Min. Accelerate","Barometric D","Setpoint","Altitude P","Gain","Z-ACC"},{"Servo control","Nick compensation","Servo min","Servo max","Refresh rate","Invert Direction"},{"Nick","Roll","Accelerate","Gier","POTI1","POTI2","POTI3","POTI4"},{"ALTITUDE_CONTROL","Switch for Setpoint","Heading Hold","Compas Active","Compas Fix","GPS","Coupling","Yaw Rate Limiter"},{"Yaw pos. feedback","Yaw neg. feedback"},{"ACC/Gyro Factor","P-Rate","I-Rate","ACC/Gyro Comp","Drift-Compensation","Dynamic stability"},{"Gas Limit","Threshold","Hysterese","TurnOver Nick","TurnOver Roll","UP","DOWN","LEFT","RIGHT"},{"Min Gas","Max Gas","Compass Effect","Voltage Warning","Distress Gas","Distress Gas Time"},{"Nick/Roll P","Nick/Roll D","Gier P"},{"Param 1","Param 2","Param 3","Param 4","Param 5","Param 6","Param 7","Param 8"}},{{"Min. Accelerate","Barometric D","Setpoint","Altitude P","Gain","Z-ACC"},{"Servo control","Nick compensation","Servo min","Servo max","Refresh rate","Invert Direction"},{"Nick","Roll","Accelerate","Gier","POTI1","POTI2","POTI3","POTI4"},{"ALTITUDE_CONTROL","Switch for Setpoint","Heading Hold","Compas Active","Compas Fix","GPS","Coupling","Yaw Rate Limiter"},{"Yaw pos. feedback","Yaw neg. feedback"},{"ACC/Gyro Factor","P-Rate","I-Rate","ACC/Gyro Comp","Drift-Compensation","Dynamic stability"},{"Gas Limit","Threshold","Hysterese","TurnOver Nick","TurnOver Roll","UP","DOWN","LEFT","RIGHT"},{"Mode Control","GPS-Gain","GPS-P","GPS-I","GPS-D","GPS-ACC","Satelite Minimum","Stick Threhsold"},{"Min Gas","Max Gas","Compass Effect","Voltage Warning","Distress Gas","Distress Gas Time"},{"J16 Bitmask","J16 Timing","J17 Bitmask","J17 Timing"},{"Nick/Roll P","Nick/Roll D","Gier P","External Control"},{"Param 1","Param 2","Param 3","Param 4","Param 5","Param 6","Param 7","Param 8"}},{{"Min. Accelerate","Barometric D","Setpoint","Altitude P","Gain","Z-ACC","3-Way switch"},{"Servo control","Nick compensation","Servo min","Servo max","Refresh rate","Invert Direction"},{"Nick","Roll","Accelerate","Gier","POTI1","POTI2","POTI3","POTI4"},{"ALTITUDE_CONTROL","Switch for Setpoint","Heading Hold","Compas Active","Compas Fix","GPS","Coupling","Yaw Rate Limiter"},{"Yaw pos. feedback","Yaw neg. feedback"},{"ACC/Gyro Factor","P-Rate","I-Rate","ACC/Gyro Comp","Drift-Compensation","Dynamic stability"},{"Gas Limit","Threshold","Hysterese","TurnOver Nick","TurnOver Roll","UP","DOWN","LEFT","RIGHT"},{"Mode Control","GPS-Gain","GPS-P","GPS-I","GPS-D","GPS-ACC","Satelite Minimum","Stick Threhsold","Wind Correction","Speed Compensation","Operating Radius"},{"Min Gas","Max Gas","Compass Effect","Voltage Warning","Distress Gas","Distress Gas Time"},{"J16 Bitmask","J16 Timing","J17 Bitmask","J17 Timing"},{"Nick/Roll P","Nick/Roll D","Gier P","External Control"},{"Param 1","Param 2","Param 3","Param 4","Param 5","Param 6","Param 7","Param 8"}}};
public final static int[][][] all_field_positions={{{9,10,11,12,13,14},{33,34,35,36,37,304},{0,1,2,3,4,5,6,7},{64,65,66,67,69},{20,22,23},{18,19,21,24,25,26},{15,16,17},{29,30,31,32}},{{9,10,11,12,13,14},{33,34,35,36,37,328},{0,1,2,3,4,5,6,7},{64,65,66,67,69},{20,22,23},{38,39,320,321,322,323},{18,19,21,24,25,26},{15,16,17},{29,30,31,32}},{{9,10,11,12,13,14},{33,34,35,36,37,384},{0,1,2,3,4,5,6,7},{64,65,66,67,68,69,70,71},{41,42},{20,22,23,45,46},{38,39,40,43,44,376,377,378,379},{18,19,21,24,25,26},{15,16,17},{29,30,31,32}},{{9,10,11,12,13,14},{33,34,35,36,37,424},{0,1,2,3,4,5,6,7},{64,65,66,67,68,69,70,71},{41,42},{20,22,23,45,46,47},{38,39,40,43,44,416,417,418,419},{18,19,21,24,25,26},{15,16,17},{29,30,31,32,48,49,50,51}},{{9,10,11,12,13,14},{33,34,35,36,37,528},{0,1,2,3,4,5,6,7},{64,65,66,67,68,69,70,71},{41,42},{20,22,23,45,46,47},{38,39,40,43,44,520,521,522,523},{56,57,58,59,60,61,62,63},{18,19,21,24,25,26},{52,53,54,55},{15,16,17,64},{29,30,31,32,48,49,50,51}},{{9,10,11,12,13,14,548},{33,34,35,36,37,552},{0,1,2,3,4,5,6,7},{64,65,66,67,68,69,70,71},{41,42},{20,22,23,45,46,47},{38,39,40,43,44,544,545,546,547},{56,57,58,59,60,61,62,63,64,65,66},{18,19,21,24,25,26},{52,53,54,55},{15,16,17,67},{29,30,31,32,48,49,50,51}}};
public final static int[][][] all_field_types={{{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH},{PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK},{PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE}},{{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH},{PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK},{PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE}},{{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH},{PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK},{PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE}},{{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH},{PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK},{PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE}},{{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH},{PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK},{PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE}},{{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH},{PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK,PARAMTYPE_STICK},{PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE},{PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE,PARAMTYPE_BYTE}}};
public final static int[] all_name_positions={46,46,53,58,71,74};
public final static int[] all_lengths={58,58,65,70,83,86};
// -- end generated code --
 
 
public final static int MAX_PARAMSETS=5;
// public final static int MAX_PARAMLENGTH=100;
 
public int[][] field;
public int[][] field_bak;
public String[] names={"Paramset 1","Paramset 2","Paramset 3","Paramset 4","Paramset 5"};
 
public int act_paramset=0;
 
 
public int get_field_from_act(int pos)
{ return field[act_paramset][pos]; }
 
public void set_field_from_act(int pos,int val)
{
if (val>255) val=255;
if (val<0) val=255;
field[act_paramset][pos]=val;
}
 
 
public void field_from_act_add(int pos,int val)
{
set_field_from_act(pos , get_field_from_act(pos)+val);
}
 
// for boolean Flags
public void field_from_act_xor(int pos,int val)
{
field[act_paramset][pos]^=val;
}
 
public MKParamsParser()
{
field=new int[MAX_PARAMSETS][];
field_bak=new int[MAX_PARAMSETS][];
for (int ii=0;ii<MAX_PARAMSETS;ii++)
{
field[ii]=null;
field_bak[ii]=null;
}
 
}
 
//<--generated
// public static final int COMP_COUNT=3;
 
// public string[COMP_COUNT] categorys;
 
//->
public int[] param_type;
public int[] param_pos;
public int[] param_innerpos;
 
public String[] tab_names;
public String[][] field_names;
public int[][] field_positions;
public int[][] field_types;
 
public int length;
public int name_start;
 
 
 
public void use_backup()
{
for ( int i=0 ; i<field[act_paramset].length;i++)
field[act_paramset][i]=field_bak[act_paramset][i];
}
 
public void update_backup()
{
for ( int i=0 ; i<field[act_paramset].length;i++)
field_bak[act_paramset][i]=field[act_paramset][i];
 
}
 
 
 
public void set_by_mk_data(int paramset_num,int[] in_arr,MKVersion version)
{
tab_names=all_tab_names[version.compatible-4];
field_names=all_field_names[version.compatible-4];
field_positions=all_field_positions[version.compatible-4];
field_types=all_field_types[version.compatible-4];
 
name_start=all_name_positions[version.compatible-4];
length=all_lengths[version.compatible-4];
 
field[paramset_num]=new int[length];
field_bak[paramset_num]=new int[length];
 
for ( int i=0;i<length;i++)
{
field[paramset_num][i]=in_arr[i];
field_bak[paramset_num][i]=in_arr[i];
}
names[paramset_num]="" + (paramset_num+1) +": ";
for ( int i=name_start;i<length;i++)
{
if(in_arr[i]==0)break;
names[paramset_num]+=(char)in_arr[i];
}
 
}
 
 
 
}
/DUBwise/tags/pre_0.50/src/J2ME/src/MKProxy.java
0,0 → 1,53
import java.io.*;
import javax.microedition.io.*;
 
public class MKProxy
implements Runnable
{
 
public boolean connected;
public String url;
public String err_str="none";
StreamConnection connection;
 
public java.io.InputStream reader;
public java.io.OutputStream writer;
 
public void connect(String url_)
{
url=url_;
 
try
{
connection = (StreamConnection) Connector.open(url, Connector.READ_WRITE);
reader=connection.openInputStream();
writer=connection.openOutputStream();
connected=true;
}
catch (Exception e)
{
// err_str=e.toString();
// this=null;
 
connected=false;
}
 
}
 
public void write(int input)
{
if (connected)
try{ writer.write(input);
if (input==13) writer.flush();
 
}
catch(Exception e) { connected=false; }
}
public void run()
{
}
 
}
/DUBwise/tags/pre_0.50/src/J2ME/src/MKStatistics.java
0,0 → 1,67
/********************************************************************************
* Statistics from MK-Connection ( needed for 2. Thread and Readability of Code )
*
* Author: Marcus -LiGi- Bueschleb
*
* see README for further Infos
*
********************************************************************************/
 
public class MKStatistics
implements Runnable
{
public long motor_on_time=-1;
public long motor_stand_time=-1;
public long motor_sum=-1;
 
MKCommunicator mk=null;
 
public MKStatistics(MKCommunicator _mk)
{
mk=_mk;
new Thread( this ).start(); // fire up main Thread
}
 
 
 
 
private long last_run_ms=0;
private long last_step=-1;
 
public void run()
{
while(true)
{
if (mk.connected)
{
 
if (last_run_ms!=0)
{
last_step=System.currentTimeMillis()-last_run_ms;
 
if (mk.debug_data.motor_complete>0)
motor_sum+=mk.debug_data.motor_complete;
if (mk.debug_data.motor_complete>60)
motor_on_time+=last_step;
if (mk.debug_data.motor_complete==60)
motor_stand_time+=last_step;
}
last_run_ms=System.currentTimeMillis();
}
else
{
last_run_ms=-1;
motor_on_time=-1;
motor_stand_time=-1;
}
try { Thread.sleep(500); }
catch (Exception e) { }
}
}
 
}
/DUBwise/tags/pre_0.50/src/J2ME/src/MKStatusVoice.java
0,0 → 1,145
/**************************************
*
* Voice output for MK
*
* Author: Marcus -LiGi- Bueschleb
*
* see README for further Infos
*
*
**************************************/
 
import javax.microedition.media.*;
import javax.microedition.media.control.*;
import java.util.*;
import java.io.*;
 
 
public class MKStatusVoice
implements Runnable,PlayerListener
{
 
MKCommunicator mk=null;
DUBwiseCanvas canvas=null;
Player player;
public final int PLAYERSTATE_IDLE=0;
public final int PLAYERSTATE_PLAYING=1;
public final int PLAYERSTATE_FIN=2;
 
int act_player_state=PLAYERSTATE_IDLE;
VolumeControl vc;
 
public MKStatusVoice(MKCommunicator _mk,DUBwiseCanvas _canvas)
{
canvas=_canvas;
mk=_mk;
new Thread( this ).start(); // fire up main Thread
}
 
public void playerUpdate(Player player, String event, Object data)
{
if(event == PlayerListener.END_OF_MEDIA) {
try {
defplayer();
}
catch(MediaException me) { }
act_player_state=PLAYERSTATE_FIN;
player=null;
 
}
}
void defplayer() throws MediaException {
if (player != null) {
if(player.getState() == Player.STARTED) {
player.stop();
}
if(player.getState() == Player.PREFETCHED) {
player.deallocate();
}
if(player.getState() == Player.REALIZED || player.getState() == Player.UNREALIZED) {
player.close();
}
}
player = null;
}
 
 
public void start_playing(String name)
{
try {
try {
player = Manager.createPlayer(getClass().getResourceAsStream(name+".mp3"), "audio/mp3");
}
catch (Exception e) {
player = Manager.createPlayer(getClass().getResourceAsStream(name+".wav"), "audio/x-wav");
}
player.addPlayerListener(this);
player.realize();
act_player_state=PLAYERSTATE_PLAYING;
 
vc = (VolumeControl) player.getControl("VolumeControl");
if(vc != null) {
vc.setLevel(100);
}
 
player.prefetch();
player.setLoopCount(1);
player.start();
}
catch (Exception e) {
}
}
public void wait_for_end()
{
while (act_player_state!=PLAYERSTATE_FIN)
{
try { Thread.sleep(5); }
catch (Exception e) { }
}
 
}
 
int info_from_debug_set=-1;
public void run()
{
while(true)
{
 
if (mk.connected&&(canvas.do_sound)&&(mk.debug_data.UBatt()!=-1)&&(!mk.force_disconnect))
{
int ubatt=mk.debug_data.UBatt();
if (info_from_debug_set!=mk.debug_data_count)
{
info_from_debug_set=mk.debug_data_count;
start_playing(""+(ubatt/10));
wait_for_end();
if((ubatt%10)!=0)
{
start_playing("komma");
wait_for_end();
start_playing(""+(ubatt%10));
wait_for_end();
}
start_playing("volt");
}
}
 
try { Thread.sleep(5000); }
catch (Exception e) { }
}
}
 
}
/DUBwise/tags/pre_0.50/src/J2ME/src/MKStickData.java
0,0 → 1,42
/*********************************************
*
* class representing the StickData Structure
*
* Author: Marcus -LiGi- Bueschleb
*
* see README for further Infos
*
********************************************/
 
public class MKStickData
{
// holing stick data
public int[] stick;
 
// general counter
private int i;
 
public MKStickData()
{
 
stick=new int[10];
for (i=0;i<10;i++)
stick[i]=-1;
 
}
 
public void set_by_mk_data(int[] in_arr)
{
 
for (i=0;i<10;i++)
{
stick[i]=(int)((in_arr[1+i*2]<<8) | in_arr[i*2]);
if ((stick[i]&(1<<15))!=0)
stick[i]=-(stick[i]&(0xFFFF-1))^(0xFFFF-1);
}
 
}
 
 
 
}
/DUBwise/tags/pre_0.50/src/J2ME/src/MKVersion.java
0,0 → 1,47
/************************************
*
* class representing the MK-Version
* Author: Marcus -LiGi- Bueschleb
* Project-Start: 9/2007 *
*
* see README for further Infos
*
****************************************/
 
public class MKVersion
 
{
public int major=-1;
public int minor=-1;
public int compatible=-1;
public String str="--";
 
// version known?
public boolean known=false;
 
public final byte VERSION_AFTER=0;
public final byte VERSION_EQUAL=1;
public final byte VERSION_PREVIOUS=2;
 
 
public void set_by_mk_data(int[] data)
{
major=data[0];
minor=data[1];
compatible=data[2];
str="v"+major+"."+minor+"/"+compatible;
known=true;
}
public byte compare(int major_c,int minor_c)
{
if ((major_c==major)&&(minor_c==minor))
return VERSION_EQUAL;
// TODO - compare major - PC-COMPATIBLE
else if (minor_c>minor) return VERSION_AFTER;
return VERSION_PREVIOUS;
}
 
}
/DUBwise/tags/pre_0.50/src/J2ME/src/MKWatchDog.java
0,0 → 1,160
/**************************************
*
* WatchDog for MK-Connection
*
* Author: Marcus -LiGi- Bueschleb
*
* see README for further Infos
*
*
**************************************/
 
public class MKWatchDog
implements Runnable,DUBwiseDefinitions
{
 
MKCommunicator mk=null;
 
int debug_data_count_buff=-123;
int lcd_data_count_buff=-123;
 
 
public MKWatchDog(MKCommunicator _mk)
{
 
mk=_mk;
new Thread( this ).start(); // fire up main Thread
}
 
int lcd_timeout=0; // detect if we lost packets
 
public int act_paramset=0;
int conn_check_timeout=0;
 
public void run()
{
// get all params
int act_debug_name=0;
 
while(true)
{
 
try { Thread.sleep(100); } // 3000
catch (Exception e) { }
if (mk.connected&&(!mk.force_disconnect))
{
 
if (debug_data_count_buff==mk.debug_data_count)
{
mk.debug.log("timeout:" +conn_check_timeout );
conn_check_timeout++;
if (conn_check_timeout==100)
{
mk.debug.log("disconnecting");
mk.close_connections(false);
conn_check_timeout=0;
}
debug_data_count_buff=mk.debug_data_count;
}
else
conn_check_timeout=0;
 
 
if ( mk.version.major==-1 )
{
try { Thread.sleep(150); }
catch (Exception e) { }
mk.get_version();
}
else if ((act_paramset<5)&&(mk.root.canvas.user_intent==USER_INTENT_PARAMS) &&(! mk.root.canvas.ufo_prober.is_navi()))
{
mk.get_params(act_paramset+1);
try { Thread.sleep(350); }
catch (Exception e) { }
if(mk.params.field[act_paramset]!=null)
act_paramset++;
}
else if (( act_debug_name<32)&&(mk.root.canvas.user_intent==USER_INTENT_RAWDEBUG))
{
mk.get_debug_name(act_debug_name);
try { Thread.sleep(150); }
catch (Exception e) { }
 
if (mk.debug_data.got_name[act_debug_name]) act_debug_name++;
}
/*else if ((mk.root.canvas.user_intent==USER_INTENT_RAWDEBUG) || (mk.root.canvas.user_intent==USER_INTENT_GRAPH) )
{
mk.trigger_debug();
try { Thread.sleep(100); }
catch (Exception e) { }
}
*/
 
 
 
 
/*
 
 
if (debug_data_count_buff==mk.debug_data_count)
{
// mk.close_connections(false);
}
 
*/
 
/*if (mk.version.major==-1)
mk.get_version();
else
*/
/*for ( int cnt=0;cnt<5;cnt++)
if (mk.params.field[cnt]==null)
{
mk.get_params(cnt+1);
break;
}*/
/*
for (int c=0;c<32;c++)
if (!mk.debug_data.got_name[c])
{
mk.get_debug_name(c);
break;
}
*/
 
else
{
if ((lcd_data_count_buff!=mk.lcd_data_count)||(mk.lcd_data_count==0)||(lcd_timeout==23))
{
lcd_timeout=0;
lcd_data_count_buff=mk.lcd_data_count;
mk.LCD.trigger_LCD();
try { Thread.sleep(50); }
catch (Exception e) { }
//debug_data_count_buff=mk.debug_data_count;
}
else
{
lcd_timeout++;
}
}
 
}
 
}
}
 
}
/DUBwise/tags/pre_0.50/src/J2ME/src/UFOProber.java
0,0 → 1,118
/**********************************************************************************
*
* Probe which type of UFO we talk to
*
* Author: Marcus -LiGi- Bueschleb
*
* see README for further Infos
*
*
**********************************************************************************/
import javax.microedition.io.*;
import java.io.*;
 
public class UFOProber
 
{
public final static int PROBE_RESULT_NONE =0;
public final static int PROBE_RESULT_MK =1;
public final static int PROBE_RESULT_NG =2;
public final static int PROBE_RESULT_NAVCTRL =3;
 
 
public boolean change_notify=false;
 
public String[] extended_names= { "No Device" , "MK-Connection" , "NG-Connection" , "NavCtrl-Connection" };
 
public int probe_result=PROBE_RESULT_NONE;
 
 
public void set_to_navi()
{
if (probe_result!=PROBE_RESULT_NAVCTRL);
{
probe_result=PROBE_RESULT_NAVCTRL;
change_notify=true;
}
}
 
public void set_to_mk()
{
if (probe_result!=PROBE_RESULT_MK)
{
probe_result=PROBE_RESULT_MK;
change_notify=true;
}
}
 
public boolean is_navi()
{
return (probe_result==PROBE_RESULT_NAVCTRL);
}
 
public boolean is_mk()
{
return (probe_result==PROBE_RESULT_MK);
}
 
 
public String extended_name()
{
return extended_names[probe_result];
}
 
String reply="";
public boolean probe_error=false;
 
private javax.microedition.io.StreamConnection connection;
private java.io.InputStream reader;
private java.io.OutputStream writer;
 
public void bluetooth_probe(String url)
{
try{
connection = (StreamConnection) Connector.open(url);
reader=connection.openInputStream();
writer=connection.openOutputStream();
String magic="\rmk-mode\r";
writer.write(magic.getBytes());
writer.flush();
/*
int input=0;
// recieve data-set
 
// the 1st line is the echo of the command when ng
while ((input != 13) &&(input!=-1))
{
input = reader.read() ;
reply+=(char)input;
}
reply="";
input=0;
while ((input != 13) &&(input!=-1))
if (input!=10){
input = reader.read() ;
reply+=(char)input;
}
 
if (reply=="NG here\r")
probe_result=PROBE_RESULT_NG;
 
probe_result=PROBE_RESULT_MK;
*/
writer.close();
reader.close();
connection.close();
}
catch (Exception ex)
{
probe_error=true;
}
 
 
}
 
}
/DUBwise/tags/pre_0.50/src
Property changes:
Added: svn:mergeinfo