Re: [Tinyos-help] what means this code?

2006-12-21 Thread Philip Levis
On Dec 21, 2006, at 9:21 PM, Michael Schippling wrote: wownever saw that before...I had to go try it out. It's telling you the number of bytes in the "type" field of the TOS_Msg struct. I never thought of it but I guess you can't do that in any straight forward way like sizeof(TOS_Msg.type)

Re: [Tinyos-help] what means this code?

2006-12-21 Thread Michael Schippling
wownever saw that before...I had to go try it out. It's telling you the number of bytes in the "type" field of the TOS_Msg struct. I never thought of it but I guess you can't do that in any straight forward way like sizeof(TOS_Msg.type), but have to jump through the hoop of making a fake obje

Re: [Tinyos-help] Download IBM Java 1.5 for TinyOS 2.0

2006-12-21 Thread Michael Schippling
Actually I don't know from Linux, but the sun site does have dnlds for some versions. IBM may be more motivated to make JVMs for Linux. If the specified link isn't working you should be able to search out a good one on ibm's site or using google... sorry I'm not much help. MS Chong Hui Kim wrote

[Tinyos-help] Problem in compiling apps after upgrade to 2.x

2006-12-21 Thread Ravi Prasad
Hi all, I am having problem in compiling all the application in tinyOS-2.x and tinyos-1.x after upgrading to tinyos-2.x from tinyos-1.1.14. My old environment: -WinXP -Cygwin with CYGWIN_NT-5.1 (output of uname command) -coexisting tinyos-1.1.7 & tinyos-1.1.14 and both worked fine Steps I used f

[Tinyos-help] what means this code?

2006-12-21 Thread Stephen Chow
I am wondering what this code means. why "0"? sizeof(((struct TOS_Msg*)0)->type) Thanks ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] A Scenario to study TinyOS and WSN

2006-12-21 Thread Sankar Gorthi
I could decrease the difficulty of your system by one step then. Surge already does the Temperature tracking over a Multi-hopped Wireless Sensor Network (WSN). The system consists of a base station to which all the motes write their data values to at regular intervals. The network is mainta

Re: [Tinyos-help] Download IBM Java 1.5 for TinyOS 2.0

2006-12-21 Thread Chong Hui Kim
Thank you for comments. In tinyos-2.0 installation guide, there is following instructions. Step 1: Install Java 1.5 JDK Windows Download and install Sun's 1.5 JDK from http://java.sun.com. Linux Download and install IBM's 1.5 JDK from http://www-128.ibm.com/developerworks/java/jdk/. My sys

Re: [Tinyos-help] A Scenario to study TinyOS and WSN

2006-12-21 Thread sunchao
Sankar Gorthi wrote: Hi Chris, The intent of the tutorials is, as you might have guessed, to give you a basic foundation in interacting with your motes using the TinyOS platform. What you do with that knowledge is for you to decide. However, if you still want to start with some basic scenari

Re: [Tinyos-help] Reading RSSI values from Tmote Sky

2006-12-21 Thread HyungJune Lee
I have written an application to read RSSI values with 1KHz sampling frequency and store them in flash memory for later retrieval. It works under TinyOS T2 and TelosB. It would be helpful to refer to my codes. You can download it in the following link. http://sing.stanford.edu/abbado/RssiSampling.

Re: [Tinyos-help] Debugging nesC code with the USB AVR JTAG ICE

2006-12-21 Thread Simon Willis
I have used it in TinyOS1.x. It took me a while to get it doing. I can't remember exactly what I had to do to get it to work. I have a feeling that I may have had to download a new version of avarice. The one that bundled with TinyOS1.x is a bit old and doesn't support the JTAGICEII. I don't kn

Re: [Tinyos-help] tossim segfaults on a tutorial app in a Linux machine

2006-12-21 Thread Philip Levis
On Dec 21, 2006, at 11:13 AM, Mikhail Nesterenko wrote: *** Successfully built micaz TOSSIM library. deneb:~/Proj/tinyos-2.x/apps/RadioCountToLeds> python Python 2.4.2 (#1, Feb 12 2006, 03:59:46) [GCC 4.1.0 20060210 (Red Hat 4.1.0-0.24)] on linux2 Type "help", "copyright", "credits" or "licens

[Tinyos-help] Debugging nesC code with the USB AVR JTAG ICE

2006-12-21 Thread Jon Wyant
Hi. Has anyone used the USB AVR JTAG ICE mk-II device for debugging TinyOS 2.x code? I found the link for using the serial device on TinyOS 1.x code ( http://www.tinyos.net/tinyos-1.x/doc/nesc/debugging.html), so I attempted to see if th

[Tinyos-help] turning off MTS310 sensors

2006-12-21 Thread Tony Ling
Hello, I've read the user's manual, and it says that the sensors can be turned off setting a control signal. I would like to turn off the sounder(PW2), Microphone(PW3), Accelerometer(PW4), Temperature (RT2), and Photocell(R2). Basically I would only like to keep Magnetometer, with contr

[Tinyos-help] Setting the MAC delay to 0

2006-12-21 Thread Chris Byers
I have heard that by setting the MAC delay to 0, I can have a packet speed of 50-53 packets per second. If this is true, does anyone know how to set this delay to zero? Also, does anyone know what program I can use to take electromagnetic readings that uses this MAC delay? Thanks, Chris

[Tinyos-help] Re: Changing Rx Frequencies

2006-12-21 Thread David Moss
Jonathan - That seemed to work great, glad you knew what was happening. Attached is my copy of the CC2420ControlP.nc. Thanks, -David On Wed, 20 Dec 2006 18:19:19 -0800 Jonathan Hui <[EMAIL PROTECTED]> wrote: Hi David, You are correct. Page 58 of the CC2420 datasheet clearly states tha

Re: [Tinyos-help] TinyOS network topology

2006-12-21 Thread David Moss
Of course! TinyOS is flexible in this manner; ZigBee is not. Because of the flexibility TinyOS has to offer, it may take a little bit of software development to get it running how you want, but you have enough control in TinyOS to make your wireless network act as needed. On a 2.4 GHz platf

[Tinyos-help] tossim segfaults on a tutorial app in a Linux machine

2006-12-21 Thread Mikhail Nesterenko
== deneb:~/Proj/tinyos-2.x/apps/RadioCountToLeds> uname -a Linux deneb.cs.kent.edu 2.6.15-1.2054_FC5 #1 Tue Mar 14 15:48:33 EST 2006 i686 i686 i386 GNU/Linux deneb:~/Proj/tinyos-2.x/apps/RadioCountToLeds> make micaz sim mkdir -p build/micaz placing object

Re: [Tinyos-help] A Scenario to study TinyOS and WSN

2006-12-21 Thread Sankar Gorthi
Hi Chris, The intent of the tutorials is, as you might have guessed, to give you a basic foundation in interacting with your motes using the TinyOS platform. What you do with that knowledge is for you to decide. However, if you still want to start with some basic scenarios for Wireless Se

[Tinyos-help] TinyOS network topology

2006-12-21 Thread Jim Wei
Hi, I am wondering if TinyOS supports End Device/Router/Coordinator type topology like Zigbee. My application situation is such that there is power available for Router and Coordinator. So I would prefer to have the End Devices send information to Routers and have the Routers to router the in

Re: [Tinyos-help] Problem with UartDetectC

2006-12-21 Thread Ole Bischoff
Perfect, I only changed UartDetectC to UartPresenceC and now the whole app works just fine. Thanks a lot, Joe. Regards, OLE - Original Message - From: "Joe Polastre" <[EMAIL PROTECTED]> To: "Ole Bischoff" <[EMAIL PROTECTED]> Cc: "TinyOs Help List" Sent: Thursday, December

Re: [Fwd: Re: [Tinyos-help] Reading RSSI values from Tmote Sky]

2006-12-21 Thread KANG HUI
In you applcation, you use the interface RSSI, and wire it to CC2420Control. Then in the module implementation, you implement RSSI.dataReady(). Hui On Wed, 20 Dec 2006, Milton Aguiar wrote: > > ___ Tinyos-help mailing list Tinyos-help@Millennium.Berke

Re: [Tinyos-help] Problem with UartDetectC

2006-12-21 Thread Joe Polastre
UartDetectC is a connection based protocol, which means the PC must send messages to the mote and establish a connection for the isConnected() function to return true. I believe that you are looking for UartPresenceC, which tells you if the mote is connected to the PC but does not guarantee that

Re: [Tinyos-help] How to detect CC2420 radio state within t inyos

2006-12-21 Thread KANG HUI
Probably you can use CC2420Control. Hui On Thu, 21 Dec 2006 [EMAIL PROTECTED] wrote: > Hi all?? > > In my project,I need to detect if the CC2420 radio channel is busy or idle, > namely, if the node is sending data or not. > I am working on Micaz platform and Tinyos.I want to know if there is an

[Tinyos-help] Tmote Sky with Deluge

2006-12-21 Thread Jimmy
Hi, I am working with a tmote sky kit. I was trying to install deluge on the motes. When I send an application it shows packets being sent and received in Serial Forwarder, but after over a half an hour it seems like there is no progress and it is still on page 1 of 28. Last year I worked on a m

[Tinyos-help] Problem with UartDetectC

2006-12-21 Thread Ole Bischoff
Hi, I tried to detect, whether a mote is connected to a PC or not. Therefor I used the component UartDetectC and the interface Detect, which offers the command isConnected() to determinine if a mote is connected to the UART as well as the events connected() and disconnect() to signal if the mote

[Tinyos-help] A Scenario to study TinyOS and WSN

2006-12-21 Thread sunchao
Hello Every body: I'm a college student in China and my research interest is Wireless Sensor Network. Currently I'm not very familiar with TinyOS and other WSN applications, and I want to learn them by practice - our lab have about 30 Micaz motes and related facilities. Can some one introduc

[Tinyos-help] Download IBM Java 1.5 for TinyOS 2.0

2006-12-21 Thread Chong Hui Kim
Dear all, I have installed tinyos to linux. But I could not download java 1.5 of IBM. How can I do that? Thanks in advance.___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/t

[Tinyos-help] How to detect CC2420 radio state within t inyos

2006-12-21 Thread tau_wen
Hi all, In my project,I need to detect if the CC2420 radio channel is busy or idle, namely, if the node is sending data or not. I am working on Micaz platform and Tinyos.I want to know if there is an "interface" and a corresponding module in tinyos through which I can realize the function. Th

Re: [Tinyos-help] Re: Tinyos-help Digest, Vol 44, Issue 66

2006-12-21 Thread Tarun Bansal
You can specify "mote-serial" in the Mote communications field. Serial Forwarder will then connect TOSSIM's base station's UART channel to TCP port. This way you can communicate with TOSSIM's motes via TCP port. Tarun On 12/21/06, Firat TARAKTAS <[EMAIL PROTECTED]> wrote: Hi Tansal, Is your s

RE: [Tinyos-help] Re: Tinyos-help Digest, Vol 44, Issue 66

2006-12-21 Thread Firat TARAKTAS
Hi Tansal, Is your suggestion makes connection with TOSSIM!!? You are right in a realtime running mote case. But i have doubts about running TOSSIM on PC? Firat TARAKTAS Project Engineer GENETLAB INFORMATION TECHNOLOGIES Kayisdagi Caddesi Kar Plaza D Blok Kat:3 34752 Icerenkoy / Istanbul / TUR