[Tinyos-help] Re: connecting to the SerialForwarder

2007-06-05 Thread Islam Hegazy
Thanks very much for the paper. It was really helpful. Now I can receive from the SF. However, what I receive is unexpected. First, what is the platform that I have to send to the SF? At the moment I resend the platform that I receive from the SF. Second, the data length byte is always '\t' which

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] sending packets via Tython

2007-06-05 Thread Faisal Karim
Hi Sarfaraz Thanks again. But how to set the sender ID for comm.sendRadioMessage() coz three arguments accepted by this method dont specify who is sender. Looking forward for your early reply Regards Faisal Karim - Original Message From: Sarfraz Nawaz [EMAIL PROTECTED]

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,

[Tinyos-help] Reducing data loss in Oscilloscope application

2007-06-05 Thread Ferry Cialis
Hello, I've a question about data transfer loss that I need help in. Firstly, I'm trying to get 2 different sensor readings. The sensor readings are Accelerometer X-direction and Accelerometer Y-direction. Previously, I managed to get both sensor readings from 2 motes i.e. each motes has each

RE: [Tinyos-help] Reducing data loss in Oscilloscope application

2007-06-05 Thread Firat TARAKTAS
Hi Ferry, I faced a problem similar to you this morning. Every timer fired, ı tried to read three ADC channel. It sent only the first readings, but not the other two channel readings. I solved it by using a integer named sequence. After the single ADC reading, i increment it and decide whose

[Tinyos-help] how to run the application in an endless loop on mica2

2007-06-05 Thread Vipin Kashyap
Hi all ! I am writing an application for High Frequency Sampling and wireless data transfer. The whole logic of the app works well for one pass, but at the end of the pass it does not iterate any further. StdControl.init() and start() are as below- command result_t StdControl.init() { call

Re: [Tinyos-help] The multi-hop implementation related to Deluge in Tinyos-1.x

2007-06-05 Thread Micfox Micfox
From: Philip Levis [EMAIL PROTECTED] To: Micfox Micfox [EMAIL PROTECTED] CC: tinyos-help@Millennium.Berkeley.EDU Subject: Re: [Tinyos-help] The multi-hop implementation related to Deluge in Tinyos-1.x Date: Mon, 4 Jun 2007 22:03:05 -0700 On Jun 4, 2007, at 9:01 PM, Micfox Micfox wrote:

[Tinyos-help] [lesson 4 with tinyOs2.0]

2007-06-05 Thread vazoumana fofana
Hi, i try to compile the lesson 4 Mote Pc serial Communication and Serial Forwarder : When i execute java TestSerial, there is an error message wich appears : [EMAIL PROTECTED]:9002 died - exiting (java.net.ConnectException: Connection refused). somebody can help me , please ? thanks.

RE: [Tinyos-help] [lesson 4 with tinyOs2.0]

2007-06-05 Thread Firat TARAKTAS
Hi, 1. Did you run the command like java TestSerial -comm [EMAIL PROTECTED]:telos or assign MOTECOM correctly? 2. Be sure that other running programs on your PC does not use your port. Firat TARAKTAS -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

[Tinyos-help] [CC2420_lpl] What happens when the duty cycle expires in the middle of a receiving a packet?

2007-06-05 Thread John Hendrie
Hi, I know it's a bit of an edge case, but what happens when the duty cycle expires in the middle of a receiving a packet using the LPL stack in TinyOS 2.0? ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] which sensor objects to use for the TmoteSky?

2007-06-05 Thread Ákos Maróy
I'm looking at this page: http://www.moteiv.com/community/Getting_Data_from_Tmote_Sky%27s_Sensors and trying to find out what nesC Sensor objects to use for the specific sensors. So far I figured out the following: - DemoSensorC: the internal voltage sensor - HamamatsuS10871TsrC: the

[Tinyos-help] can't compile MultihopOscilloscope for telosa

2007-06-05 Thread Ákos Maróy
when I try to compile the MultihopOscilloscope sample app from the TinyOS 2.0.1 samples, I get the following error: $ make telos install.0 bsl,/dev/ttyUSB0 mkdir -p build/telosa compiling MultihopOscilloscopeAppC to a telosa binary ncc -o build/telosa/main.exe -Os -O -mdisable-hwmul -Wall

Re: [Tinyos-help] how to run the application in an endless loop on mica2

2007-06-05 Thread Benjamin Madore
init() and start() are only called once by TinyOS. On Tue, June 5, 2007 5:21 am, Vipin Kashyap said: I am writing an application for High Frequency Sampling and wireless data transfer. The whole logic of the app works well for one pass, but at the end of the pass it does not iterate any

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] multihop

