Hi Thanh,

I think you do not need to program the Telosb motes, you do not need to have 
Tinyos installed in your handphone,  I think you just need to read the serial 
port in Android, what you can do by using a Java library for this task. There 
should have a java library which was able to read from the serial port in 
Android, in Windows and Unix, exists JAVA Communications API for communications 
with serial port. The only thing that you should do it would be to create a 
java application which use this java library in order  t oread from the serial 
port (USB).

I hope this can help you

David

 

 

De: [email protected] 
[mailto:[email protected]] En nombre de Le Thanh Long
Enviado el: martes, 13 de octubre de 2009 15:23
Para: [email protected]
Asunto: [Tinyos-help] JNI library for Android operating system.

 


Hi all,

I plan to use telosb to communicate between 2 handphones. The handphone is 
installed Android operation system and telosb mote will be plugged to USB port. 
A java program is similar to TestSerial in sample tutorial. But we need JNI 
library to communicate through serial port, for example running the TestSerial 
–comm ser...@.... 

Since we cannot install whole TinyOS on Android handphone, do you know whether 
we can install JNI library on handphone? The Android supports java library.

Thank you very much,

Best regards,

 

  _____  

New 
<http://sg.rd.yahoo.com/sg/mail/domainchoice/mail/signature/*http:/mail.promotions.yahoo.com/newdomains/sg/>
  Email names for you! 
Get the Email name you've always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to