Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 254 → Rev 255

/DUBwise/trunk/j2me/bin/128x128/cldc11/de_64kbit_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-128x128-cldc11-de_64kbit_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-128x128-cldc11-de_64kbit_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 260957
MIDlet-Jar-Size: 264885
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/128x128/cldc11/de_64kbit_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-128x128-cldc11-de_64kbit_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/128x128/cldc11/de_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-128x128-cldc11-de_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-128x128-cldc11-de_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 234221
MIDlet-Jar-Size: 238149
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/128x128/cldc11/de_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-128x128-cldc11-de_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/128x128/cldc11/de_wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-128x128-cldc11-de_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-128x128-cldc11-de_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 437213
MIDlet-Jar-Size: 441141
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/128x128/cldc11/de_wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-128x128-cldc11-de_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/128x128/cldc11/en_speedy/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-128x128-cldc11-en_speedy-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-128x128-cldc11-en_speedy-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 246888
MIDlet-Jar-Size: 250816
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/128x128/cldc11/en_speedy/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-128x128-cldc11-en_speedy-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/128x128/cldc11/en_wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-128x128-cldc11-en_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-128x128-cldc11-en_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 584403
MIDlet-Jar-Size: 588331
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/128x128/cldc11/en_wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-128x128-cldc11-en_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/128x128/cldc11/no_voice/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-128x128-cldc11-no_voice-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-128x128-cldc11-no_voice-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 208178
MIDlet-Jar-Size: 212107
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/128x128/cldc11/no_voice/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-128x128-cldc11-no_voice-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/176x220/cldc11/de_64kbit_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-176x220-cldc11-de_64kbit_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-176x220-cldc11-de_64kbit_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 303170
MIDlet-Jar-Size: 307098
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/176x220/cldc11/de_64kbit_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-176x220-cldc11-de_64kbit_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/176x220/cldc11/de_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-176x220-cldc11-de_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-176x220-cldc11-de_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 276434
MIDlet-Jar-Size: 280362
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/176x220/cldc11/de_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-176x220-cldc11-de_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/176x220/cldc11/de_wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-176x220-cldc11-de_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-176x220-cldc11-de_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 479426
MIDlet-Jar-Size: 483354
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/176x220/cldc11/de_wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-176x220-cldc11-de_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/176x220/cldc11/en_speedy/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-176x220-cldc11-en_speedy-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-176x220-cldc11-en_speedy-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 289101
MIDlet-Jar-Size: 293029
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/176x220/cldc11/en_speedy/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-176x220-cldc11-en_speedy-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/176x220/cldc11/en_wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-176x220-cldc11-en_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-176x220-cldc11-en_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 626616
MIDlet-Jar-Size: 630544
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/176x220/cldc11/en_wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-176x220-cldc11-en_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/176x220/cldc11/no_voice/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-176x220-cldc11-no_voice-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-176x220-cldc11-no_voice-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 250391
MIDlet-Jar-Size: 254320
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/176x220/cldc11/no_voice/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-176x220-cldc11-no_voice-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/200x300/cldc11/de_64kbit_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-200x300-cldc11-de_64kbit_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-200x300-cldc11-de_64kbit_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 335055
MIDlet-Jar-Size: 338983
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/200x300/cldc11/de_64kbit_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-200x300-cldc11-de_64kbit_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/200x300/cldc11/de_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-200x300-cldc11-de_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-200x300-cldc11-de_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 308319
MIDlet-Jar-Size: 312247
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/200x300/cldc11/de_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-200x300-cldc11-de_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/200x300/cldc11/de_wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-200x300-cldc11-de_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-200x300-cldc11-de_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 511311
MIDlet-Jar-Size: 515239
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/200x300/cldc11/de_wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-200x300-cldc11-de_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/200x300/cldc11/en_speedy/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-200x300-cldc11-en_speedy-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-200x300-cldc11-en_speedy-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 320986
MIDlet-Jar-Size: 324914
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/200x300/cldc11/en_speedy/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-200x300-cldc11-en_speedy-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/200x300/cldc11/en_wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-200x300-cldc11-en_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-200x300-cldc11-en_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 658501
MIDlet-Jar-Size: 662429
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/200x300/cldc11/en_wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-200x300-cldc11-en_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/200x300/cldc11/no_voice/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-200x300-cldc11-no_voice-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-200x300-cldc11-no_voice-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 282276
MIDlet-Jar-Size: 286205
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/200x300/cldc11/no_voice/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-200x300-cldc11-no_voice-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/240x320/cldc11/de_64kbit_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-240x320-cldc11-de_64kbit_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-240x320-cldc11-de_64kbit_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 305733
MIDlet-Jar-Size: 309661
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/240x320/cldc11/de_64kbit_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-240x320-cldc11-de_64kbit_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/240x320/cldc11/de_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-240x320-cldc11-de_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-240x320-cldc11-de_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 278997
MIDlet-Jar-Size: 282925
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/240x320/cldc11/de_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-240x320-cldc11-de_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/240x320/cldc11/de_wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-240x320-cldc11-de_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-240x320-cldc11-de_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 481989
MIDlet-Jar-Size: 485917
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/240x320/cldc11/de_wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-240x320-cldc11-de_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/240x320/cldc11/en_speedy/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-240x320-cldc11-en_speedy-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-240x320-cldc11-en_speedy-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 291664
MIDlet-Jar-Size: 295592
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/240x320/cldc11/en_speedy/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-240x320-cldc11-en_speedy-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/240x320/cldc11/en_wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-240x320-cldc11-en_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-240x320-cldc11-en_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 629179
MIDlet-Jar-Size: 633107
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/240x320/cldc11/en_wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-240x320-cldc11-en_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/240x320/cldc11/no_voice/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-240x320-cldc11-no_voice-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-240x320-cldc11-no_voice-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 252954
MIDlet-Jar-Size: 256883
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/240x320/cldc11/no_voice/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-240x320-cldc11-no_voice-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/340x400/cldc11/de_64kbit_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-340x400-cldc11-de_64kbit_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-340x400-cldc11-de_64kbit_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 404282
MIDlet-Jar-Size: 408210
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/340x400/cldc11/de_64kbit_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-340x400-cldc11-de_64kbit_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/340x400/cldc11/de_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-340x400-cldc11-de_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-340x400-cldc11-de_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 377546
MIDlet-Jar-Size: 381474
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/340x400/cldc11/de_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-340x400-cldc11-de_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/340x400/cldc11/de_wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-340x400-cldc11-de_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-340x400-cldc11-de_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 580538
MIDlet-Jar-Size: 584466
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/340x400/cldc11/de_wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-340x400-cldc11-de_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/340x400/cldc11/en_speedy/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-340x400-cldc11-en_speedy-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-340x400-cldc11-en_speedy-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 390213
MIDlet-Jar-Size: 394141
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/340x400/cldc11/en_speedy/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-340x400-cldc11-en_speedy-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/340x400/cldc11/en_wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-340x400-cldc11-en_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-340x400-cldc11-en_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 727728
MIDlet-Jar-Size: 731656
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/340x400/cldc11/en_wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-340x400-cldc11-en_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/340x400/cldc11/no_voice/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-340x400-cldc11-no_voice-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-340x400-cldc11-no_voice-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 351503
MIDlet-Jar-Size: 355432
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/340x400/cldc11/no_voice/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-340x400-cldc11-no_voice-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/480x640/cldc11/de_64kbit_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-480x640-cldc11-de_64kbit_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-480x640-cldc11-de_64kbit_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 549063
MIDlet-Jar-Size: 552991
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/480x640/cldc11/de_64kbit_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-480x640-cldc11-de_64kbit_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/480x640/cldc11/de_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-480x640-cldc11-de_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-480x640-cldc11-de_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 522327
MIDlet-Jar-Size: 526255
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/480x640/cldc11/de_tts/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-480x640-cldc11-de_tts-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/480x640/cldc11/de_wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-480x640-cldc11-de_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-480x640-cldc11-de_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 725319
MIDlet-Jar-Size: 729247
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/480x640/cldc11/de_wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-480x640-cldc11-de_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/480x640/cldc11/en_speedy/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-480x640-cldc11-en_speedy-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-480x640-cldc11-en_speedy-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 534994
MIDlet-Jar-Size: 538922
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/480x640/cldc11/en_speedy/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-480x640-cldc11-en_speedy-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/480x640/cldc11/en_wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-480x640-cldc11-en_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-480x640-cldc11-en_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 872509
MIDlet-Jar-Size: 876437
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/480x640/cldc11/en_wav/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-480x640-cldc11-en_wav-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/bin/480x640/cldc11/no_voice/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-480x640-cldc11-no_voice-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jad
1,8 → 1,8
MIDlet-Jar-URL: DUBwise-480x640-cldc11-no_voice-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
MIDlet-Jar-Size: 496284
MIDlet-Jar-Size: 500213
MIDlet-Name: DUBwise
MIDlet-Vendor: LiGi
MIDlet-Version: 0.52
MIDlet-Version: 0.53
MIDlet-1: DUBwise, i.png, DUBwise
MIDletX-No-Command: true
MIDlet-Icon: i.png
/DUBwise/trunk/j2me/bin/480x640/cldc11/no_voice/bluetooth_on/fileapi_on/devicecontrol_on/DUBwise-480x640-cldc11-no_voice-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/DUBwise/trunk/j2me/build.props
3,5 → 3,5
fileapi=on
screensize=128x128
bluetooth=on
voice_mode=no_voice
basename=DUBwise-128x128-cldc11-no_voice-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on
voice_mode=en_speedy
basename=DUBwise-128x128-cldc11-en_speedy-all_firmwares-bluetooth_on-fileapi_on-devicecontrol_on
/DUBwise/trunk/j2me/build.rb
133,6 → 133,7
p `mkdir tmp/res`
 
