Subversion Repositories FlightCtrl

Rev

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