1,47 → 1,76 |
/********************************************************************************************************************************* |
* * |
* Project to Communicate via J2ME and Bluetooth with the FlightCtrl of the MikroKopter Project (www.mikrokopter.de ) * |
* * |
* Author: Marcus -LiGi- Bueschleb * |
* Project-Start: 9/2007 * |
* Version: 0.11 * |
* Mailto: ligi@smart4mobile.de * |
* Licence: Creative Commons / Non Commercial / Share Alike ( http://creativecommons.org/licenses/by-nc-sa/2.0/de/) * |
* Big Up: Holger&Ingo * |
* ChangeLog: * |
* 0.01 - initial Version ( initialize connection / main Thread with reading data from MK) * |
* 0.02 - reconnect after connection loss ( e.g. switching on/off ) * |
* 0.03 - added send_command ( with CRC ) * |
* 0.04 - added decode64 to decode 'pseudo' BASE64 * |
* 0.05 - added get_version * |
* 0.06 - added parsing of DebugData * |
* 0.07 - Code-(Doc&&Cleanup) && initial svn commit * |
* 0.08 - Initial README / ToDo List * |
* 0.09 - implemented BTScanner for detecting BT-Devices ( No hard mac anymore for first public bin) * |
* 0.10 - initial MKMinimalMidlet / Canvas * |
* 0.11 - 1st public binary ( JAR/JAD) * |
* 0.12 - measure Uptime ( like that word for MK being in Air ;-) * |
* 0.14 - measure idling mixture * |
* 0.15 - Fixed Nokia Problem 2 instead of 2.0 .. * |
* * |
*********************************************************************************************************************************/ |
/************************************************************************************************* |
* |
* Project to Communicate via J2ME and Bluetooth with a MikroKopter (www.mikrokopter.de ) |
* |
* |
* Author: Marcus -LiGi- Bueschleb |
* Project-Start: 9/2007 |
* Version: 0.17 |
* Mailto: ligi@smart4mobile.de |
* |
* Licence: http://creativecommons.org/licenses/by-nc-sa/2.0/de/ |
* (Creative Commons / Non Commercial / Share Alike) |
* Big Up: Holger&Ingo |
* |
* ChangeLog: |
* 0.01 - initial Version ( initialize connection / main Thread with reading data from MK) |
* 0.02 - reconnect after connection loss ( e.g. switching on/off ) |
* 0.03 - added send_command ( with CRC ) |
* 0.04 - added decode64 to decode 'pseudo' BASE64 |
* 0.05 - added get_version |
* 0.06 - added parsing of DebugData |
* 0.07 - Code-(Doc&&Cleanup) && initial svn commit |
* 0.08 - Initial README / ToDo List |
* 0.09 - implemented BTScanner for detecting BT-Devices (No hard mac anymore for first public bin) |
* 0.10 - initial MKMinimalMidlet / Canvas |
* 0.11 - 1st public binary ( JAR/JAD) |
* 0.12 - measure Uptime ( like that word for MK being in Air ;-) |
* 0.14 - measure idling mixture |
* 0.15 - Fixed Nokia Problem 2 instead of 2.0 .. |
* 0.16 - LCD implementation & polishing code on serveral places |
* 0.17 - Quit via * | Rescan via # |
* 0.18 - Remember URL ( bt-mac ) on quit |
* |
* Online Link to this Document: |
* http://mikrocontroller.cco-ev.de/mikroviewvc/FlightCtrl/branches/ligi_j2me/README?view=markup |
* |
*************************************************************************************************/ |
|
Install: |
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 |
- 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 |
|
Compile: |
- download and install ANT |
- you need to download SUNs Wireless Toolkit(WTK) - set the path to it in build.xml |
- install some tools to fullfill Compile-Dependencys ( see below ) |
- Set the path to WTK it in build.xml |
- execute $> ant build |
- the JAR and JAD will appear in build/bin when success |
* see http://forum.mikrokopter.de/topic-post15829.html#post15829 for Hints on Compiling on Windows |
|
Dependencys: |
The Phone needs the Bluetooth API and MIDP 2.0 . |
The MK needs a Bluetooth-Modul - http://mikrokopter.de/ucwiki/F2M03GXA?action=show |
Run: |
- The Phone needs the Bluetooth API and MIDP 2.0 . |
- The MK needs a Bluetooth-Modul - http://mikrokopter.de/ucwiki/F2M03GXA?action=show |
Compile: |
- WTK ( 2.2 proven to work - please test with newer ) |
- Obfuscator (e.g. Proguard from http://sourceforge.net/project/showfiles.php?group_id=54750 |
) when willing to obfuscate |
- ANT |
|
Usage: |
KEY 1..X to select device |
KEY UP to go Page up in MK-LCD |
KEY DOWN to go Page up in MK-LCD |
KEY # to Rescan |
KEY * to Quit |
|
Tested on: |
SE - K800i |
|
Nokia 6234 |
Nokia N80 ( Font is too Big - but API worx) |
6230i ( without copter ) |
N95 ( without copter ) |
|
ToDo: |
- Proxying to TCP/IP ( GPRS / UMTS / WLAN ( e.g. N80) .. ) |
- measure DebugSets per Second |