Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 192 → Rev 193

/branches/ligi_j2me/README
6,7 → 6,7
* Project-Start: 9/2007 *
* Version: 0.11 *
* Mailto: ligi@smart4mobile.de *
* Licence: Creative Commons / Non Commercial *
* 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) *
15,23 → 15,41
* 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.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.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 .. *
* *
*********************************************************************************************************************************/
 
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
 
Compile:
- download and install ANT
- you need to download SUNs Wireless Toolkit(WTK) - set the path to it in build.xml
- execute $> ant build
- the JAR and JAD will appear in build/bin when success
 
Dependencys:
The Phone needs the Bluetooth API and MIDP 2.0 .
The MK needs a Bluetooth-Modul - http://mikrokopter.de/ucwiki/F2M03GXA?action=show
 
Tested on:
SE - K800i
 
ToDo:
- Proxying to TCP/IP ( GPRS / UMTS / .. )
- Proxying to TCP/IP ( GPRS / UMTS / WLAN ( e.g. N80) .. )
- measure DebugSets per Second
- measure Uptime ( like that word for MK being in Air ;-)
- log data/csv ( send via IP )
- log data/csv ( send via TCP/IP ; save )
- Sound Alarms on Batt low or other triggers
- get/set MK-Parameters
- Visualisation of DebugData
- making lib to be useable with desktop JAVA / will be sceduled after bluecove for linux is ready ( anounced for next Version)
- tbc
- save BT-Mac ( so that no scanning is needed on startup )
- tbc
/branches/ligi_j2me/bin/midp2_minimal/MKMiniMidlet.jad
1,7 → 1,7
MIDlet-Jar-URL: MKMiniMidlet.jar
MIDlet-Jar-Size: 6596
MIDlet-Jar-Size: 6665
MIDlet-Name: MKMiniMidlet
MIDlet-Vendor: LiGi
MIDlet-Version: 0.11
MIDlet-Version: 0.15
MIDlet-1: MKMiniMidlet, , MKMiniMidlet
MIDletX-No-Command: true
/branches/ligi_j2me/bin/midp2_minimal/MKMiniMidlet.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/branches/ligi_j2me/build.xml
0,0 → 1,64
<project name="MKMiniMidlet" basedir=".">
<property name="wtk.home" value="/home/ligi/tools/WTK2.2/"/>
 
<property name="project_name" value="MKMiniMidlet"/> <!-- jar filename -->
 
<property name="res_dir" location="${basedir}/res"/>
<property name="build_dir" location="${basedir}/build/"/>
<property name="lib_dir" location="${basedir}/lib/"/>
<property name="src_dir" location="${basedir}/src/"/>
<taskdef resource="antenna.properties" classpath="${lib_dir}/antenna.jar"/>
 
<property name="wtk.midp.version" value="2.0"/>
 
<property name="wtk.midpapi" value="${lib_dir}/classes.zip"/>
<target name="build">
<wtkbuild destdir="${build_dir}/classes" srcdir="${src_dir}" target="1.1" preverify="true"/>
<wtkjad
jadfile="${build_dir}/bin/${project_name}.jad"
jarfile="${build_dir}/bin/${project_name}.jar"
update="false"
manifest="${build_dir}/bin/MANIFEST.MF"
name="${project_name}"
vendor="LiGi"
version="0.15">
<attribute name="MIDletX-No-Command" value="true"/>
 
<midlet name="${project_name}" class="${project_name}" />
<!-- !!TODO!! Remove Icon JAD entry if no icon is there -->
</wtkjad>
<wtkpackage
jarfile="${build_dir}/bin/${project_name}.jar"
jadfile="${build_dir}/bin/${project_name}.jad"
basedir="${build_dir}/classes"
manifest="${build_dir}/bin/MANIFEST.MF"
obfuscate="true"
preverify="true">
<fileset dir="${res_dir}/">
<include name="*"/>
</fileset>
</wtkpackage>
 
<!-- !!TODO!! just zip if flag set -->
<zip destfile="${build_dir}/deploy.zip" basedir="${build_dir}/bin/" includes="**/*"/>
</target>
 
<target name="clean">
<delete dir="${build_dir}"/>
<delete dir="${res_dir}"/>
 
<tstamp/>
<mkdir dir="${build_dir}"/>
<mkdir dir="${build_dir}/classes"/>
<mkdir dir="${build_dir}/bin"/>
<mkdir dir="${res_dir}"/>
</target>
 
</project>
/branches/ligi_j2me/lib/antenna.jar
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/branches/ligi_j2me/lib/classes.zip
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:executable
+*
\ No newline at end of property
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property