Subversion Repositories FlightCtrl

Rev

Rev 193 | 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
33
 *
34
 * Online Link to this Document:
35
 *  http://mikrocontroller.cco-ev.de/mikroviewvc/FlightCtrl/branches/ligi_j2me/README?view=markup
36
 *
37
 *************************************************************************************************/
165 ligi 38
 
193 ligi 39
Install:
208 ligi 40
 - If u know how to handle JAR/JADs take the ones from the bin directory.
41
 - If u dont visit http://www.getjar.com/products/12587/MKMiniMidlet
165 ligi 42
 
193 ligi 43
Compile:
208 ligi 44
 - install some tools to fullfill Compile-Dependencys ( see below )
45
 - Set the path to WTK it in build.xml
193 ligi 46
 - execute $> ant build
47
 - the JAR and JAD will appear in build/bin when success
208 ligi 48
 * see http://forum.mikrokopter.de/topic-post15829.html#post15829 for Hints on Compiling on Windows
193 ligi 49
 
50
Dependencys:
208 ligi 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
63
 KEY DOWN to go Page up in MK-LCD
64
 KEY # to Rescan
65
 KEY * to Quit
193 ligi 66
 
67
Tested on:
68
 SE - K800i
208 ligi 69
 Nokia 6234
70
 Nokia N80 ( Font is too Big - but API worx)
71
 6230i ( without copter )
72
 N95 ( without copter )
73
 
165 ligi 74
ToDo:
193 ligi 75
 - Proxying to TCP/IP ( GPRS / UMTS / WLAN ( e.g. N80) .. )
165 ligi 76
 - measure DebugSets per Second
193 ligi 77
 - log data/csv ( send via TCP/IP ; save )
165 ligi 78
 - Sound Alarms on Batt low or other triggers
79
 - get/set MK-Parameters
80
 - Visualisation of DebugData
181 ligi 81
 - making lib to be useable with desktop JAVA / will be sceduled after bluecove for linux is ready ( anounced for next Version)
193 ligi 82
 - save BT-Mac ( so that no scanning is needed on startup )
83
 - tbc
165 ligi 84