Rev 193 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 193 | Rev 208 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | /********************************************************************************************************************************* |
1 | /************************************************************************************************* |
2 | * * |
- | |
- | 2 | * |
|
3 | * Project to Communicate via J2ME and Bluetooth with the FlightCtrl of the MikroKopter Project (www.mikrokopter.de ) * |
3 | * Project to Communicate via J2ME and Bluetooth with a MikroKopter (www.mikrokopter.de ) |
4 | * * |
- | |
- | 4 | * |
|
- | 5 | * |
|
5 | * Author: Marcus -LiGi- Bueschleb * |
6 | * Author: Marcus -LiGi- Bueschleb |
6 | * Project-Start: 9/2007 * |
7 | * Project-Start: 9/2007 |
7 | * Version: 0.11 * |
8 | * Version: 0.17 |
8 | * Mailto: ligi@smart4mobile.de * |
9 | * Mailto: ligi@smart4mobile.de |
- | 10 | * |
|
9 | * Licence: Creative Commons / Non Commercial / Share Alike ( http://creativecommons.org/licenses/by-nc-sa/2.0/de/) * |
11 | * Licence: http://creativecommons.org/licenses/by-nc-sa/2.0/de/ |
10 | * Big Up: Holger&Ingo * |
12 | * (Creative Commons / Non Commercial / Share Alike) |
11 | * ChangeLog: * |
13 | * Big Up: Holger&Ingo |
- | 14 | * |
|
- | 15 | * ChangeLog: |
|
12 | * 0.01 - initial Version ( initialize connection / main Thread with reading data from MK) * |
16 | * 0.01 - initial Version ( initialize connection / main Thread with reading data from MK) |
13 | * 0.02 - reconnect after connection loss ( e.g. switching on/off ) * |
17 | * 0.02 - reconnect after connection loss ( e.g. switching on/off ) |
14 | * 0.03 - added send_command ( with CRC ) * |
18 | * 0.03 - added send_command ( with CRC ) |
15 | * 0.04 - added decode64 to decode 'pseudo' BASE64 * |
19 | * 0.04 - added decode64 to decode 'pseudo' BASE64 |
16 | * 0.05 - added get_version * |
20 | * 0.05 - added get_version |
17 | * 0.06 - added parsing of DebugData * |
21 | * 0.06 - added parsing of DebugData |
18 | * 0.07 - Code-(Doc&&Cleanup) && initial svn commit * |
22 | * 0.07 - Code-(Doc&&Cleanup) && initial svn commit |
19 | * 0.08 - Initial README / ToDo List * |
23 | * 0.08 - Initial README / ToDo List |
20 | * 0.09 - implemented BTScanner for detecting BT-Devices ( No hard mac anymore for first public bin) * |
24 | * 0.09 - implemented BTScanner for detecting BT-Devices (No hard mac anymore for first public bin) |
21 | * 0.10 - initial MKMinimalMidlet / Canvas * |
25 | * 0.10 - initial MKMinimalMidlet / Canvas |
22 | * 0.11 - 1st public binary ( JAR/JAD) * |
26 | * 0.11 - 1st public binary ( JAR/JAD) |
23 | * 0.12 - measure Uptime ( like that word for MK being in Air ;-) * |
27 | * 0.12 - measure Uptime ( like that word for MK being in Air ;-) |
24 | * 0.14 - measure idling mixture * |
28 | * 0.14 - measure idling mixture |
25 | * 0.15 - Fixed Nokia Problem 2 instead of 2.0 .. * |
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 |
|
- | 33 | * |
|
- | 34 | * Online Link to this Document: |
|
26 | * * |
35 | * http://mikrocontroller.cco-ev.de/mikroviewvc/FlightCtrl/branches/ligi_j2me/README?view=markup |
- | 36 | * |
|
27 | *********************************************************************************************************************************/ |
37 | *************************************************************************************************/ |
Line 28... | Line 38... | ||
28 | 38 | ||
29 | Install: |
39 | Install: |
- | 40 | - If u know how to handle JAR/JADs take the ones from the bin directory. |
|
Line 30... | Line 41... | ||
30 | If u know how to handle JAR/JADs take the ones from the bin directory. If u dont visit http://www.getjar.com/products/12587/MKMiniMidlet |
41 | - If u dont visit http://www.getjar.com/products/12587/MKMiniMidlet |
31 | 42 | ||
32 | Compile: |
43 | Compile: |
33 | - download and install ANT |
44 | - install some tools to fullfill Compile-Dependencys ( see below ) |
34 | - you need to download SUNs Wireless Toolkit(WTK) - set the path to it in build.xml |
45 | - Set the path to WTK it in build.xml |
- | 46 | - execute $> ant build |
|
Line 35... | Line 47... | ||
35 | - execute $> ant build |
47 | - the JAR and JAD will appear in build/bin when success |
- | 48 | * see http://forum.mikrokopter.de/topic-post15829.html#post15829 for Hints on Compiling on Windows |
|
36 | - the JAR and JAD will appear in build/bin when success |
49 | |
37 | 50 | Dependencys: |
|
- | 51 | Run: |
|
- | 52 | - The Phone needs the Bluetooth API and MIDP 2.0 . |
|
- | 53 | - The MK needs a Bluetooth-Modul - http://mikrokopter.de/ucwiki/F2M03GXA?action=show |
|
- | 54 | Compile: |
|
- | 55 | - WTK ( 2.2 proven to work - please test with newer ) |
|
- | 56 | - Obfuscator (e.g. Proguard from http://sourceforge.net/project/showfiles.php?group_id=54750 |
|
- | 57 | ) when willing to obfuscate |
|
- | 58 | - ANT |
|
- | 59 | ||
- | 60 | Usage: |
|
- | 61 | KEY 1..X to select device |
|
- | 62 | KEY UP to go Page up in MK-LCD |
|
Line 38... | Line 63... | ||
38 | Dependencys: |
63 | KEY DOWN to go Page up in MK-LCD |
39 | The Phone needs the Bluetooth API and MIDP 2.0 . |
64 | KEY # to Rescan |
- | 65 | KEY * to Quit |
|
- | 66 | ||
- | 67 | Tested on: |
|
- | 68 | SE - K800i |
|
40 | The MK needs a Bluetooth-Modul - http://mikrokopter.de/ucwiki/F2M03GXA?action=show |
69 | Nokia 6234 |
41 | 70 | Nokia N80 ( Font is too Big - but API worx) |
|
42 | Tested on: |
71 | 6230i ( without copter ) |
43 | SE - K800i |
72 | N95 ( without copter ) |
44 | 73 | ||
45 | ToDo: |
74 | ToDo: |