p `cp -v res/images_by_screensize/#{screensize}/* tmp/res/`
p `cp -v res/langpacks/* tmp/res/`
p `cp -v res/firmwares/#{firmware}/* tmp/res/`
 
propertys["screensize"]=screensize
/DUBwise/trunk/j2me/build.xml
2,7 → 2,7
<property name="wtk.home" value="/home/ligi/tools/WTK2.2/"/>
 
<property name="project_name" value="DUBwise"/> <!-- jar filename -->
<property name="project_version" value="0.52"/>
<property name="project_version" value="0.53"/>
 
<property file="build.props"/>
 
/DUBwise/trunk/j2me/res/lang_base
0,0 → 1,55
LANG;English;German
CONN;Connection;Verbindung
SETTINGS;Tool Settings;Einstellungen
SELECT_FIRMWARE;Select Firmware;Firmware auswählen
DEBUG;Debug
MOTORTEST;Motor-Test
ABOUT;About;Ãœber
EDIT_SETTINGS;Edit Settings;Parameter ändern
COPY_TO_MOBILE;Copy all to Mobile;Kopie aufs Handy
LOAD_FROM_MOBILE;Load from Mobile;laden vom Handy
REINITIALIZE_ALL;Reinitialize all;Alle zurücksetzen
BACK;Back;Zurück
QUIT;Quit;Beenden
REMOTE_CAM;Remote Cam;Kammeraauslösung
FLASH_FIRMWARE;Flash Firmware;Firmware Flashen
SWITCH_NAVI;switch to navi;wecheseln zur Navi
SWITCH_MK3MAG;switch to MK3MAG;wecheseln zum MK3MAG
SWITCH_FC;switch to FC;wechseln zur FC
VIEW_GPS;view GPS-Data
LCD;LCD
GRAPH;Graph
DEBUG_VALUES;Debug Values;Debug Werte
KEYCONTROL;Key-Control;Tastensteuerung
RCDATA;view RC-data;Werte der Funke
FLIGHTSETTINGS;Flight Settings;Flugeinstellungen
HORIZON;Artificial Horizon;Künstl. Horizont
VIEW_ERRORS;view Errors;Fehler anschaun
USERINTERFACE;User Interface;Nutzerinterface
GPS;GPS
SPECIALKEYS;Special Keys;Spezielle Tasten
VOICE;Voice;Sprachausgabe
OTHER;Other;Anderes
ALTITUDE;Altitude;Höhe
CAMERA;Camera;Kammera
CHANNELS;Chanels;Kanäle
CONFIGURATION;Configuration;Konfiguration
COUPLING;Coupling;Achskopplung
GYRO;Gyro;Gyroskope
LOOP;Looping
NAVI;Navi
OUTPUT;Output;Ausgänge
STICK;Sticks
USERPARAMS;Userparams;Nutzerparameter
EDIT_CONTENT;Edit Content;Einstellungen
RENAME;Rename;Umbenennen
SAVE_AS;Save As;Speichern unter
SAVE;Save;Speichern
REREAD;Read Again;Erneut lesen
PACKET_TRAFFIC;Packet Traffic;Paketfluss
VIEW_DATA;view Data;Rohdaten ansehen
CONNECT_BT;Connect via BT;verbinden via BT
CONNECT_TCP;Connect via TCP/IP;verbinden via IP
CONNECT_COM;Connect via COM;verbinden via COM
SET_PROXY;Set Proxy;Proxy einstellen
 
/DUBwise/trunk/j2me/res/lang_gen.rb
0,0 → 1,22
require 'rubygems'
require 'rio'
 
last_i=0
puts `rm -v langpacks/l`
langpack=rio("langpacks/l")
 
langdef=rio("../../shared/src/DUBwiseLangDefs.java")
 
langdef < "package org.ligi.ufo;\npublic interface DUBwiseLangDefs \n { \n"
 
rio("lang_base").read.split("\n").each_with_index { |l,i|
langdef << " public final static int STRINGID_" + l.split(";").first+"="+i.to_s+";\n"
l=l.split(";")[1..-1].join(";")+"\n"
langpack<<l
 
last_i=i
}
 
langdef << " public final static int STRING_COUNT=" + (last_i+1).to_s+";"
langdef << "\n}\n"
/DUBwise/trunk/j2me/res/langpacks/l
0,0 → 1,54
English;German
Connection;Verbindung
Tool Settings;Einstellungen
Select Firmware;Firmware auswählen
Debug
Motor-Test
About;Ãœber
Edit Settings;Parameter ändern
Copy all to Mobile;Kopie aufs Handy
Load from Mobile;laden vom Handy
Reinitialize all;Alle zurücksetzen
Back;Zurück
Quit;Beenden
Remote Cam;Kammeraauslösung
Flash Firmware;Firmware Flashen
switch to navi;wecheseln zur Navi
switch to MK3MAG;wecheseln zum MK3MAG
switch to FC;wechseln zur FC
view GPS-Data
LCD
Graph
Debug Values;Debug Werte
Key-Control;Tastensteuerung
view RC-data;Werte der Funke
Flight Settings;Flugeinstellungen
Artificial Horizon;Künstl. Horizont
view Errors;Fehler anschaun
User Interface;Nutzerinterface
GPS
Special Keys;Spezielle Tasten
Voice;Sprachausgabe
Other;Anderes
Altitude;Höhe
Camera;Kammera
Chanels;Kanäle
Configuration;Konfiguration
Coupling;Achskopplung
Gyro;Gyroskope
Looping
Navi
Output;Ausgänge
Sticks
Userparams;Nutzerparameter
Edit Content;Einstellungen
Rename;Umbenennen
Save As;Speichern unter
Save;Speichern
Read Again;Erneut lesen
Packet Traffic;Paketfluss
view Data;Rohdaten ansehen
Connect via BT;verbinden via BT
Connect via TCP/IP;verbinden via IP
Connect via COM;verbinden via COM
Set Proxy;Proxy einstellen
/DUBwise/trunk/j2me/src/DUBwiseCanvas.java
18,9 → 18,19
 
public class DUBwiseCanvas
extends Canvas
implements Runnable,org.ligi.ufo.DUBwiseDefinitions , DUBwiseUIDefinitions
implements Runnable,org.ligi.ufo.DUBwiseDefinitions , DUBwiseUIDefinitions,org.ligi.ufo.DUBwiseLangDefs
{
 
public final static int[] param_menu_items={STRINGID_EDIT_SETTINGS,STRINGID_COPY_TO_MOBILE,STRINGID_LOAD_FROM_MOBILE,STRINGID_REINITIALIZE_ALL,STRINGID_BACK};
public final static byte[] param_menu_actions={ACTIONID_SELECT_PARAMS,ACTIONID_PARAM_COPY_MOBILE,ACTIONID_PARAM_LOAD_MOBILE,ACTIONID_RESET_PARAMS,ACTIONID_MAINMENU};
 
public final static int[] handle_params_menu_items={STRINGID_EDIT_CONTENT,STRINGID_RENAME,STRINGID_SAVE_AS,STRINGID_SAVE,STRINGID_REREAD,STRINGID_BACK};
public final static byte[] handle_params_menu_actions={ACTIONID_EDIT_PARAMS,ACTIONID_RENAME_PARAMS,ACTIONID_WRITE_PARAM_AS,ACTIONID_WRITE_PARAMS,ACTIONID_UNDO_PARAMS,ACTIONID_SELECT_PARAMS };
 
public final static int[] onlyback_menu_items={STRINGID_BACK };
public final static byte[] back_to_conndetails_actions={ACTIONID_BACK_TO_CONNDETAILS};
 
 
//#if fileapi=="on"
DUBwiseFileAccess file_access;
//#endif
53,6 → 63,7
private MKParamsEditor params_editor=null;
private MKParamsEditor settings_editor=null;
public DUBwiseDebug debug=null;
public FirmwareLoader fw_loader=null;
 
 
142,6 → 153,16
String[] tmp_items;
// boolean expert_mode=false;
 
 
byte act_lang=0;
 
public String[] localized_strings;
 
public String l(int str_id)
{
return localized_strings[str_id];
 
}
public void tmp_menu_init(int max_items)
{
setup_pos=0;
176,17 → 197,17
public void setup_conn_menu()
{
tmp_menu_init(7);
tmp_menu_add("Packet Traffic",ACTIONID_TRAFFIC);
tmp_menu_add("view Data",ACTIONID_DATABUFF);
tmp_menu_add(l(STRINGID_PACKET_TRAFFIC),ACTIONID_TRAFFIC);
tmp_menu_add(l(STRINGID_VIEW_DATA),ACTIONID_DATABUFF);
//#if bluetooth=="on"
tmp_menu_add("connect via BT",ACTIONID_SCAN_BT);
tmp_menu_add(l(STRINGID_CONNECT_BT),ACTIONID_SCAN_BT);
//#endif
tmp_menu_add("connect via TCP/IP",ACTIONID_CONNECT_TCP);
tmp_menu_add(l(STRINGID_CONNECT_TCP),ACTIONID_CONNECT_TCP);
 
if ((System.getProperty("microedition.commports")!=null)&&(!System.getProperty("microedition.commports").equals("")))
tmp_menu_add("connect via COM",ACTIONID_SELECT_COM);
tmp_menu_add("set Proxy",ACTIONID_PROXY_INPUT);
tmp_menu_add("back",ACTIONID_MAINMENU);
tmp_menu_add(l(STRINGID_CONNECT_COM),ACTIONID_SELECT_COM);
tmp_menu_add(l(STRINGID_SET_PROXY),ACTIONID_PROXY_INPUT);
tmp_menu_add(l(STRINGID_BACK),ACTIONID_MAINMENU);
tmp_menu_use();
 
}
196,59 → 217,62
{
tmp_menu_init(20);
tmp_menu_add("Tool Settings",ACTIONID_SETTINGS);
tmp_menu_add("Connection",ACTIONID_CONN_DETAILS);
tmp_menu_add(l(STRINGID_SETTINGS),ACTIONID_SETTINGS);
tmp_menu_add(l(STRINGID_CONN),ACTIONID_CONN_DETAILS);
 
tmp_menu_add(l(STRINGID_SELECT_FIRMWARE),ACTIONID_SELECT_FIRMWARE);
 
 
if (settings.expert_mode)
tmp_menu_add("Debug",ACTIONID_DEBUG);
tmp_menu_add(l(STRINGID_DEBUG),ACTIONID_DEBUG);
if (mk.ufo_prober.is_mk())
{
tmp_menu_add("Motor Test",ACTIONID_MOTORTEST);
tmp_menu_add("Key-Control",ACTIONID_KEYCONTROL);
tmp_menu_add("view RC-data",ACTIONID_RCDATA);
tmp_menu_add("Flight Settings",ACTIONID_PARAM_MENU);
tmp_menu_add("Artificial Horizon",ACTIONID_HORIZON);
tmp_menu_add(l(STRINGID_MOTORTEST),ACTIONID_MOTORTEST);
tmp_menu_add(l(STRINGID_KEYCONTROL),ACTIONID_KEYCONTROL);
tmp_menu_add(l(STRINGID_RCDATA),ACTIONID_RCDATA);
tmp_menu_add(l(STRINGID_FLIGHTSETTINGS),ACTIONID_PARAM_MENU);
tmp_menu_add(l(STRINGID_HORIZON),ACTIONID_HORIZON);
}
 
 
 
if ( mk.ufo_prober.is_navi()||mk.ufo_prober.is_mk() )
tmp_menu_add("LCD",ACTIONID_LCD);
tmp_menu_add(l(STRINGID_LCD),ACTIONID_LCD);
 
if ( mk.ufo_prober.is_mk() )
tmp_menu_add("Graph",ACTIONID_GRAPH);
tmp_menu_add(l(STRINGID_GRAPH),ACTIONID_GRAPH);
 
if (( mk.ufo_prober.is_navi()||mk.ufo_prober.is_mk()||mk.ufo_prober.is_mk3mag() ))
tmp_menu_add("Debug Values",ACTIONID_RAWDEBUG);
tmp_menu_add(l(STRINGID_DEBUG_VALUES),ACTIONID_RAWDEBUG);
 
 
if ( mk.ufo_prober.is_navi())
{
tmp_menu_add("view GPS-Data",ACTIONID_GPSDATA);
tmp_menu_add("view Errors",ACTIONID_NC_ERRORS);
tmp_menu_add("switch to FC",ACTIONID_SWITCH_FC);
tmp_menu_add("switch to MK3MAG",ACTIONID_SWITCH_MK3MAG);
tmp_menu_add(l(STRINGID_VIEW_GPS),ACTIONID_GPSDATA);
tmp_menu_add(l(STRINGID_VIEW_ERRORS),ACTIONID_NC_ERRORS);
tmp_menu_add(l(STRINGID_SWITCH_FC),ACTIONID_SWITCH_FC);
tmp_menu_add(l(STRINGID_SWITCH_MK3MAG),ACTIONID_SWITCH_MK3MAG);
 
}
 
if (mk.ufo_prober.is_mk()||mk.ufo_prober.is_mk3mag() )
tmp_menu_add("switch to navi",ACTIONID_SWITCH_NC);
tmp_menu_add(l(STRINGID_SWITCH_NAVI),ACTIONID_SWITCH_NC);
 
 
//if ((settings.expert_mode)&& ( mk.ufo_prober.is_navi()||mk.ufo_prober.is_mk()||mk.ufo_prober.is_mk3mag()||mk.ufo_prober.is_incompatible() ))
if (settings.expert_mode)
tmp_menu_add("Flash Firmware",ACTIONID_FLASH);
tmp_menu_add(l(STRINGID_FLASH_FIRMWARE),ACTIONID_FLASH);
if (settings.expert_mode&& mk.ufo_prober.is_mk() )
tmp_menu_add("Remote Cam",ACTIONID_CAM);
tmp_menu_add(l(STRINGID_REMOTE_CAM),ACTIONID_CAM);
 
if (!settings.expert_mode)
tmp_menu_add("About",ACTIONID_ABOUT);
tmp_menu_add(l(STRINGID_ABOUT),ACTIONID_ABOUT);
 
tmp_menu_add("Quit",ACTIONID_QUIT);
tmp_menu_add(l(STRINGID_QUIT),ACTIONID_QUIT);
 
tmp_menu_use();
}
261,8 → 285,19
lcd_lines=new String[menu_items.length];
}
 
public void setup_menu(int[] items , byte[] actions)
{
menu_items=new String[items.length];
for(int i=0;i<items.length;i++)
menu_items[i]=l(items[i]);
 
menu_actions=actions;
lcd_lines=new String[menu_items.length];
}
 
public void paint_menu(Graphics g)
{
if (menu_items==null) return;
for ( int i=0;i<menu_items.length;i++)
{
if ((frame_pos%3)!=0)
299,7 → 334,84
else
act_menu_select=0;
break;
 
case FIRE:
switch(state)
{
 
case STATEID_SELECT_COMPORT:
if (act_menu_select<menu_items.length)
connect_mk("comm:"+menu_items[act_menu_select]+";baudrate=57600","com"+act_menu_select);
chg_state(STATEID_CONN_DETAILS);
break;
 
//#if fileapi=="on"
case STATEID_FILEOPEN:
file_access.fire();
break;
 
//#endif
 
case STATEID_SELECT_PARAMSET:
 
if (act_menu_select==5) // back
{
if (select_paramset4edit)
chg_state(STATEID_PARAM_MENU);
else
chg_state(STATEID_HANDLE_PARAMS); // from save as
}
else
{
if (select_paramset4edit)
// if ( mk.params.field[act_menu_select]!=null)
{
mk.params.act_paramset=act_menu_select;
chg_state(STATEID_HANDLE_PARAMS);
//success_msg="Params saved";
}
else
{
mk.write_params(act_menu_select);
nextstate=STATEID_HANDLE_PARAMS;
success_msg="saved in slot " + (act_menu_select+1) ;
chg_state(STATEID_SUCCESS_MSG); // TODO - ground too optimistic way ;-)
}
 
}
 
 
break;
 
//#if bluetooth=="on"
case STATEID_DEVICESELECT:
 
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_CONN_DETAILS);
}
else
{
if (bt_scanner.remote_device_count == act_menu_select)
chg_state(STATEID_SCANNING);
else
chg_state(STATEID_CONN_DETAILS);
}
break;
//#endif
 
 
default:
if (menu_actions!=null)
process_action(menu_actions[act_menu_select]);
}
}
 
}
392,10 → 504,61
}
 
 
public void load_strings()
{
System.out.println("loading strings");
localized_strings=new String[STRING_COUNT];
try {
InputStream in=this.getClass().getResourceAsStream("/l");
for (int i=0;i<STRING_COUNT;i++)
{
System.out.println("s"+i);
String tmp_s="";
String tmp_b="";
char ch=0;
 
int act_l=0;
while ( (ch=(char)in.read())!='\n')
{
if (ch==';')
{
act_l++;
tmp_s="";
}
else
{
if (act_l==0)
tmp_b+=ch;
if (act_l==act_lang)
tmp_s+=ch;
}
}
 
if (tmp_s.equals(""))
localized_strings[i]=tmp_b;
else
localized_strings[i]=tmp_s;
System.out.println("s"+localized_strings[i]);
}
}
catch (Exception e) { System.out.println("str_load err"+e);}
}
 
 
// construct
public DUBwiseCanvas(DUBwise _root)
{
load_strings();
 
 
 
 
act_menu_select_bak=new int[STATEID_COUNT];
for (int i=0;i<STATEID_COUNT;i++)
act_menu_select_bak[i]=0;
475,8 → 638,15
switch(state)
{
 
case STATEID_SELECT_FIRMWARE:
if ((menu_items.length==0)&&(fw_loader.got_list))
setup_menu(fw_loader.names,null);
break;
case STATEID_RESET_PARAMS:
 
if (mk.bootloader_finish_ok)
{
mk.params.reset();
856,7 → 1026,7
g.fillRect(0,0,canvas_width,symbols_img_tile_height);
 
g.setColor(skin_bg_color());
g.fillRect(0,symbols_img_tile_height,canvas_width,canvas_height-symbols_img.getHeight());
g.fillRect(0,symbols_img_tile_height,canvas_width,canvas_height-symbols_img_tile_height);
}
 
 
1283,7 → 1453,7
break;
//#endif
 
 
case STATEID_SELECT_FIRMWARE:
case STATEID_SELECT_COMPORT:
case STATEID_PARAM_MENU:
paint_menu(g);
1331,7 → 1501,7
case STATEID_CONN_DETAILS:
g.setFont(f1);
g.drawString("Connection::",0,y_off,Graphics.TOP | Graphics.LEFT);
g.drawString(l(STRINGID_CONN)+":",0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer;
g.setFont(f2);
 
1343,8 → 1513,11
 
g.drawString(" "+mk.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);
g.drawString(" Software Version:" + mk.version.version_str ,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer1;
 
g.drawString(" Protocol Version:" + mk.version.proto_str ,0,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer1;
g.drawString(" Slave-Addr:" + mk.slave_addr,0,y_off,Graphics.TOP | Graphics.LEFT);
 
paint_menu(g);
1403,15 → 1576,9
settings_editor.paint(g);
break;
// falltru wanted
// case STATEID_SELECT_SPEED_FORMAT:
// case STATEID_SELECT_GPS_FORMAT:
case STATEID_MAINMENU:
 
 
 
case STATEID_SELECT_PARAMSET:
case STATEID_HANDLE_PARAMS:
case STATEID_DEVICESELECT:
 
paint_menu(g);
1426,23 → 1593,24
g.setColor(0xe1dddd);
g.setFont(f2);
// LEGEND
if (settings.graph_legend) for (int d=0;d<GRAPH_COUNT;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] + mk.debug_data.analog[graph_sources[d]],23,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer1;
if (settings.graph_legend)
for (int d=0;d<GRAPH_COUNT;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] + mk.debug_data.analog[graph_sources[d]],23,y_off,Graphics.TOP | Graphics.LEFT);
y_off+=spacer1;
*/
g.setColor(graph_colors[d]);
g.fillRect(canvas_width-20,canvas_height-spacer*(d+1)+(spacer)/2-2 ,20,4);
g.setColor(skin_fg_color());
g.drawString(graph_names[d] /*+ mk.debug_data.analog[graph_sources[d]]*/,canvas_width-23,canvas_height-spacer*(d+1),Graphics.TOP | Graphics.RIGHT);
// y_off+=spacer1;
}
 
*/
g.setColor(graph_colors[d]);
g.fillRect(canvas_width-20,canvas_height-spacer*(d+1)+(spacer)/2-2 ,20,4);
g.setColor(skin_fg_color());
g.drawString(graph_names[d] /*+ mk.debug_data.analog[graph_sources[d]]*/,canvas_width-23,canvas_height-spacer*(d+1),Graphics.TOP | Graphics.RIGHT);
// y_off+=spacer1;
 
}
 
if (settings.graph_scale)
{
1651,6 → 1819,17
// case STATEID_COPY_PARAMS:
//break;
 
case STATEID_SELECT_FIRMWARE:
 
 
fw_loader=new FirmwareLoader();
setup_menu(new String[0],new byte[0]);
 
break;
 
 
case STATEID_SUCCESS_MSG:
case STATEID_ERROR_MSG:
lcd_lines=new String[1];
1791,10 → 1970,7
//#endif
 
case STATEID_HANDLE_PARAMS:
menu_items=handle_params_menu_items;
menu_actions=handle_params_menu_actions;
lcd_lines=new String[menu_items.length];
 
setup_menu(handle_params_menu_items,handle_params_menu_actions);
break;
 
case STATEID_SELECT_PARAMSET:
1802,7 → 1978,7
for (int i=0;i<5;i++)
menu_items[i]=""+(i+1)+": " + mk.params.getParamName(i) + ((i==mk.params.active_paramset)?"*":"");
 
menu_items[5]="back";
menu_items[5]=l(STRINGID_BACK);
lcd_lines=new String[6];
break;
 
2001,6 → 2177,9
 
break;
case ACTIONID_SELECT_FIRMWARE:
chg_state(STATEID_SELECT_FIRMWARE);
break;
case ACTIONID_PARAM_COPY_MOBILE:
read_paramset_intension_save=true;
chg_state(STATEID_READ_PARAMS);
2542,18 → 2721,7
 
break;
 
case STATEID_SELECT_COMPORT:
if ( getGameAction (keyCode)==FIRE )
{
 
if (act_menu_select<menu_items.length)
connect_mk("comm:"+menu_items[act_menu_select]+";baudrate=57600","com"+act_menu_select);
chg_state(STATEID_CONN_DETAILS);
}
else
menu_keypress(keyCode);
break;
 
/*
case STATEID_HANDLsE_PARAMS:
2569,98 → 2737,38
menu_keypress(keyCode);
break;
*/
//#if fileapi=="on"
case STATEID_FILEOPEN:
if ( getGameAction (keyCode)==FIRE )
{
file_access.fire();
}
else
menu_keypress(keyCode);
break;
 
//#endif
case STATEID_MAINMENU:
case STATEID_SELECT_PARAMSET:
case STATEID_SELECT_COMPORT:
 
case STATEID_SETTINGSMENU:
settings_editor.keypress(keyCode,getGameAction (keyCode)) ;
break;
 
// handle menue
// case STATEID_SELECT_SPEED_FORMAT:
// case STATEID_SELECT_GPS_FORMAT:
case STATEID_PARAM_MENU:
case STATEID_TRAFFIC:
case STATEID_CONN_DETAILS:
case STATEID_HANDLE_PARAMS:
 
case STATEID_MAINMENU:
//#if bluetooth=="on"
case STATEID_DEVICESELECT:
//#endif
 
if ( getGameAction (keyCode)==FIRE )
process_action(menu_actions[act_menu_select]);
else
menu_keypress(keyCode);
//#if fileapi=="on"
case STATEID_FILEOPEN:
//#endif
 
menu_keypress(keyCode);
break;
 
case STATEID_SELECT_PARAMSET:
if ( getGameAction (keyCode)==FIRE )
{
if (act_menu_select==5) // back
{
if (select_paramset4edit)
chg_state(STATEID_PARAM_MENU);
else
chg_state(STATEID_HANDLE_PARAMS); // from save as
}
else
{
if (select_paramset4edit)
// if ( mk.params.field[act_menu_select]!=null)
{
mk.params.act_paramset=act_menu_select;
chg_state(STATEID_HANDLE_PARAMS);
//success_msg="Params saved";
}
else
{
mk.write_params(act_menu_select);
nextstate=STATEID_HANDLE_PARAMS;
success_msg="saved in slot " + (act_menu_select+1) ;
chg_state(STATEID_SUCCESS_MSG); // TODO - ground too optimistic way ;-)
}
 
}
}
else menu_keypress(keyCode);
 
case STATEID_SETTINGSMENU:
settings_editor.keypress(keyCode,getGameAction (keyCode)) ;
break;
 
//#if bluetooth=="on"
case STATEID_DEVICESELECT:
if ( getGameAction (keyCode)==FIRE )
{
// handle menue
// case STATEID_SELECT_SPEED_FORMAT:
// case STATEID_SELECT_GPS_FORMAT:
 
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_CONN_DETAILS);
}
else
{
if (bt_scanner.remote_device_count == act_menu_select)
chg_state(STATEID_SCANNING);
else
chg_state(STATEID_CONN_DETAILS);
}
}
else menu_keypress(keyCode);
break;
//#endif
 
 
case STATEID_EDIT_PARAMS:
params_editor.keypress(keyCode,getGameAction (keyCode)) ;
break;
/DUBwise/trunk/j2me/src/DUBwiseHelper.java
1,5 → 1,18
/***************************************************************
*
* Helper functions for DUBwise
*
* Author: Marcus -LiGi- Bueschleb
* Mailto: LiGi @at@ LiGi DOTT de
*
***************************************************************/
 
import java.util.Vector;
import java.io.*;
import javax.microedition.io.*;
 
 
 
public final class DUBwiseHelper
{
public final static String ip_digit_zeroes(int digit)
26,6 → 39,48
}
 
 
 
 
public final static String get_http_string(String url)
{
try {
 
InputStream stream = null;
StringBuffer buff = new StringBuffer();
StreamConnection conn=null;
System.out.println("starting conn");
conn = (StreamConnection)Connector.open(url);
stream = conn.openInputStream();
int ch;
while((ch = stream.read()) != -1)
buff.append((char) ch);
if(stream != null)
stream.close();
if(conn != null)
conn.close();
return buff.toString();
}
catch ( Exception e)
{
return "err";
}
}
 
 
 
public final static int pow(int val,int pow)
{
int res=1;
37,6 → 92,9
}
 
 
 
 
 
public final static String[] split_str(String str,String sep)
{
 
/DUBwise/trunk/j2me/src/DUBwiseSettings.java
14,7 → 14,7
 
public class DUBwiseSettings
extends org.ligi.ufo.ParamsClass
implements org.ligi.ufo.DUBwiseDefinitions,DUBwiseUIDefinitions
implements org.ligi.ufo.DUBwiseDefinitions,DUBwiseUIDefinitions,org.ligi.ufo.DUBwiseLangDefs
{
// name/handle for the recordStore to memorize some stuff
private final static String RECORD_STORE_NAME="DUBSETT_V4";
23,8 → 23,6
//holds id of actual skin
public byte act_skin=SKINID_DARK;
 
 
 
public int key_back;
public int key_fullscreen;
public int key_clear;
94,11 → 92,20
public final static int SETTINGS_POS_VOICEVOLUME=12;
public final static int SETTINGS_POS_VOICEDELAY=13;
public final static int SETTINGS_POS_BITFIELD2=14;
public final static int SETTINGS_POS_LANG=15;
 
 
public void field2setting(int pos,int val)
{
 
if (pos==SETTINGS_POS_LANG)
{
canvas.act_lang=(byte)val;
canvas.load_strings();
}
 
 
if (pos==SETTINGS_POS_SKIN)
{
act_skin=(byte)val;
215,21 → 222,23
 
/* end of all settings hold here */
 
public String[] _tab_names={"User Interface","GPS","Keycontrol","Special Keys","Graph","Voice","Other" };
// public String[] _tab_names={"User Interface","GPS","Keycontrol","Special Keys","Graph","Voice","Other" };
 
public String[][] _field_names={ { "Skin","Fullscreen","Scroll Background"
 
public int[] _tab_stringids={STRINGID_USERINTERFACE,STRINGID_GPS,STRINGID_KEYCONTROL,STRINGID_SPECIALKEYS,STRINGID_GRAPH,STRINGID_VOICE,STRINGID_OTHER};
public String[][] _field_names={ { "Language","Skin","Fullscreen","Scroll Background"
//#if devicecontrol=="on"
,"Permanent Light"
//#endif
} , {"GPS Format","Speed Format"},{"Nick","Roll","Gier","Gas Increase","Height Increase"},{"Back to Main-Menu","Fullscreen","Clear"},{"Legend","Scale-Grid"},{"Volts Output","Delay in Seconds","Volume"},{"Sound","Vibra","Remote Cam Stick","Always Reload Params","Expert-Mode"} };
 
public String[][] _choice_strings={ { "Dark","Light" } , {"km/h","mp/h","cm/s"},{"decimal","min sec"}} ;
public int[][] _field_positions={ {SETTINGS_POS_SKIN,8,9
public String[][] _choice_strings={ { "Dark","Light" } , {"km/h","mp/h","cm/s"},{"decimal","min sec"},{"English","Deutsch"} } ;
public int[][] _field_positions={ {SETTINGS_POS_LANG,SETTINGS_POS_SKIN,8,9
//#if devicecontrol=="on"
,13
//#endif
} , {2,3} , {4,5,6,7,8} , {9,10,11},{SETTINGS_POS_BITFIELD1*8 +6,SETTINGS_POS_BITFIELD1*8 +7} ,{SETTINGS_POS_BITFIELD2*8+0,SETTINGS_POS_VOICEDELAY,SETTINGS_POS_VOICEVOLUME }, {10,11,12,SETTINGS_POS_BITFIELD2*8+1,12}};
public int[][] _field_types={ {PARAMTYPE_CHOICE+0,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH
public int[][] _field_types={ {PARAMTYPE_CHOICE+3,PARAMTYPE_CHOICE+0,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH
//#if devicecontrol=="on"
,PARAMTYPE_BITSWITCH
//#endif
259,8 → 268,9
public void load()
{
tab_stringids=_tab_stringids;
 
tab_names=_tab_names;
// tab_names=_tab_names;
field_names=_field_names;
field_positions=_field_positions;
field_types=_field_types;
/DUBwise/trunk/j2me/src/DUBwiseUIDefinitions.java
1,6 → 1,8
public interface DUBwiseUIDefinitions
 
{
 
 
// colors
public final static int BG_COLOR_SKIN_DARK = 0x000000;
public final static int BG_COLOR_SKIN_LIGHT = 0xFFFFFF;
44,10 → 46,12
public final static byte STATEID_RESET_PARAMS =31;
public final static byte STATEID_PARAM_MENU =32;
public final static byte STATEID_PARAM_MASSWRITE =33;
public final static byte STATEID_COUNT =34;
public final static byte STATEID_SELECT_FIRMWARE =34;
 
public final static byte STATEID_COUNT =35;
 
 
 
public final static byte ACTIONID_SETTINGS = 0;
public final static byte ACTIONID_DEVICESELECT = 1;
public final static byte ACTIONID_DEBUG = 2;
87,26 → 91,27
public final static byte ACTIONID_BACK_TO_CONNDETAILS = 36;
public final static byte ACTIONID_SELECT_PARAMS = 37;
public final static byte ACTIONID_RENAME_PARAMS = 38;
public final static byte ACTIONID_SELECT_FIRMWARE = 39;
public final static byte ACTIONID_QUIT = 100;
 
 
 
 
public final static String[] param_menu_items={"Edit Settings","Copy all to Mobile","Load from Mobile","Reinitialize all","back"};
public final static byte[] param_menu_actions={ACTIONID_SELECT_PARAMS,ACTIONID_PARAM_COPY_MOBILE,ACTIONID_PARAM_LOAD_MOBILE,ACTIONID_RESET_PARAMS,ACTIONID_MAINMENU};
// public final static String[] param_menu_items={"Edit Settings","Copy all to Mobile","Load from Mobile","Reinitialize all","back"};
 
 
public final static String[] handle_params_menu_items={"Edit Content","Rename","Save AS","Save","Read Again","back"};
public final static byte[] handle_params_menu_actions={ACTIONID_EDIT_PARAMS,ACTIONID_RENAME_PARAMS,ACTIONID_WRITE_PARAM_AS,ACTIONID_WRITE_PARAMS,ACTIONID_UNDO_PARAMS,ACTIONID_SELECT_PARAMS };
 
 
 
 
 
 
/*
public final static String[] conn_details_menu_items={ "packet Traffic","view Data","connect via TCP/IP","connect via BT","connect via COM","set Proxy","back" };
public final static byte[] conn_details_menu_actions={ ACTIONID_TRAFFIC,ACTIONID_DATABUFF,ACTIONID_CONNECT_TCP,ACTIONID_SCAN_BT, ACTIONID_SELECT_COM,ACTIONID_PROXY_INPUT,ACTIONID_MAINMENU};
*/
 
public final static String[] onlyback_menu_items={"back" };
public final static byte[] back_to_conndetails_actions={ACTIONID_BACK_TO_CONNDETAILS};
 
 
final static byte SKINID_DARK= 0;
/DUBwise/trunk/j2me/src/FirmwareLoader.java
0,0 → 1,67
/**************************************
*
* WatchDog for MK-Connection
*
* Author: Marcus -LiGi- Bueschleb
*
* see README for further Infos
*
*
 
**************************************/
 
public class FirmwareLoader
implements Runnable
{
 
public final static String base_url= "http://mikrocontroller.cco-ev.de/mikrosvn/Projects/DUBwise/trunk/misc/firmwares/";
boolean got_list=false;
String list_str="";
 
String[] names;
String[] filenames;
public FirmwareLoader()
{
new Thread( this ).start(); // fire up main Thread
}
 
public void run()
{
if (!got_list)
{
list_str=DUBwiseHelper.get_http_string(base_url+"list");
 
String[] split=DUBwiseHelper.split_str(list_str,"\n");
names=new String[ split.length];
filenames=new String[ split.length];
 
for ( int i=0;i<split.length;i++)
{
String[] sp2=DUBwiseHelper.split_str(split[i],":");
if (sp2.length==2)
{
names[i]=sp2[0];
filenames[i]=sp2[1];
}
else
names[i]="fail";
 
}
System.out.println(list_str);
got_list=true;
}
else
{
 
}
}
 
}
/DUBwise/trunk/j2me/src/MKParamsEditor.java
9,7 → 9,7
import javax.microedition.lcdui.*;
 
public class MKParamsEditor
implements org.ligi.ufo.MKParamDefinitions
implements org.ligi.ufo.MKParamDefinitions, org.ligi.ufo.DUBwiseLangDefs
{
 
public byte nextstate;
45,13 → 45,13
{
if (select_mode)
{
if (canvas.menu_items[0]!=edit_source.tab_names[0]) // usefull?
if (canvas.menu_items[0]!=canvas.l(edit_source.tab_stringids[0])) // usefull?
{
act_y=1;
menu_items=new String[edit_source.tab_names.length+1];
for(int p=0;p<edit_source.tab_names.length;p++)
menu_items[p]=edit_source.tab_names[p];
menu_items[edit_source.tab_names.length]="back";
menu_items=new String[edit_source.tab_stringids.length+1];
for(int p=0;p<edit_source.tab_stringids.length;p++)
menu_items[p]=canvas.l(edit_source.tab_stringids[p]);
menu_items[edit_source.tab_stringids.length]=canvas.l(STRINGID_BACK);
canvas.setup_menu(menu_items,null);
}
canvas.paint_menu(g);
77,7 → 77,7
// lcd_lines[0]=(act_tab==0?" ":"< ") + edit_source.tab_names[act_tab] + (act_tab==(edit_source.tab_names.length-1)?" ":" >");
// lcd_lines[0]=(act_tab==0?" ":"< ") + edit_source.tab_stringids[act_tab] + (act_tab==(edit_source.tab_stringids.length-1)?" ":" >");
for (int i=0;i<edit_source.field_names[act_tab].length;i++)
{
131,7 → 131,7
}
lcd_lines[act_lcd_lines-1]="back";
lcd_lines[act_lcd_lines-1]=canvas.l(STRINGID_BACK);
canvas.lcd_lines=new String[act_lcd_lines];
for ( int i=0;i<act_lcd_lines;i++)
166,8 → 166,6
 
public void pointer_press(int x,int row)
{
 
System.out.println("!!!!!!!!!!!!!!row:"+row);
if (select_mode)
{
canvas.act_menu_select=row;
/DUBwise/trunk/misc/pc-komp-ref/definitions
1,5 → 1,5
--Kanalbelegung[8]
to_cat("Channels", [
to_cat("CHANNELS", [
 
{:pos=>act_pos , :name=>"Nick" , :typ=>"STICK" },
{:pos=>act_pos+1 , :name=>"Roll" , :typ=>"STICK" },
15,7 → 15,7
 
--GlobalConfigOld;
 
to_cat("Configuration", [
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" },
29,7 → 29,7
 
--GlobalConfig;
 
to_cat("Configuration", [
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" },
44,62 → 44,62
act_pos+=1
 
--Hoehe_MinGas;
to_cat("Altitude", [{ :pos=>act_pos , :name=>"Min. Accelerate" , :typ=>"MKBYTE" }] )
to_cat("ALTITUDE", [{ :pos=>act_pos , :name=>"Min. Accelerate" , :typ=>"MKBYTE" }] )
act_pos+=1
--Luftdruck_D;
to_cat("Altitude", [{ :pos=>act_pos , :name=>"Barometric D" , :typ=>"MKBYTE" }] )
to_cat("ALTITUDE", [{ :pos=>act_pos , :name=>"Barometric D" , :typ=>"MKBYTE" }] )
act_pos+=1
--MaxHoehe;
to_cat("Altitude", [{ :pos=>act_pos , :name=>"Setpoint" , :typ=>"MKBYTE" }] )
to_cat("ALTITUDE", [{ :pos=>act_pos , :name=>"Setpoint" , :typ=>"MKBYTE" }] )
act_pos+=1
--Hoehe_P;
to_cat("Altitude", [{ :pos=>act_pos , :name=>"Altitude P" , :typ=>"MKBYTE" }] )
to_cat("ALTITUDE", [{ :pos=>act_pos , :name=>"Altitude P" , :typ=>"MKBYTE" }] )
act_pos+=1
--Hoehe_Verstaerkung;
to_cat("Altitude", [{ :pos=>act_pos , :name=>"Gain" , :typ=>"MKBYTE" }] )
to_cat("ALTITUDE", [{ :pos=>act_pos , :name=>"Gain" , :typ=>"MKBYTE" }] )
act_pos+=1
--Hoehe_ACC_Wirkung;
to_cat("Altitude", [{ :pos=>act_pos , :name=>"Z-ACC" , :typ=>"MKBYTE" }] )
to_cat("ALTITUDE", [{ :pos=>act_pos , :name=>"Z-ACC" , :typ=>"MKBYTE" }] )
act_pos+=1
--Stick_P;
to_cat("Stick", [{ :pos=>act_pos , :name=>"Nick/Roll P" , :typ=>"MKBYTE" }] )
to_cat("STICK", [{ :pos=>act_pos , :name=>"Nick/Roll P" , :typ=>"MKBYTE" }] )
act_pos+=1
--Stick_D;
to_cat("Stick", [{ :pos=>act_pos , :name=>"Nick/Roll D" , :typ=>"MKBYTE" }] )
to_cat("STICK", [{ :pos=>act_pos , :name=>"Nick/Roll D" , :typ=>"MKBYTE" }] )
act_pos+=1
--Gier_P;
to_cat("Stick", [{ :pos=>act_pos , :name=>"Gier P" , :typ=>"MKBYTE" }] )
to_cat("STICK", [{ :pos=>act_pos , :name=>"Gier P" , :typ=>"MKBYTE" }] )
act_pos+=1
--Gas_Min;
to_cat("Other", [{ :pos=>act_pos , :name=>"Min Gas" , :typ=>"MKBYTE" }] )
to_cat("OTHER", [{ :pos=>act_pos , :name=>"Min Gas" , :typ=>"MKBYTE" }] )
act_pos+=1
--Gas_Max;
to_cat("Other", [{ :pos=>act_pos , :name=>"Max Gas" , :typ=>"MKBYTE" }] )
to_cat("OTHER", [{ :pos=>act_pos , :name=>"Max Gas" , :typ=>"MKBYTE" }] )
act_pos+=1
--GyroAccFaktor;
to_cat("Gyro", [{ :pos=>act_pos , :name=>"ACC/Gyro Factor" , :typ=>"MKBYTE" }] )
to_cat("GYRO", [{ :pos=>act_pos , :name=>"ACC/Gyro Factor" , :typ=>"MKBYTE" }] )
act_pos+=1
--KompassWirkung;
to_cat("Other", [{ :pos=>act_pos , :name=>"Compass Effect" , :typ=>"MKBYTE" }] )
to_cat("OTHER", [{ :pos=>act_pos , :name=>"Compass Effect" , :typ=>"MKBYTE" }] )
act_pos+=1
--Gyro_P;
to_cat("Gyro", [{ :pos=>act_pos , :name=>"P-Rate" , :typ=>"MKBYTE" }] )
to_cat("GYRO", [{ :pos=>act_pos , :name=>"P-Rate" , :typ=>"MKBYTE" }] )
act_pos+=1
--Gyro_I;
to_cat("Gyro", [{ :pos=>act_pos , :name=>"I-Rate" , :typ=>"MKBYTE" }] )
to_cat("GYRO", [{ :pos=>act_pos , :name=>"I-Rate" , :typ=>"MKBYTE" }] )
act_pos+=1
--Gyro_D;
to_cat("Gyro", [{ :pos=>act_pos , :name=>"D-Rate" , :typ=>"MKBYTE" }] )
to_cat("GYRO", [{ :pos=>act_pos , :name=>"D-Rate" , :typ=>"MKBYTE" }] )
act_pos+=1
 
--UnterspannungsWarnung;
to_cat("Other", [{ :pos=>act_pos , :name=>"Voltage Warning" , :typ=>"MKBYTE" }] )
to_cat("OTHER", [{ :pos=>act_pos , :name=>"Voltage Warning" , :typ=>"MKBYTE" }] )
act_pos+=1
--NotGas;
to_cat("Other", [{ :pos=>act_pos , :name=>"Distress Gas" , :typ=>"MKBYTE" }] )
to_cat("OTHER", [{ :pos=>act_pos , :name=>"Distress Gas" , :typ=>"MKBYTE" }] )
act_pos+=1
--NotGasZeit;
to_cat("Other", [{ :pos=>act_pos , :name=>"Distress Gas Time" , :typ=>"MKBYTE" }] )
to_cat("OTHER", [{ :pos=>act_pos , :name=>"Distress Gas Time" , :typ=>"MKBYTE" }] )
act_pos+=1
--UfoAusrichtung;
act_pos+=1
106,87 → 106,87
--I_Faktor;
act_pos+=1
--UserParam1;
to_cat("User", [{ :pos=>act_pos , :name=>"Param 1" , :typ=>"MKBYTE" }] )
to_cat("USERPARAMS", [{ :pos=>act_pos , :name=>"Param 1" , :typ=>"MKBYTE" }] )
act_pos+=1
--UserParam2;
to_cat("User", [{ :pos=>act_pos , :name=>"Param 2" , :typ=>"MKBYTE" }] )
to_cat("USERPARAMS", [{ :pos=>act_pos , :name=>"Param 2" , :typ=>"MKBYTE" }] )
act_pos+=1
--UserParam3;
to_cat("User", [{ :pos=>act_pos , :name=>"Param 3" , :typ=>"MKBYTE" }] )
to_cat("USERPARAMS", [{ :pos=>act_pos , :name=>"Param 3" , :typ=>"MKBYTE" }] )
act_pos+=1
--UserParam4;
to_cat("User", [{ :pos=>act_pos , :name=>"Param 4" , :typ=>"MKBYTE" }] )
to_cat("USERPARAMS", [{ :pos=>act_pos , :name=>"Param 4" , :typ=>"MKBYTE" }] )
act_pos+=1
--ServoNickControl;
to_cat("Camera", [{ :pos=>act_pos , :name=>"Servo control" , :typ=>"MKBYTE" }] )
to_cat("CAMERA", [{ :pos=>act_pos , :name=>"Servo control" , :typ=>"MKBYTE" }] )
act_pos+=1
--ServoNickComp;
to_cat("Camera", [{ :pos=>act_pos , :name=>"Nick compensation" , :typ=>"MKBYTE" }] )
to_cat("CAMERA", [{ :pos=>act_pos , :name=>"Nick compensation" , :typ=>"MKBYTE" }] )
act_pos+=1
--ServoNickMin;
to_cat("Camera", [{ :pos=>act_pos , :name=>"Servo min" , :typ=>"MKBYTE" }] )
to_cat("CAMERA", [{ :pos=>act_pos , :name=>"Servo min" , :typ=>"MKBYTE" }] )
act_pos+=1
--ServoNickMax;
to_cat("Camera", [{ :pos=>act_pos , :name=>"Servo max" , :typ=>"MKBYTE" }] )
to_cat("CAMERA", [{ :pos=>act_pos , :name=>"Servo max" , :typ=>"MKBYTE" }] )
act_pos+=1
--ServoNickRefresh;
to_cat("Camera", [{ :pos=>act_pos , :name=>"Refresh rate" , :typ=>"MKBYTE" }] )
to_cat("CAMERA", [{ :pos=>act_pos , :name=>"Refresh rate" , :typ=>"MKBYTE" }] )
act_pos+=1
--LoopGasLimit;
to_cat("Looping", [{ :pos=>act_pos , :name=>"Gas Limit" , :typ=>"MKBYTE" }] )
to_cat("LOOP", [{ :pos=>act_pos , :name=>"Gas Limit" , :typ=>"MKBYTE" }] )
act_pos+=1
--LoopThreshold;
to_cat("Looping", [{ :pos=>act_pos , :name=>"Threshold" , :typ=>"MKBYTE" }] )
to_cat("LOOP", [{ :pos=>act_pos , :name=>"Threshold" , :typ=>"MKBYTE" }] )
act_pos+=1
--LoopHysterese;
to_cat("Looping", [{ :pos=>act_pos , :name=>"Hysterese" , :typ=>"MKBYTE" }] )
to_cat("LOOP", [{ :pos=>act_pos , :name=>"Hysterese" , :typ=>"MKBYTE" }] )
act_pos+=1
--AchsKopplung1;
to_cat("Coupling", [{ :pos=>act_pos , :name=>"Yaw pos. feedback" , :typ=>"MKBYTE" }] )
to_cat("COUPLING", [{ :pos=>act_pos , :name=>"Yaw pos. feedback" , :typ=>"MKBYTE" }] )
act_pos+=1
 
--AchsKopplung2;
to_cat("Coupling", [{ :pos=>act_pos , :name=>"Coupling2" , :typ=>"MKBYTE" }] )
to_cat("COUPLING", [{ :pos=>act_pos , :name=>"Coupling2" , :typ=>"MKBYTE" }] )
act_pos+=1
 
--CouplingYawCorrection;
to_cat("Coupling", [{ :pos=>act_pos , :name=>"Coupling YawCorrect" , :typ=>"MKBYTE" }] )
to_cat("COUPLING", [{ :pos=>act_pos , :name=>"Coupling YawCorrect" , :typ=>"MKBYTE" }] )
act_pos+=1
 
 
--AchsGegenKopplung1;
to_cat("Coupling", [{ :pos=>act_pos , :name=>"Yaw neg. feedback" , :typ=>"MKBYTE" }] )
to_cat("COUPLING", [{ :pos=>act_pos , :name=>"Yaw neg. feedback" , :typ=>"MKBYTE" }] )
act_pos+=1
--WinkelUmschlagNick;
to_cat("Looping", [{ :pos=>act_pos , :name=>"TurnOver Nick" , :typ=>"MKBYTE" }] )
to_cat("LOOP", [{ :pos=>act_pos , :name=>"TurnOver Nick" , :typ=>"MKBYTE" }] )
act_pos+=1
--WinkelUmschlagRoll;
to_cat("Looping", [{ :pos=>act_pos , :name=>"TurnOver Roll" , :typ=>"MKBYTE" }] )
to_cat("LOOP", [{ :pos=>act_pos , :name=>"TurnOver Roll" , :typ=>"MKBYTE" }] )
act_pos+=1
--GyroAccAbgleich;
to_cat("Gyro", [{ :pos=>act_pos , :name=>"ACC/Gyro Comp" , :typ=>"MKBYTE" }] )
to_cat("GYRO", [{ :pos=>act_pos , :name=>"ACC/Gyro Comp" , :typ=>"MKBYTE" }] )
act_pos+=1
--Driftkomp;
to_cat("Gyro", [{ :pos=>act_pos , :name=>"Drift-Compensation" , :typ=>"MKBYTE" }] )
to_cat("GYRO", [{ :pos=>act_pos , :name=>"Drift-Compensation" , :typ=>"MKBYTE" }] )
act_pos+=1
--DynamicStability;
to_cat("Gyro", [{ :pos=>act_pos , :name=>"Dynamic stability" , :typ=>"MKBYTE" }] )
to_cat("GYRO", [{ :pos=>act_pos , :name=>"Dynamic stability" , :typ=>"MKBYTE" }] )
act_pos+=1
--UserParam5;
to_cat("User", [{ :pos=>act_pos , :name=>"Param 5" , :typ=>"MKBYTE" }] )
to_cat("USERPARAMS", [{ :pos=>act_pos , :name=>"Param 5" , :typ=>"MKBYTE" }] )
act_pos+=1
--UserParam6;
to_cat("User", [{ :pos=>act_pos , :name=>"Param 6" , :typ=>"MKBYTE" }] )
to_cat("USERPARAMS", [{ :pos=>act_pos , :name=>"Param 6" , :typ=>"MKBYTE" }] )
act_pos+=1
--UserParam7;
to_cat("User", [{ :pos=>act_pos , :name=>"Param 7" , :typ=>"MKBYTE" }] )
to_cat("USERPARAMS", [{ :pos=>act_pos , :name=>"Param 7" , :typ=>"MKBYTE" }] )
act_pos+=1
--UserParam8;
to_cat("User", [{ :pos=>act_pos , :name=>"Param 8" , :typ=>"MKBYTE" }] )
to_cat("USERPARAMS", [{ :pos=>act_pos , :name=>"Param 8" , :typ=>"MKBYTE" }] )
act_pos+=1
--LoopConfig;
 
to_cat("Looping", [
to_cat("LOOP", [
{: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" },
194,79 → 194,79
])
act_pos+=1
--ServoNickCompInvert;
to_cat("Camera", [{ :pos=>act_pos*8 , :name=>"Invert Direction" , :typ=>"BITSWITCH" }] )
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=>"BITMASK" }] )
to_cat("OUTPUT", [{ :pos=>act_pos , :name=>"J16 Bitmask" , :typ=>"BITMASK" }] )
act_pos+=1
--J16Timing;
to_cat("Output", [{ :pos=>act_pos , :name=>"J16 Timing" , :typ=>"MKBYTE" }] )
to_cat("OUTPUT", [{ :pos=>act_pos , :name=>"J16 Timing" , :typ=>"MKBYTE" }] )
act_pos+=1
--J17Bitmask;
to_cat("Output", [{ :pos=>act_pos , :name=>"J17 Bitmask" , :typ=>"BITMASK" }] )
to_cat("OUTPUT", [{ :pos=>act_pos , :name=>"J17 Bitmask" , :typ=>"BITMASK" }] )
act_pos+=1
--J17Timing;
to_cat("Output", [{ :pos=>act_pos , :name=>"J17 Timing" , :typ=>"MKBYTE" }] )
to_cat("OUTPUT", [{ :pos=>act_pos , :name=>"J17 Timing" , :typ=>"MKBYTE" }] )
act_pos+=1
--NaviGpsModeControl;
to_cat("Navi", [{ :pos=>act_pos , :name=>"Mode Control" , :typ=>"MKBYTE" }] )
to_cat("NAVI", [{ :pos=>act_pos , :name=>"Mode Control" , :typ=>"MKBYTE" }] )
act_pos+=1
--NaviGpsGain;
to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-Gain" , :typ=>"MKBYTE" }] )
to_cat("NAVI", [{ :pos=>act_pos , :name=>"GPS-Gain" , :typ=>"MKBYTE" }] )
act_pos+=1
--NaviGpsP;
to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-P" , :typ=>"MKBYTE" }] )
to_cat("NAVI", [{ :pos=>act_pos , :name=>"GPS-P" , :typ=>"MKBYTE" }] )
act_pos+=1
 
--NaviGpsPLimit;
to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-P Limit" , :typ=>"MKBYTE" }] )
to_cat("NAVI", [{ :pos=>act_pos , :name=>"GPS-P Limit" , :typ=>"MKBYTE" }] )
act_pos+=1
 
 
--NaviGpsI;
to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-I" , :typ=>"MKBYTE" }] )
to_cat("NAVI", [{ :pos=>act_pos , :name=>"GPS-I" , :typ=>"MKBYTE" }] )
act_pos+=1
 
--NaviGpsILimit;
to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-I Limit" , :typ=>"MKBYTE" }] )
to_cat("NAVI", [{ :pos=>act_pos , :name=>"GPS-I Limit" , :typ=>"MKBYTE" }] )
act_pos+=1
--NaviGpsD;
to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-D" , :typ=>"MKBYTE" }] )
to_cat("NAVI", [{ :pos=>act_pos , :name=>"GPS-D" , :typ=>"MKBYTE" }] )
act_pos+=1
--NaviGpsDLimit;
to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-D Limit" , :typ=>"MKBYTE" }] )
to_cat("NAVI", [{ :pos=>act_pos , :name=>"GPS-D Limit" , :typ=>"MKBYTE" }] )
act_pos+=1
--NaviGpsACC;
to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-ACC" , :typ=>"MKBYTE" }] )
to_cat("NAVI", [{ :pos=>act_pos , :name=>"GPS-ACC" , :typ=>"MKBYTE" }] )
act_pos+=1
--NaviGpsMinSat;
to_cat("Navi", [{ :pos=>act_pos , :name=>"Satelite Minimum" , :typ=>"MKBYTE" }] )
to_cat("NAVI", [{ :pos=>act_pos , :name=>"Satelite Minimum" , :typ=>"MKBYTE" }] )
act_pos+=1
--NaviStickThreshold;
to_cat("Navi", [{ :pos=>act_pos , :name=>"Stick Threhsold" , :typ=>"MKBYTE" }] )
to_cat("NAVI", [{ :pos=>act_pos , :name=>"Stick Threhsold" , :typ=>"MKBYTE" }] )
act_pos+=1
--ExternalControl;
to_cat("Stick", [{ :pos=>act_pos , :name=>"External Control" , :typ=>"MKBYTE" }] )
to_cat("STICK", [{ :pos=>act_pos , :name=>"External Control" , :typ=>"MKBYTE" }] )
act_pos+=1
 
 
--NaviWindCorrection;
to_cat("Navi", [{ :pos=>act_pos , :name=>"Wind Correction" , :typ=>"MKBYTE" }] )
to_cat("NAVI", [{ :pos=>act_pos , :name=>"Wind Correction" , :typ=>"MKBYTE" }] )
act_pos+=1
 
 
--NaviSpeedCompensation;
to_cat("Navi", [{ :pos=>act_pos , :name=>"Speed Compensation" , :typ=>"MKBYTE" }] )
to_cat("NAVI", [{ :pos=>act_pos , :name=>"Speed Compensation" , :typ=>"MKBYTE" }] )
act_pos+=1
 
--NaviOperatingRadius;
to_cat("Navi", [{ :pos=>act_pos , :name=>"Operating Radius" , :typ=>"MKBYTE" }] )
to_cat("NAVI", [{ :pos=>act_pos , :name=>"Operating Radius" , :typ=>"MKBYTE" }] )
act_pos+=1
 
 
--BitConfig;
 
to_cat("Looping", [
to_cat("LOOP", [
{: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" },
273,7 → 273,7
{:pos=>act_pos*8+3 , :name=>"RIGHT" , :typ=>"BITSWITCH" }
])
 
to_cat("Altitude", [
to_cat("ALTITUDE", [
{:pos=>act_pos*8+4 , :name=>"3-Way switch" , :typ=>"BITSWITCH" }
])
 
281,7 → 281,7
act_pos+=1
 
--NaviAngleLimitation;
to_cat("Navi", [{ :pos=>act_pos , :name=>"Angle Limit" , :typ=>"MKBYTE" }] )
to_cat("NAVI", [{ :pos=>act_pos , :name=>"Angle Limit" , :typ=>"MKBYTE" }] )
act_pos+=1
 
--Reserved[4]
294,6 → 294,6
end_pos=act_pos
 
--NaviPH_LoginTime;
to_cat("Navi", [{ :pos=>act_pos , :name=>"PH LoginTime" , :typ=>"MKBYTE" }] )
to_cat("NAVI", [{ :pos=>act_pos , :name=>"PH LoginTime" , :typ=>"MKBYTE" }] )
act_pos+=1
 
/DUBwise/trunk/misc/pc-komp-ref/generate.rb
76,7 → 76,8
#p @category
@categorys.uniq!
@categorys.sort!
all_tabs << ["{\"" + @categorys.join("\",\"") + "\"}"]
mod_cats=@categorys.map {|e| "STRINGID_"+e }
all_tabs << ["{" + mod_cats.join(",") + "}"]
puts "[\"" + @categorys.join("\",\"") + "\"]"
 
 
110,7 → 111,7
}
 
puts "// -- start generated code --"
puts "public final static String[][] all_tab_names={"+all_tabs.join(",")+"};"
puts "public final static int[][] all_tab_stringids={"+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(",")+"};"
/DUBwise/trunk/shared/src/DUBwiseLangDefs.java
0,0 → 1,59
package org.ligi.ufo;
public interface DUBwiseLangDefs
{
public final static int STRINGID_LANG=0;
public final static int STRINGID_CONN=1;
public final static int STRINGID_SETTINGS=2;
public final static int STRINGID_SELECT_FIRMWARE=3;
public final static int STRINGID_DEBUG=4;
public final static int STRINGID_MOTORTEST=5;
public final static int STRINGID_ABOUT=6;
public final static int STRINGID_EDIT_SETTINGS=7;
public final static int STRINGID_COPY_TO_MOBILE=8;
public final static int STRINGID_LOAD_FROM_MOBILE=9;
public final static int STRINGID_REINITIALIZE_ALL=10;
public final static int STRINGID_BACK=11;
public final static int STRINGID_QUIT=12;
public final static int STRINGID_REMOTE_CAM=13;
public final static int STRINGID_FLASH_FIRMWARE=14;
public final static int STRINGID_SWITCH_NAVI=15;
public final static int STRINGID_SWITCH_MK3MAG=16;
public final static int STRINGID_SWITCH_FC=17;
public final static int STRINGID_VIEW_GPS=18;
public final static int STRINGID_LCD=19;
public final static int STRINGID_GRAPH=20;
public final static int STRINGID_DEBUG_VALUES=21;
public final static int STRINGID_KEYCONTROL=22;
public final static int STRINGID_RCDATA=23;
public final static int STRINGID_FLIGHTSETTINGS=24;
public final static int STRINGID_HORIZON=25;
public final static int STRINGID_VIEW_ERRORS=26;
public final static int STRINGID_USERINTERFACE=27;
public final static int STRINGID_GPS=28;
public final static int STRINGID_SPECIALKEYS=29;
public final static int STRINGID_VOICE=30;
public final static int STRINGID_OTHER=31;
public final static int STRINGID_ALTITUDE=32;
public final static int STRINGID_CAMERA=33;
public final static int STRINGID_CHANNELS=34;
public final static int STRINGID_CONFIGURATION=35;
public final static int STRINGID_COUPLING=36;
public final static int STRINGID_GYRO=37;
public final static int STRINGID_LOOP=38;
public final static int STRINGID_NAVI=39;
public final static int STRINGID_OUTPUT=40;
public final static int STRINGID_STICK=41;
public final static int STRINGID_USERPARAMS=42;
public final static int STRINGID_EDIT_CONTENT=43;
public final static int STRINGID_RENAME=44;
public final static int STRINGID_SAVE_AS=45;
public final static int STRINGID_SAVE=46;
public final static int STRINGID_REREAD=47;
public final static int STRINGID_PACKET_TRAFFIC=48;
public final static int STRINGID_VIEW_DATA=49;
public final static int STRINGID_CONNECT_BT=50;
public final static int STRINGID_CONNECT_TCP=51;
public final static int STRINGID_CONNECT_COM=52;
public final static int STRINGID_SET_PROXY=53;
public final static int STRING_COUNT=54;
}
/DUBwise/trunk/shared/src/MKParamsParser.java
13,11 → 13,12
 
 
public class MKParamsParser extends ParamsClass
implements MKParamDefinitions
implements MKParamDefinitions,org.ligi.ufo.DUBwiseLangDefs
 
{
 
// -- start generated code --
public final static String[][] all_tab_names={{"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 int[][] all_tab_stringids={{STRINGID_ALTITUDE,STRINGID_CAMERA,STRINGID_CHANNELS,STRINGID_CONFIGURATION,STRINGID_COUPLING,STRINGID_GYRO,STRINGID_LOOP,STRINGID_NAVI,STRINGID_OTHER,STRINGID_OUTPUT,STRINGID_STICK,STRINGID_USERPARAMS},{STRINGID_ALTITUDE,STRINGID_CAMERA,STRINGID_CHANNELS,STRINGID_CONFIGURATION,STRINGID_COUPLING,STRINGID_GYRO,STRINGID_LOOP,STRINGID_NAVI,STRINGID_OTHER,STRINGID_OUTPUT,STRINGID_STICK,STRINGID_USERPARAMS}};
public final static String[][][] all_field_names={{{"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","Angle Limit"},{"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","Coupling2","Coupling YawCorrect"},{"ACC/Gyro Factor","P-Rate","I-Rate","D-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-P Limit","GPS-I Limit","GPS-D Limit","GPS-ACC","Satelite Minimum","Stick Threhsold","Wind Correction","Speed Compensation","Operating Radius","Angle Limit","PH LoginTime"},{"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,556},{33,34,35,36,37,560},{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,552,553,554,555},{56,57,58,59,60,61,62,63,64,65,66,67},{18,19,21,24,25,26},{52,53,54,55},{15,16,17,68},{29,30,31,32,48,49,50,51}},{{9,10,11,12,13,14,604},{34,35,36,37,38,608},{0,1,2,3,4,5,6,7},{64,65,66,67,68,69,70,71},{42,43,44},{20,22,23,24,47,48,49},{39,40,41,45,46,600,601,602,603},{58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73},{18,19,21,25,26,27},{54,55,56,57},{15,16,17,74},{30,31,32,33,50,51,52,53}}};
public final static int[][][] all_field_types={{{PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_BITSWITCH},{PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,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_MKBYTE,PARAMTYPE_MKBYTE},{PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE},{PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE},{PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE},{PARAMTYPE_BITMASK,PARAMTYPE_MKBYTE,PARAMTYPE_BITMASK,PARAMTYPE_MKBYTE},{PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE},{PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE}},{{PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_BITSWITCH},{PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,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_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE},{PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE},{PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH,PARAMTYPE_BITSWITCH},{PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE},{PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE},{PARAMTYPE_BITMASK,PARAMTYPE_MKBYTE,PARAMTYPE_BITMASK,PARAMTYPE_MKBYTE},{PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE},{PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE,PARAMTYPE_MKBYTE}}};
26,6 → 27,8
// -- end generated code --
 
 
 
 
public final static int MAX_PARAMSETS=5;
// public final static int MAX_PARAMLENGTH=100;
 
160,7 → 163,7
int definition_pos=params_version-73;
 
 
if ((definition_pos<0)||( (definition_pos>=all_tab_names.length)))
if ((definition_pos<0)||( (definition_pos>=all_tab_stringids.length)))
{
found_incompatible=true;
return;
172,7 → 175,7
 
if (active_paramset==-1)active_paramset=last_parsed_paramset;
 
tab_names=all_tab_names[definition_pos];
tab_stringids=all_tab_stringids[definition_pos];
field_names=all_field_names[definition_pos];
field_positions=all_field_positions[definition_pos];
field_types=all_field_types[definition_pos];
195,7 → 198,7
for (int i=0;i<10;i++)
stick_names[i]="not associated";
 
for (int tab=0;tab<tab_names.length;tab++)
for (int tab=0;tab<tab_stringids.length;tab++)
for (int item=0;item<field_types[tab].length;item++)
if (field_types[tab][item]==PARAMTYPE_STICK)
stick_names[ field[last_parsed_paramset][field_positions[tab][item]] ] = field_names[tab][item];
/DUBwise/trunk/shared/src/MKVersion.java
14,8 → 14,12
{
public int major=-1;
public int minor=-1;
public int compatible=-1;
public String str="--";
public int proto_major=-1;
public int proto_minor=-1;
public int patch=-1;
 
public String version_str="";
public String proto_str="";
 
// version known?
30,8 → 34,13
{
major=data[0];
minor=data[1];
compatible=data[2];
str="v"+major+"."+minor+"/"+compatible;
proto_major=data[2];
proto_minor=data[3];
patch=data[4];
 
version_str="v"+major+"."+minor + (char)('a'+patch);
 
proto_str="v"+proto_major+"."+proto_minor ;
known=true;
}
/DUBwise/trunk/shared/src/ParamsClass.java
16,7 → 16,9
implements MKParamDefinitions
{
 
public String[] tab_names;
public int[] tab_stringids;
 
// public String[] tab_names;
public String[][] field_names;
public int[][] field_positions;
public int[][] field_types;