2007-06-05 Thread Boushra MAALA
hello; i want to build a network consists of several clusters. Where, in a cluster, all nodes send their messages to a clusterhead which sends these messages to Sink. But in addition to that, there is an exchanging of messages between the clusterheads. can any body say to me, if i need to

Re: [Tinyos-help] [lesson 4 with tinyOs2.0]

2007-06-05 Thread Benjamin Madore
On Tue, June 5, 2007 10:26 am, vazoumana fofana said: i try to compile the lesson 4 Mote Pc serial Communication and Serial Forwarder : When i execute java TestSerial, there is an error message wich appears : [EMAIL PROTECTED]:9002 died - exiting (java.net.ConnectException: Connection

Re: [Tinyos-help] multihop

2007-06-05 Thread Benjamin Madore
On Tue, June 5, 2007 12:10 pm, Boushra MAALA said: hello; i want to build a network consists of several clusters. Where, in a cluster, all nodes send their messages to a clusterhead which sends these messages to Sink. But in addition to that, there is an exchanging of messages between the

Re: [Tinyos-help] sending and receiving packets -MoteIF, BcastInject, Packetizer...

2007-06-05 Thread Michael Schippling
As far as I know, in T1 at least, Packetizer is used near the bottom of all of the Java side message I/O, and it presupposes that the messages are in TOS_Msg (AM) format, which is compatible with GenericComm on the mote side. If you only want send single bytes you will have to reinvent both ends

Re: [Tinyos-help] [lesson 4 with tinyOs2.0]

2007-06-05 Thread Peizhao Hu
A common problem that have to be mentioned in the documentation. possible reasons: 1. if you are using SerialForwarder, make sure your problem is pointing to the same port number, which SerialForwarder is outputing to. you can start your SerialForwarder as java net.tinyos.sf.SerialForwarder

[Fwd: Re: [Tinyos-help] [lesson 4 with tinyOs2.0]]

2007-06-05 Thread Benjamin Madore
Forwarding to the list (remember everyone, REPLY ALL) - Original Message - Subject: Re: [Tinyos-help] [lesson 4 with tinyOs2.0] My platform is Xubuntos. i ve got a

Re: [Tinyos-help] Tinyos 2 Tutorial 11 Linker Problems

2007-06-05 Thread Marek Jawurek
Well to me it doesn't look like a Problem with the tmote target but with linking the python libs together. I tried it with : make micaz sim but it produces the same result, (just the linker output): linking into shared object ./_TOSSIMmodule.so g++ -shared -fPIC build/micaz/pytossim.o

Re: [Tinyos-help] [lesson 4 with tinyOs2.0]

2007-06-05 Thread Benjamin Madore
On Tue, June 5, 2007 12:48 pm, vazoumana fofana said: My platform is Xubuntos. I've got a firewall. I know it 's possible to execute java Testserial without defining MOTECOM. Only if you have the SerialForwarder running. I understand you must execute java testserial in adding options -comm

Re: [Tinyos-help] Tinyos 2 Tutorial 11 Linker Problems

2007-06-05 Thread Philip Levis
On Jun 5, 2007, at 9:37 AM, Marek Jawurek wrote: Well to me it doesn't look like a Problem with the tmote target but with linking the python libs together. I tried it with : make micaz sim but it produces the same result, (just the linker output): linking into shared object

Re: [Tinyos-help] Tinyos 2 Tutorial 11 Linker Problems

2007-06-05 Thread Marek Jawurek
Thanks for looking into it Phil, here is what avr-objdump -t build/micaz/sim.o produces. I am sorry but actually I can hardly grasp at what I am looking. But it appears that the sim.o object file is in elf32-avr format and tossim.o and pytossim.o both in elf32-little. But where is the

[Tinyos-help] Trying to simulate tutorial 12 EasyDisseminationAppC - error

2007-06-05 Thread Hugo Sousa
I get these errors (no errors or warnings present with make micaz) In file included from /opt/tinyos-2.x/tos/lib/net/TrickleTimerMilliC.nc:50, from /opt/tinyos-2.x/tos/lib/net/DisseminationTimerP.nc:49, from /opt/tinyos-2.x/tos/lib/net/DisseminatorC.nc:66,

Re: [Tinyos-help] Active message protocol

2007-06-05 Thread jose m
Thanks! Ok, don't worry, I understand concurrency. However, when you use AM protocol, you use AMStandard (not UartStream), and AMStandard doesn't allow send radio and uart packets at the same time, even when the uart (or radio) is idle (a variable named state is checked). This behavior looks

[Tinyos-help] Wiki

2007-06-05 Thread Benjamin Madore
I tried to find a TinyOS Wiki. The one I could find, the owner never got back to me. So I created one. http://tinyoscommunity.elwiki.com/Main_Page The idea is that anyone here who has a question answered, develops a solution, or finds a resource online should add it in the appropriate section.

Re: [Tinyos-help] IBM JDK segfaults on libtoscomm.so

2007-06-05 Thread David Gay
On 6/2/07, Ákos Maróy [EMAIL PROTECTED] wrote: Aurélien Francillon wrote: IIRC (not sure), i tracked it back to some known regression of gcc 4.1.x ... it works fine with gcc-3.x I tried with gcc-3.x, and while it doesn't crash - it doesn't work either. by that I mean that the mote stops

[Tinyos-help] Question on MultiOscilloscope Application

2007-06-05 Thread M A
Hi I have started learning tinyos-2.x and I have a simple question related to MultiOscilloscope function in directory tinyos-2.x/apps/MultihopOscilloscope. In the file MultioscilloscopeC.nc we declare a message buffer message_t uartbuf . But I dont understand where is this initialized. We call

RE: [Tinyos-help] [CC2420_lpl] What happens when the duty cycle expiresin the middle of a receiving a packet?

2007-06-05 Thread David Moss
This is a valid issue with the current stack - although it should rarely occur. As soon as the energy of a packet is detected, the radio stays on longer to accept that packet. If the packet is not accepted within a certain amount of time, the radio shuts off and assumes the packet(s) flying

[Tinyos-help] Keymap with Generics Design?

2007-06-05 Thread J. Ryan Stinnett
I'm still pretty new to the concept of generics in T2, and I'm unsure of the best way to design the following set of components. I was trying to use something similar to the pattern in AMSenderC, where a configuration hides the creation of a unique instance of the Send interface from the

Re: [Tinyos-help] Keymap with Generics Design?

2007-06-05 Thread Philip Levis
On Jun 5, 2007, at 4:28 PM, J. Ryan Stinnett wrote: I'm still pretty new to the concept of generics in T2, and I'm unsure of the best way to design the following set of components. I was trying to use something similar to the pattern in AMSenderC, where a configuration hides the creation

[Tinyos-help] Tmote Sky and LCD Panel

2007-06-05 Thread Preethi Naveen
Hello, I have been trying to connect a GPIO based LCD panel to Tmote sky but am not able to figure out how to do so. Can someone please give me pointers towards the same? Preethi ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] Is there anyone know how to use java to get the data from motes?

2007-06-05 Thread Hover Dong
hi, I am doing a application. I should use java to get the data from motes thought serial port on PC. I think there some source code about it. Is there any one has done it or know which source code about it. If so, please tell me. I will appreciate ur helps!!! BTW, I am using TinyOS2.0.

[Tinyos-help] Java Tools moteiv

2007-06-05 Thread keerthii
Does anyone know, Is it possible to install the java tools and have it working without installing any of the TinyOS stuff? If so, where are all the serial drivers that I need to use for the MoteIV ? Regards Keerthi ___ Tinyos-help mailing list

[Tinyos-help] HELP- spi serial data reception on atmega microcontroller

2007-06-05 Thread Dipti
Dear all, I want to send serial data from a microcontroller to the atmega microcontroller on a mica2 mote via the SPI interface. The mica2 mote is basically a slave in this serial data transfer which just receives the serial data sent by another master microcontroller and forwards the same