Re: [Tinyos-help] the TinyOS 2 serial protocol

2007-06-05 Thread Ákos Maróy
David Gay wrote: As the previous mails mentioned, our experience so far is that working properly and using JavaComm have not been a good combination. Fixing the issue in TOSComm is probably easier (at a guess, from the discussion, I would guess there's a 64-bit-related bug - the code is

Re: [Tinyos-help] the TinyOS 2 serial protocol

2007-06-05 Thread Urs Hunkeler
Hi Ákos, But anyway - as you guys know the TinyOS codebase a lot better - where would I replace TOSComm in the Java code with JavaComm? Should I re-implement the TOSSerial object to use JavaComm calls instead of the JNI ones? Or create another object implementing the SerialPort interface,

Re: [Tinyos-help] the TinyOS 2 serial protocol

2007-06-05 Thread David Gay
On 6/4/07, Ákos Maróy [EMAIL PROTECTED] wrote: David Gay wrote: As the previous mails mentioned, our experience so far is that working properly and using JavaComm have not been a good combination. Fixing the issue in TOSComm is probably easier (at a guess, from the discussion, I would guess

[Tinyos-help] the TinyOS 2 serial protocol

2007-06-04 Thread Ákos Maróy
I can't seem to get the TOSComm JNI shared object to work on my system. Even though my mote seems to send data fine (connecting to it with kermit show that it the TestSend sample app sends data regularly) - I just can't make any of the Java-based TinyOS 2.x apps read from my mote. I also tried

Re: [Tinyos-help] the TinyOS 2 serial protocol

2007-06-04 Thread David Gay
On 6/4/07, Ákos Maróy [EMAIL PROTECTED] wrote: I can't seem to get the TOSComm JNI shared object to work on my system. Even though my mote seems to send data fine (connecting to it with kermit show that it the TestSend sample app sends data regularly) - I just can't make any of the Java-based

Re: [Tinyos-help] the TinyOS 2 serial protocol

2007-06-04 Thread Philip Levis
On Jun 4, 2007, at 1:09 PM, Ákos Maróy wrote: I can't seem to get the TOSComm JNI shared object to work on my system. Even though my mote seems to send data fine (connecting to it with kermit show that it the TestSend sample app sends data regularly) - I just can't make any of the Java-based

Re: [Tinyos-help] the TinyOS 2 serial protocol

2007-06-04 Thread Ákos Maróy
David Gay wrote: You want the C based sf application from TinyOS 2.x. It's in tinyos-2.x/support/sdk/c. thanks for the pointer... now it works, if I run the C-based serial forwarder, and chain to that in the Java applications... There's a description (see the comment at the beginning) and

Re: [Tinyos-help] the TinyOS 2 serial protocol

2007-06-04 Thread David Gay
In 6/4/07, Ákos Maróy [EMAIL PROTECTED] wrote: David Gay wrote: You want the C based sf application from TinyOS 2.x. It's in tinyos-2.x/support/sdk/c. thanks for the pointer... now it works, if I run the C-based serial forwarder, and chain to that in the Java applications... There's a