Rev 221 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
208 | ligi | 1 | /************************************************************************************************* |
2 | * |
||
3 | * Project to Communicate via J2ME and Bluetooth with a MikroKopter (www.mikrokopter.de ) |
||
4 | * |
||
5 | * |
||
6 | * Author: Marcus -LiGi- Bueschleb |
||
7 | * Project-Start: 9/2007 |
||
8 | * Version: 0.17 |
||
9 | * Mailto: ligi@smart4mobile.de |
||
10 | * |
||
11 | * Licence: http://creativecommons.org/licenses/by-nc-sa/2.0/de/ |
||
12 | * (Creative Commons / Non Commercial / Share Alike) |
||
13 | * Big Up: Holger&Ingo |
||
14 | * |
||
15 | * ChangeLog: |
||
16 | * 0.01 - initial Version ( initialize connection / main Thread with reading data from MK) |
||
17 | * 0.02 - reconnect after connection loss ( e.g. switching on/off ) |
||
18 | * 0.03 - added send_command ( with CRC ) |
||
19 | * 0.04 - added decode64 to decode 'pseudo' BASE64 |
||
20 | * 0.05 - added get_version |
||
21 | * 0.06 - added parsing of DebugData |
||
22 | * 0.07 - Code-(Doc&&Cleanup) && initial svn commit |
||
23 | * 0.08 - Initial README / ToDo List |
||
24 | * 0.09 - implemented BTScanner for detecting BT-Devices (No hard mac anymore for first public bin) |
||
25 | * 0.10 - initial MKMinimalMidlet / Canvas |
||
26 | * 0.11 - 1st public binary ( JAR/JAD) |
||
27 | * 0.12 - measure Uptime ( like that word for MK being in Air ;-) |
||
28 | * 0.14 - measure idling mixture |
||
29 | * 0.15 - Fixed Nokia Problem 2 instead of 2.0 .. |
||
30 | * 0.16 - LCD implementation & polishing code on serveral places |
||
31 | * 0.17 - Quit via * | Rescan via # |
||
32 | * 0.18 - Remember URL ( bt-mac ) on quit |
||
210 | ligi | 33 | * 0.19 - better handling of MK Version |
34 | * 0.23 - care for Version while parsing DebugData - MK0.64 compatible now (0.20-0.23 - n1 bugfixing With CaSCade) |
||
221 | ligi | 35 | * 0.24 - adding some GFX |
36 | * 0.25 - adding Graph ( Nick int;Roll int; nick acc ;roll acc) |
||
37 | * 0.26 - more Visuals |
||
231 | ligi | 38 | * 0.27 - implemented motor_test |
39 | * 0.28 - Icon |
||
40 | * 0.29 - ressources for 176x220 / Ress differencing |
||
208 | ligi | 41 | * |
42 | * Online Link to this Document: |
||
43 | * http://mikrocontroller.cco-ev.de/mikroviewvc/FlightCtrl/branches/ligi_j2me/README?view=markup |
||
44 | * |
||
45 | *************************************************************************************************/ |
||
165 | ligi | 46 | |
193 | ligi | 47 | Install: |
208 | ligi | 48 | - If u know how to handle JAR/JADs take the ones from the bin directory. |
221 | ligi | 49 | - If u dont visit http://www.getjar.com/products/12587/MKMiniMidlet ( SVN might be more recent) |
165 | ligi | 50 | |
193 | ligi | 51 | Compile: |
208 | ligi | 52 | - install some tools to fullfill Compile-Dependencys ( see below ) |
53 | - Set the path to WTK it in build.xml |
||
193 | ligi | 54 | - execute $> ant build |
55 | - the JAR and JAD will appear in build/bin when success |
||
208 | ligi | 56 | * see http://forum.mikrokopter.de/topic-post15829.html#post15829 for Hints on Compiling on Windows |
193 | ligi | 57 | |
58 | Dependencys: |
||
208 | ligi | 59 | Run: |
60 | - The Phone needs the Bluetooth API and MIDP 2.0 . |
||
61 | - The MK needs a Bluetooth-Modul - http://mikrokopter.de/ucwiki/F2M03GXA?action=show |
||
62 | Compile: |
||
63 | - WTK ( 2.2 proven to work - please test with newer ) |
||
64 | - Obfuscator (e.g. Proguard from http://sourceforge.net/project/showfiles.php?group_id=54750 |
||
65 | ) when willing to obfuscate |
||
66 | - ANT |
||
67 | |||
68 | Usage: |
||
231 | ligi | 69 | General: |
70 | KEY # toggle Fullscreen |
||
71 | KEY * to Quit |
||
193 | ligi | 72 | |
231 | ligi | 73 | Device selection Screen: |
74 | KEY 1..X to select device |
||
75 | |||
76 | Main Screen: |
||
77 | KEY UP to go Page up in MK-LCD |
||
78 | KEY DOWN to go Page up in MK-LCD |
||
79 | KEY RIGHT - go to MotorTest |
||
80 | |||
81 | MotorTest Screen |
||
82 | UP/DOWN increas/decrease speed of actual motor |
||
83 | LEFT prev motor ( if first go to main screen ) |
||
84 | RIGHT next motor |
||
85 | |||
193 | ligi | 86 | Tested on: |
87 | SE - K800i |
||
231 | ligi | 88 | Nokia - N95 |
221 | ligi | 89 | SE - W800i |
231 | ligi | 90 | Nokia - 6234 |
91 | Nokia - N80 ( Font is too Big - but API worx) |
||
92 | Nokia - 6230i ( without copter ) |
||
93 | |||
208 | ligi | 94 | |
165 | ligi | 95 | ToDo: |
193 | ligi | 96 | - Proxying to TCP/IP ( GPRS / UMTS / WLAN ( e.g. N80) .. ) |
165 | ligi | 97 | - measure DebugSets per Second |
193 | ligi | 98 | - log data/csv ( send via TCP/IP ; save ) |
165 | ligi | 99 | - Sound Alarms on Batt low or other triggers |
100 | - get/set MK-Parameters |
||
101 | - Visualisation of DebugData |
||
181 | ligi | 102 | - making lib to be useable with desktop JAVA / will be sceduled after bluecove for linux is ready ( anounced for next Version) |
210 | ligi | 103 | - triangulate MK by BT rssi |
221 | ligi | 104 | - trigger cammera shot via FC |
193 | ligi | 105 | - tbc |
165 | ligi | 106 |