Re: [Tinyos-help] how to trigger a transistor

2007-12-08 Thread Urs Hunkeler
Hi, I don't know about the tmotesky kit. I was referring to TinyOS 2.x. For TinyOS 1.x have a look at how they control the LEDs. Interesting files would be tos/system/LedsC.nc and tos/platform/telosb/hardware.h. Cheers, Urs n subhash wrote: but those components are not available i'm using

[Tinyos-help] Using the sensirion temp sensor in TelosB

2007-12-08 Thread Richard
Sir: I have tried the TSR and PAR and I have activated it and used it. But I have problem in using the Temperature and Humidity sensor of the TelosB. Can you help me how could I change the code of the Oscilloscope.nc so that the temp sensor could be used? I have read that the temperature senso

Re: [Tinyos-help] COM error when running Listen application from tinyos tuto on Xubuntu

2007-12-08 Thread Urs Hunkeler
Hi, Based on your error message I assume that you're running on cygwin. Sofar I wasn't aware that now it also knows about which devices are connected over USB. What does motelist tell you? Try finding out the windows com port by checking device manager (right click on the My Computer icon, c

[Tinyos-help] Is there anyway that tinyos2.0 work together with moteview2.0 , Moteconfig2.0 and XSniffer1.0?

2007-12-08 Thread zhiyong yang
HI: Is there anyway that tinyos2.0 work together with moteview2.0 ,Moteconfig2.0and XSniffer1.0? I want to use tinyos2.0,but MoteWork is based on TinyOS1.x. If i don't use crossbow's software,how can i collect data from the motes(micaz) on PC. ___ Tiny

[Tinyos-help] COM error when running Listen application from tinyos tuto on Xubuntu

2007-12-08 Thread Prashanth Shenoy
I have a problem... when i run the Listen application. I have set MOTECOM=serial@/dev/ttyUSB0:mica2 (the port i have used /dev/ttyUSB0 is correct as I use the same to install the program onto the mote. ) java net.tinyos.tools.Listen Error on serial@/dev/ttyUSB0:57600: java.io.IOException: In

[Tinyos-help] fork_copy error in cygwin

2007-12-08 Thread Sandip Bapat
Hi I searched through the tinyos-help archives for this error. I found a couple of users who faced the same problem buut saw no replies as to how this can be resolved. Can anyone help? I tried uninstalling and reinstalling but the new install also fails. The exact error message when I load cy

Re: [Tinyos-help] Installing JNI gives an error on XUBUNTU

2007-12-08 Thread Michael Schippling
Assuming that the .so was generated, you can just move it to the JRE bin -- I think bin is the right place -- Or you can hack around and see why the target dir is not set - at all - in the makefile. MS Prashanth Shenoy wrote: Hi everybody, I am using X-ubuntu and tinyOS-1.1.14 I am trying to

[Tinyos-help] Installing JNI gives an error on XUBUNTU

2007-12-08 Thread Prashanth Shenoy
Hi everybody, I am using X-ubuntu and tinyOS-1.1.14 I am trying to use the Listen application provided in the tinyos Tuto. When I do java net.tinyos.tools.Listen I get the followinfg error getenv JNI library not found. Env.getenv will not work

[Tinyos-help] compiling a new target platform from tinyos-2.x-contrib

2007-12-08 Thread John Griessen
I am figuring out how to compile form contrib and have a question: I've made these dirs in contrib and search in them with these compiler directives: CFLAGS += -I$(TOSROOT)/../tinyos-2.x-contrib/ecosensory/tos/sensorboards CFLAGS += -I$(TOSROOT)/../tinyos-2.x-contrib/ecosensory/tos/platforms C

Re: [Tinyos-help] what's the prefix "TOSH_" stand for? I

2007-12-08 Thread Michael Schippling
wow, I guessed something about tos correctly... that koolaide must be working. MS Philip Levis wrote: On Dec 8, 2007, at 6:08 AM, Michael Schippling wrote: TOSH is probably something like TinyOSHardware, it's an arbitrary string used to distinguish internal defines. And yes, "tos" is tinyos

Re: [Tinyos-help] PER

2007-12-08 Thread Philip Levis
On Dec 7, 2007, at 10:00 PM, Vijayant Bhatnagar wrote: Hi, I read a paper on tossim, wherein it has been mentioned that TOSSIM doesnt consider modulation scheme but uses SNR/PRR curves. Now, in that case how can I measure PER for a mote ? Secondly, is this dynamic or static ? Any help i

Re: [Tinyos-help] what's the prefix "TOSH_" stand for? I

2007-12-08 Thread Philip Levis
On Dec 8, 2007, at 6:08 AM, Michael Schippling wrote: TOSH is probably something like TinyOSHardware, it's an arbitrary string used to distinguish internal defines. And yes, "tos" is tinyos. That's correct; TOSH was originally an acronym for TinyOSHardware. Phil ___

Re: [Tinyos-help] why there are so many differences between motework and teps?

2007-12-08 Thread Greg Hackmann
zhiyong yang wrote: > I found that so many interfaces,modules and components which are > introduced in teps or in TinyOS Programming (Philip Levis June28 2006) > are not in my soft system .I use motework 2.0(which include > PN2,Cygwin,e.g.C:\Crossbow\cygwin\opt\MoteWorks\tos\system ) MoteWorks

Re: [Tinyos-help] what's the prefix "TOSH_" stand for? I

2007-12-08 Thread Michael Schippling
TOSH is probably something like TinyOSHardware, it's an arbitrary string used to distinguish internal defines. And yes, "tos" is tinyos. MS zhiyong yang wrote: 1,what's the prefix "TOSH_" stand for? I have seen it used in many macros,e.g. TOSH_sched_entry_T; TOSH_MAX_TASKS = 1 << TOSH_MAX_TA

Re: [Tinyos-help] Re: unable to inject packet from tossim

2007-12-08 Thread Vijayant Bhatnagar
it seems that there is some problem with our makefile. can anyone help us please ? Regards, Vijayant On Dec 8, 2007 4:56 AM, Vijayant Bhatnagar <[EMAIL PROTECTED]> wrote: > I am somehow debugging this problem : > > Basically i have two structs like : > > typedef nx_struct radio_count_msg { > n

Re: [Tinyos-help] how to trigger a transistor

2007-12-08 Thread Urs Hunkeler
Hi, Use the GeneralIO interface. You can use, for example, the set(), clear() and toggle() functions to control the pin. The pins are defined in the HplMsp430GpioC module. Wire the pin you want from this module to the module Msp430GpioC.HplGeneralIO. The wiring will probably look something li

[Tinyos-help] serial packet size

2007-12-08 Thread Iturralde Garrote, Pablo M.
Hi I'm Pablo Iturralde. I'm working with tinyos 2 and windows XP, with tmote sky motes. I have troubles with the serial AM packet length. I define a 40 bytes long serial packet that I send trough a java interface. The problem is that in the mote when it received the packet, the length of the pa

[Tinyos-help] Noise Bandwidth

2007-12-08 Thread Vijayant Bhatnagar
Hi, Can anyone give me some details on as to what is the noise bandwidth of micaz mote ? I tried googling it and found that 802.15.4 has 3MHz bandwidth while 802.11 channel has 22 MHz. We actually need these values to calculate Eb/No and hence calculate PER. Also, in Tossim, I am not clear how can

Re: [Tinyos-help] Re: unable to inject packet from tossim

2007-12-08 Thread Vijayant Bhatnagar
I am somehow debugging this problem : Basically i have two structs like : typedef nx_struct radio_count_msg { nx_uint16_t type; nx_uint16_t data1; nx_uint16_t data2; } radio_count_msg_t; typedef nx_struct radio_count_data { nx_uint16_t type; nx_uint16_t data; } radio_count_data_t; I