iTest Project

khaclub
I'm using Tiny6410 Android 2.3.1 . Where can i find the source code of
iTest program ? I'm newbie :(

Muth
Hello,

I'm also interested, I try to make a logging service reading sensor data
from the serial port. The iTest application run very well, it setup
correctly the port and it print everything from COM0-3. I know Java
language but I'm just starting with Android. 

Is the sources of iTest are available ?

Thanks a lot anyway for this device (mini6410)
Pierre

Muth
Hello again.

I went a bit further.
In the provided sources, there is an android example code to turn on or off
the 4 leds of the mini6410 board. (Mini6410A-20111022/Android/LEDDemo.rar)

From there, in the "HardwareControler.java" class, we can see 
>   System.loadLibrary("friendlyarm-hardware");
where the native library 'friendlyarm-hardware.so' is provided, and
apparently which can also setup the serial port.

As far as I understood, we can setup the serial ports like this :
>   int fileDesc = HardwareControler.openSerialPort("/dev/s3c2410_serial2",
9600, 8, 1);
and close it with :
>   HardwareControler.close(fileDesc);

Once opened, I really have the received bytes from the corresponding COM
with :
>   FileInputStream fis = new FileInputStream("/dev/s3c2410_serial2");
>   buffer = new byte[256];
>   fis.read(buffer);

Now, I have to make a service class to log (with a database ?). But I have
to dig a bit to really know how make it correctly and efficient. I should
certainly use 'BufferedReader' ...
Probably take as example http://code.google.com/p/gpslogger/ ...

Anyone already did this ?

Didier
Dear All,
I just received a Smart210 SDK1305 and I want to use it to pilot some
external equipment with the Serial RS232 ports.
I plan to stay on the Android 4.0 environment provided.

=> Is it possible to get the sources of iTest so that I can start from this
basis to develop my application ?

Many thanks.

Djeizon
hello friends.
I received a nanopc-T1 with android 4.2.2 and I can not open the serial
ports with iTest. Port 0 is being used to debug by the system, but others
are free and I still can not open them.
Someone could use the serial ports on this card?

Thank you