Rev 231 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 231 | Rev 250 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | /************************************************************************************************* |
1 | /************************************************************************************************* |
2 | * |
2 | * |
3 | * Project to Communicate via J2ME and Bluetooth with a MikroKopter (www.mikrokopter.de ) |
3 | * Project to Communicate via J2ME (Mobile Phone) and Bluetooth |
- | 4 | * with a MikroKopter ( www.mikrokopter.de ) |
|
4 | * |
5 | * |
5 | * |
6 | * |
6 | * Author: Marcus -LiGi- Bueschleb |
7 | * Author: Marcus -LiGi- Bueschleb |
7 | * Project-Start: 9/2007 |
8 | * Project-Start: 9/2007 |
8 | * Version: 0.17 |
9 | * Version: 0.29 |
9 | * Mailto: ligi@smart4mobile.de |
10 | * Mailto: ligi@smart4mobile.de |
10 | * |
11 | * |
11 | * Licence: http://creativecommons.org/licenses/by-nc-sa/2.0/de/ |
12 | * Licence: http://creativecommons.org/licenses/by-nc-sa/2.0/de/ |
12 | * (Creative Commons / Non Commercial / Share Alike) |
13 | * (Creative Commons / Non Commercial / Share Alike) |
- | 14 | * Credits: Holger&Ingo for the MikroKopter Project |
|
- | 15 | * CaScAdE for Testing and Graphics |
|
13 | * Big Up: Holger&Ingo |
16 | * Orion8 for inspiration |
14 | * |
17 | * |
15 | * ChangeLog: |
18 | * ChangeLog: |
16 | * 0.01 - initial Version ( initialize connection / main Thread with reading data from MK) |
19 | * 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 ) |
20 | * 0.02 - reconnect after connection loss ( e.g. switching on/off ) |
18 | * 0.03 - added send_command ( with CRC ) |
21 | * 0.03 - added send_command ( with CRC ) |
Line 42... | Line 45... | ||
42 | * Online Link to this Document: |
45 | * Online Link to this Document: |
43 | * http://mikrocontroller.cco-ev.de/mikroviewvc/FlightCtrl/branches/ligi_j2me/README?view=markup |
46 | * http://mikrocontroller.cco-ev.de/mikroviewvc/FlightCtrl/branches/ligi_j2me/README?view=markup |
44 | * |
47 | * |
45 | *************************************************************************************************/ |
48 | *************************************************************************************************/ |
Line -... | Line 49... | ||
- | 49 | ||
- | 50 | *** Features: |
|
- | 51 | - draw Graphs with Nick integral / Roll integral / Nick acc / Roll acc |
|
- | 52 | - test each motor |
|
- | 53 | - Draw LCD of mk ( + interact with it Up/Down ) |
|
- | 54 | - get MK_version |
|
- | 55 | - measure ConnectionTime / Motor=15Time / Motor>15Time ( UpTime ) |
|
46 | 56 | ||
47 | Install: |
57 | *** Install: |
48 | - If u know how to handle JAR/JADs take the ones from the bin directory. |
58 | - If u know how to handle JAR/JADs take the ones from the bin directory. |
Line 49... | Line -... | ||
49 | - If u dont visit http://www.getjar.com/products/12587/MKMiniMidlet ( SVN might be more recent) |
- | |
50 | - | ||
51 | Compile: |
- | |
52 | - install some tools to fullfill Compile-Dependencys ( see below ) |
- | |
53 | - Set the path to WTK it in build.xml |
- | |
54 | - execute $> ant build |
- | |
55 | - the JAR and JAD will appear in build/bin when success |
- | |
56 | * see http://forum.mikrokopter.de/topic-post15829.html#post15829 for Hints on Compiling on Windows |
- | |
57 | - | ||
58 | Dependencys: |
- | |
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 |
59 | - If u dont visit http://www.getjar.com/products/12587/MKMiniMidlet ( SVN might be more recent) |
67 | 60 | ||
68 | Usage: |
61 | *** Usage: |
69 | General: |
62 | General: |
Line 70... | Line 63... | ||
70 | KEY # toggle Fullscreen |
63 | KEY # toggle Fullscreen |
Line 81... | Line 74... | ||
81 | MotorTest Screen |
74 | MotorTest Screen |
82 | UP/DOWN increas/decrease speed of actual motor |
75 | UP/DOWN increas/decrease speed of actual motor |
83 | LEFT prev motor ( if first go to main screen ) |
76 | LEFT prev motor ( if first go to main screen ) |
84 | RIGHT next motor |
77 | RIGHT next motor |
Line 85... | Line 78... | ||
85 | 78 | ||
86 | Tested on: |
79 | *** Tested on: |
87 | SE - K800i |
80 | SE - K800i |
88 | Nokia - N95 |
81 | Nokia - N95 |
89 | SE - W800i |
82 | SE - W800i |
90 | Nokia - 6234 |
83 | Nokia - 6234 |
91 | Nokia - N80 ( Font is too Big - but API worx) |
84 | Nokia - N80 ( Font is too Big - but API worx) |
Line -... | Line 85... | ||
- | 85 | Nokia - 6230i ( without copter ) |
|
- | 86 | ||
- | 87 | *** Compile: |
|
- | 88 | - install some tools to fullfill Compile-Dependencys ( see below ) |
|
- | 89 | - Set the path to WTK it in build.xml |
|
- | 90 | - execute $> ant build |
|
92 | Nokia - 6230i ( without copter ) |
91 | - the JAR and JAD will appear in build/bin when success |
- | 92 | * see http://forum.mikrokopter.de/topic-post15829.html#post15829 for Hints on Compiling on Windows |
|
- | 93 | ||
- | 94 | *** Dependencys: |
|
- | 95 | Run: |
|
- | 96 | - The Phone needs the Bluetooth API and MIDP 2.0 . |
|
- | 97 | - The MK needs a Bluetooth-Modul - http://mikrokopter.de/ucwiki/F2M03GXA?action=show |
|
- | 98 | Compile: |
|
- | 99 | - WTK ( 2.2 proven to work - please test with newer ) |
|
- | 100 | - Obfuscator (e.g. Proguard from http://sourceforge.net/project/showfiles.php?group_id=54750 |
|
- | 101 | ) when willing to obfuscate |
|
93 | 102 | - ANT |
|
94 | 103 | ||
95 | ToDo: |
104 | *** ToDo: |
96 | - Proxying to TCP/IP ( GPRS / UMTS / WLAN ( e.g. N80) .. ) |
105 | - Proxying to TCP/IP ( GPRS / UMTS / WLAN ( e.g. N80) .. ) |
97 | - measure DebugSets per Second |
106 | - measure DebugSets per Second |
98 | - log data/csv ( send via TCP/IP ; save ) |
107 | - log data/csv ( send via TCP/IP ; save ) |