Subversion Repositories FlightCtrl

Rev

Rev 210 | 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
208 ligi 38
 *
39
 * Online Link to this Document:
40
 *  http://mikrocontroller.cco-ev.de/mikroviewvc/FlightCtrl/branches/ligi_j2me/README?view=markup
41
 *
42
 *************************************************************************************************/
165 ligi 43
 
193 ligi 44
Install:
208 ligi 45
 - If u know how to handle JAR/JADs take the ones from the bin directory.
221 ligi 46
 - If u dont visit http://www.getjar.com/products/12587/MKMiniMidlet ( SVN might be more recent)
165 ligi 47
 
193 ligi 48
Compile:
208 ligi 49
 - install some tools to fullfill Compile-Dependencys ( see below )
50
 - Set the path to WTK it in build.xml
193 ligi 51
 - execute $> ant build
52
 - the JAR and JAD will appear in build/bin when success
208 ligi 53
 * see http://forum.mikrokopter.de/topic-post15829.html#post15829 for Hints on Compiling on Windows
193 ligi 54
 
55
Dependencys:
208 ligi 56
 Run:
57
  - The Phone needs the Bluetooth API and MIDP 2.0 .
58
  - The MK needs a Bluetooth-Modul - http://mikrokopter.de/ucwiki/F2M03GXA?action=show
59
 Compile:
60
  - WTK ( 2.2 proven to work - please test with newer )
61
  - Obfuscator (e.g. Proguard from http://sourceforge.net/project/showfiles.php?group_id=54750
62
) when willing to obfuscate
63
  - ANT
64
 
65
Usage:
66
 KEY 1..X to select device
67
 KEY UP to go Page up in MK-LCD
68
 KEY DOWN to go Page up in MK-LCD
221 ligi 69
 KEY # toggle Fullscreen
208 ligi 70
 KEY * to Quit
193 ligi 71
 
72
Tested on:
73
 SE - K800i
221 ligi 74
 SE - W800i
208 ligi 75
 Nokia 6234
76
 Nokia N80 ( Font is too Big - but API worx)
77
 6230i ( without copter )
78
 N95 ( without copter )
79
 
165 ligi 80
ToDo:
193 ligi 81
 - Proxying to TCP/IP ( GPRS / UMTS / WLAN ( e.g. N80) .. )
165 ligi 82
 - measure DebugSets per Second
193 ligi 83
 - log data/csv ( send via TCP/IP ; save )
165 ligi 84
 - Sound Alarms on Batt low or other triggers
85
 - get/set MK-Parameters
86
 - Visualisation of DebugData
181 ligi 87
 - making lib to be useable with desktop JAVA / will be sceduled after bluecove for linux is ready ( anounced for next Version)
210 ligi 88
 - triangulate MK by BT rssi
221 ligi 89
 - trigger cammera shot via FC
193 ligi 90
 - tbc
165 ligi 91