[Tinyos-help] Code for STRAW

2007-02-08 Thread Heo Heo
Can anyone give me a pointer to download STRAW, the Berkeley program for mass data collection in sensor networks ? I did a google but the link provided is no longer active. Thanks a lot. - Get your own web address. Have a HUGE year

[Tinyos-help] How to access the radio transmission queue in TinyOS ?

2007-01-18 Thread Heo Heo
I plan to implement a simple priority queue for radio transmission and need to access the transmission queue (for the radio channel). Can anyone give me a pointer on how to do this (BTW, I am using TinyOS 1.1.15 and my motes are micaz. I am not sure if mica2/micaz have any differences with

Re: [Tinyos-help] Listening to different kinds of custom Messages in nesC

2007-01-15 Thread Heo Heo
Look at the Configuration file of OscilloscopeRF. It should have a line like this: SendMsg = GenericComm.SndMsg[AM_]; What you need is add lines similar to that for different active message types, as follows: - Add the AM_yourconstants in the .h file. - In the

[Tinyos-help] Enable/Disable RTS/CTS in TinyOS

2007-01-15 Thread Heo Heo
I read from somewhere that RTS/CTS is not used by default in TinyOS. Is there a way to enable it ? Thanks a lot. - TV dinner still cooling? Check out Tonight's Picks on Yahoo! TV.___

[Tinyos-help] How to write a task that runs in exactly 1ms

2007-01-15 Thread Heo Heo
I was curious if there is a way to write a task that runs exactly in 1ms, given that underlying hardware platform can be pre-determined (like Micaz, Mica2). In my mind, I was thinking of writing a for loop like: for (count=0; ;count++) x++; I will start the For

[Tinyos-help] MicaZ-mica2 makefile compatibility, serial forwarder problem

2007-01-12 Thread Heo Heo
I am a beginner in TinyOS (version 1.1.15). I hope someone would help me answer the following questions. I am sorry for the long email. 1) We have some micaZ motes. With the default makefile of TinyOS (say for the Blink apps), I couldn't make micaz. So, I replaced the original TinyOS

Re: [Tinyos-help] Sending a packet to both wireless channel UART

2007-01-12 Thread Heo Heo
may be because you need to change the MOTECOM to point to serial forwarder rather than the [EMAIL PROTECTED]:mica2. There should be an example of the correct setting in the S.F. doc. MS Heo Heo wrote: I wrote a simple program (based on Blink, Oscilloscope OscilloscopeRF) in which the timer

[Tinyos-help] Would it be possible to change TOSMsg payload to 1000 bytes ?

2007-01-12 Thread Heo Heo
I was wondering if it is possible to change the maximum payload size of a TOSMsg to , say, 1000 bytes (the default is 29 bytes for micaz - as indicated in TOS_DATA_LENGTH). Having large payload packets can be handy in many scenarios, so, I would like to know if anyone has any experiences on

[Tinyos-help] Sending a packet to both wireless channel UART

2007-01-11 Thread Heo Heo
I wrote a simple program (based on Blink, Oscilloscope OscilloscopeRF) in which the timer fires every 1000ms. On each timer event, the mote (micaz) sends a packet to both the UART and the wireless link (one after another). It seems like a simple program, but I don't know why I can

[Tinyos-help] Accessing TOS_Msg fields from Java

2007-01-11 Thread Heo Heo
I was wondering if there is a way to access the TOS_Msg fields (like addr, type, group, strength, etc.) from Java. The context is that there is a mote running OscilloscopeRF. This mote sends messages (class OscopeMsg) to the base station (connected to PC with Serial forwarder). For

Re: [Tinyos-help] Tutorial Question

2007-01-10 Thread Heo Heo
It works for MicaZ (tested), and from the wording of the crossbow Getting Started Guide, it should work for all the Micas. Heo [EMAIL PROTECTED] wrote: Hello, I am just curious if the tutorial: http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson6.html Applies to and can be used

[Tinyos-help] How to check if packet has been sent successfully ?

2007-01-09 Thread Heo Heo
I was trying to use interface SendMsg of GenericComm to send a message (based on the Oscilloscope example). This interface provides 2 functions: - send(Destination, Size, Msg); - sendDone(TOS_MsgPtr sent, result_t success) I thought I would be able to check if the packet has

Re: [Tinyos-help] How to check if packet has been sent successfully ?

2007-01-09 Thread Heo Heo
not necessarily mean that the message is received by the other node. I think you should use MacControl.enableAck to receive the acknowledgement. Regards, Hui On 1/9/2007, Heo Heo wrote: I was trying to use interface SendMsg of GenericComm to send a message (based on the Oscilloscope example

Re: [Tinyos-help] How to check if packet has been sent successfully ?

2007-01-09 Thread Heo Heo
massive amounts of (questionable) advice... A good search starting point is: http://www.moteiv.com/community/TinyOS_Information MS Heo Heo wrote: Hui, Thanks for your answer. So I call the MacControl.enableAck() to enable ACK mode. But from the sending mode, how do I check if the packet

[Tinyos-help] MicaZ-mica2 makefile compatibility, serial forwarder problem

2007-01-03 Thread Heo Heo
I am a beginner in TinyOS (version 1.1.15). I hope someone would help me answer the following questions. I am sorry for the long email. 1) We have some micaZ motes. With the default makefile of TinyOS (say for the Blink apps), I couldn't make micaz. So, I replaced the original TinyOS