[Tinyos-help] Problem with serial communication using telosa

2011-11-14 Thread Luís Pereira
is in this file http://db.tt/BAKvtmgE. Thanks for your help. Luís Pereira 2011/10/27 András Bíró bband...@gmail.com Yes, it worked for me (I also tried all the combinations, only this one worked). ant jar: It regenerates the tinyos.jar file. Apache ant is similar to GNU Make, but it's designed

Re: [Tinyos-help] Arch Linux

2011-11-03 Thread Luís Pereira
Hi Magnus, I'm using tinyos on arch too. The AUR packages didn't work for me, but the svn version (after everything thats it's needed installed) work perfect with telosa motes Luís Pereira On Thu, Nov 3, 2011 at 14:21, Magnus Morton magnusmor...@gmail.com wrote: Hi, Does anyone have any

Re: [Tinyos-help] Arch Linux

2011-11-03 Thread Luís Pereira
Ok, I'll put there my problem. When I search for a solution someone told me to try the svn version, and as it worked I never thought about posting my problem in AUR. Sorry Luís Pereira 2011/11/3 András Bíró bband...@gmail.com If anyone has problems with the packages, please post a comment

Re: [Tinyos-help] Use of multiple sensors

2011-10-31 Thread Luís Pereira
file: interface Readuint16_t as Temp; interface Readuint16_t as Light; And the last step is to wire them in the first file: File.Light - LightSensor; File.Temp - TempSensor.Temperature; I hope you understand. Luís Pereira On Sun, Oct 30, 2011 at 21:23, sai manoj sai.mano...@gmail.com wrote

Re: [Tinyos-help] Problem with serial communication using telosa

2011-10-27 Thread Luís Pereira
Hi Urs, Thanks for your aswer. So if Java programs work that way, there is nothing I can do to make it work do I? Well I could make some C/C++ program to do what I want. Luís Pereira On Thu, Oct 27, 2011 at 07:39, Urs Hunkeler urs.hunke...@epfl.ch wrote: Hi Luís, These are interesting

Re: [Tinyos-help] Problem with serial communication using telosa

2011-10-27 Thread Luís Pereira
(). Luís Pereira 2011/10/27 Urs Hunkeler urs.hunke...@epfl.ch Hi Luís, Hi Andris, As Andris pointed out, if you could control the RTS/DTS lines, you should be able to solve this. Actually, this is not a Java problem, as Java doesn't have support for the serial port. Java uses a JNI (Java

Re: [Tinyos-help] Problem with serial communication using telosa

2011-10-27 Thread Luís Pereira
Hi András, I tried out your patch but it didn't work. I test a few combinations of the RTS DTS state and none of them work. Did it work for you? What do you mean with ant jar? I don't understand that line. Thanks for your help Luís Pereira On Thu, Oct 27, 2011 at 16:10, András Bíró bband

Re: [Tinyos-help] Problem with serial communication using telosa

2011-10-26 Thread Luís Pereira
Hi Rafael I don't have a ttyUSB1 on /dev/ only USB0. Is this a problem with my computer? Thanks for your help so far Luís Pereira On 26/10/2011, Rafael de Oliveira Costa rafaeldeoliveiraco...@gmail.com wrote: I will say something like Igglezakis. here serial works on ttyUSB1 and to deploy

Re: [Tinyos-help] Problem with serial communication using telosa

2011-10-26 Thread Luís Pereira
and plug off and plug in the device while in resynchronising like some people advice in other posts and nothing work so far. Thanks for all the help so far. Hope I can get a solution for this Luís Pereira 2011/10/26 Urs Hunkeler urs.hunke...@epfl.ch Hi Luís, I just had a look. It appears

Re: [Tinyos-help] Problem with serial communication using telosa

2011-10-26 Thread Luís Pereira
Hi Bíró, Ok I will try to open the usb port with rxtx to see what happen..can you send me what program you use to do that? Thanks for your help Luís Pereira 2011/10/26 Bíró András bband...@gmail.com Hi Luis, I had similar problems with telosa motes, and I don't know what caused

Re: [Tinyos-help] Problem with serial communication using telosa

2011-10-26 Thread Luís Pereira
0x31 0x2C 0x20 = count=0021, I'm not synchronizing, only reading data. The first line after Transmission X: is the hexadecimal code i read, and the second is converted to text, and as you can see I'm receiving what I'm suppose to, so it's something related to java programs right? Luís

[Tinyos-help] Problem with serial communication using telosa

2011-10-25 Thread Luís Pereira
and nothing else happens. With the application that the mote blinks it's leds in an binary count, when i try to connect it stops counting. I already search in all the mailing list i nothing i found about this solve my problem. Can anyone help me please? Thanks for your help Luís Pereira

Re: [Tinyos-help] Problem with serial communication using telosa

2011-10-25 Thread Luís Pereira
and i got: serial@/dev/ttyUSB0:115200: resynchronising and the leds of the mote stop blinking. Luís Pereira 2011/10/25 Rafael de Oliveira Costa rafaeldeoliveiraco...@gmail.com Hi Luís, please show what command did you executed. Rafael de Oliveira Costa, M.Sc. Student PPGI - UFRJ Rio de

Re: [Tinyos-help] Problem with serial communication using telosa

2011-10-25 Thread Luís Pereira
Hi Igglezakis, Sorry but here only ttyUSB0 exist. I have no USB1. By the way i'm using archlinux but i don't think that is the problem. Luís Pereira On Tue, Oct 25, 2011 at 23:07, Igglezakis Antonios aiggleza...@gmail.comwrote: Try java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB1