[Tinyos-help] reading variables from python

2007-03-14 Thread fatima cabot
Hi. I would like to declare some variables in a .h file, which I would include inside my nesC module, and afterwards, I would read such variables from python Is this possible?Up to now, I am just able to read variables declared inside de module, otherwise, I get errors Thanks

[Tinyos-help] Running Delta on TOSSIM

2007-03-14 Thread Muhammad Mushfekul Islam
Hi, I want to run Delta(Moteiv's) on TOSSIM.I have tried but failed.Can anyone help me ? Thanks - Be a PS3 game guru. Get your game face on with the latest PS3 news and previews at Yahoo! Games.___ Tinyos-help

Re: [Tinyos-help] tinyos2 cc2420lpl locked-up node

2007-03-14 Thread Roman Lim
the w/DMA spi bus versions did not crash David Moss wrote: Hi Roman, Thanks for taking the time to test that out. By until now do you mean the w/DMA spi bus versions *did* crash, or did not? -David -Original Message- From: Roman Lim [mailto:[EMAIL PROTECTED] Sent: Tuesday, March

[Tinyos-help] Re: reading variables from python

2007-03-14 Thread fatima cabot
I guess the only possible solution to this is adapting the makefile for my nesc module to get it 'linked' to the .h file. Please, can someone tell me how to do this? On 3/14/07, fatima cabot [EMAIL PROTECTED] wrote: Hi. I would like to declare some variables in a .h file, which I would

[Tinyos-help] Re: reading variables from python

2007-03-14 Thread fatima cabot
Problem solves writing 'include' sentence under the 'implementation' one On 3/14/07, fatima cabot [EMAIL PROTECTED] wrote: I guess the only possible solution to this is adapting the makefile for my nesc module to get it 'linked' to the .h file. Please, can someone tell me how to do this? On

[Tinyos-help] access to SurgeMsg via TOSMsg implementing recieve method

2007-03-14 Thread Faisal Karim
Hi Currently im working with TinyOs 1.1.15 under Cygwin (Windows XP), i gone through tinyos-help but didnt got answers. Some questions regarding Surge Application 1. I want to access the SurgeMsg from Send.sendDone(TOS_MsgPtr pMsg, result_t success), as i have pMsg as an argument how i can

[Tinyos-help] european / american radio frequency

2007-03-14 Thread Oier . Dominguez
Hello, I've succeeded with some work on Tmote Sky protocol enhancements, and some work related. I have been able to change to any radio channel in the 2400 MHz band, but the question is that I feel curious about changing the radio frequency to a 868 MHz band or 915 MHz band radio channel for

Re: [Tinyos-help] info or advice on TOSSIM

2007-03-14 Thread Atilla
On 13/03/07, Βάσω Καρυώτη [EMAIL PROTECTED] wrote: Hello! I was wondering if there are any suggestions for a good step-by-step guide on TOSSIM and what to do after the installation. Every attempt for execution fails and i get incomprehensive (to me) errors. I have tried 2 or 3 different example

[Tinyos-help] Inspecting variable with DBG

2007-03-14 Thread Eva Maria Garcia
Hi all, I'd like to inspect the content of a variable with DBG. The type of this variable is int16_t. In the TOSSIM tutorial I found the next example: dbg(RadioCountToLedsC, Received packet of length %hhu.\n, len); where the type of len is uint8_t. I don't know what to write behind %

Re: [Tinyos-help] Inspecting variable with DBG

2007-03-14 Thread Philip Levis
On Mar 14, 2007, at 9:29 AM, Eva Maria Garcia wrote: Hi all, I’d like to inspect the content of a variable with DBG. The type of this variable is int16_t. In the TOSSIM tutorial I found the next example: dbg(RadioCountToLedsC, Received packet of length %hhu.\n, len); where the

Re: [Tinyos-help] info or advice on TOSSIM

2007-03-14 Thread Philip Levis
On Mar 13, 2007, at 10:24 AM, Βάσω Καρυώτη wrote: Hello! I was wondering if there are any suggestions for a good step-by- step guide on TOSSIM and what to do after the installation. Every attempt for execution fails and i get incomprehensive (to me) errors. I have tried 2 or 3 different

RE: [Tinyos-help] european / american radio frequency

2007-03-14 Thread David Moss
As the datasheet says, the CC2420 is a 2.4 GHz transceiver. It won't go out of that band. A CC1000 or CC1100 radio on a mote is what you want. -David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, March 14, 2007

Re: [Tinyos-help] Serial Communication using UART on micaz

2007-03-14 Thread Jordi Casals
Ok, thank you, I have found a modem working on TTL! 2007/3/13, Michael Schippling [EMAIL PROTECTED]: In short no...the signals at the board are logic level -- 0-3.3v -- and RS232 swings +/-5v (or 3 or something...anyway it goes negative). Timing is OK however, as long as everyone agrees on the

Re: [Tinyos-help] Running Delta on TOSSIM

2007-03-14 Thread Joe Polastre
Hi Muhammad, Delta uses some unique protocols that do not have corresponding simulation stubs for TOSSIM. This prevents the application from fully compiling on TOSSIM. -Joe On 3/14/07, Muhammad Mushfekul Islam [EMAIL PROTECTED] wrote: Hi, I want to run Delta(Moteiv's) on TOSSIM.I have

[Tinyos-help] TinyOS MICA2 MAC

2007-03-14 Thread jose m
Hello, I can't find documentation about TinyOS MAC for MICA2 mote. So, I read the CC1000RadioIntM.nc component. Now I understand the protocol, however, there is an aditional function associated to RSSI values, a task called adjustSquelch(). I see how it works and what it does, and I have

Re: [Tinyos-help] Re: Can't implement MicInterrupt

2007-03-14 Thread Joe Polastre
Hi Keerthi, The interfaces that you're using do not exist. If you look at the nesdoc for the MicDriverC component, you will see: interface SensorInterrupt as MicInterrupt; interface Potentiometer as MicInterruptThreshold; Your application should mirror these lines in its uses block. -Joe

Re: [Tinyos-help] Battery Voltage measurement and RSSI

2007-03-14 Thread Michael Schippling
All of the below is T1 not T2, but I would hope that there is some similarity... In T1 there is a Voltage component in tos/system which turns on the monitor and defines the appropriate ADC getData() and dataReady() interface. Also macros like TOSH_SET_BAT_MON_PIN are generated by other macros

Re: [Tinyos-help] Battery Voltage measurement and RSSI

2007-03-14 Thread Philip Levis
On Mar 13, 2007, at 3:21 PM, Murtuza wrote: Hello Friends, I have some simple questions to ask. I am working on mica2 motes on tinyos-2.x platform. my questions are 1. I want to measure the battery voltage on a mica2 mote. If I am not wrong in order to do so I must set the BAT_MON pin

[Tinyos-help] Port / PIN information on Tmote Sky

2007-03-14 Thread Alborz Sedaghat
Hello I am new to this mail list, me and some friends are working on a project using Tmote Sky. I am trying to reach some PIN on the mote, i found this interface… interface MSP430GeneralIO { async command void setHigh(); async command void setLow(); async command void toggle(); async

Re: [Tinyos-help] Port / PIN information on Tmote Sky

2007-03-14 Thread Ankur Kamthe
Hi Alborz, Take a look at the schematic given in the Tmote Sky datasheet to find out which pin is connected to a certain port. To use the MSP430GeneralIO interface wire it to the MSP430GeneralIOC.Portxx where portxx is the pin of interest. hope this helps, ankur ps: i'm using boomerang with

Fwd: [Tinyos-help] Port / PIN information on Tmote Sky

2007-03-14 Thread Andrew Redfern
Sorry guys forgot to cc tinyos-help. Andrew -- Forwarded message -- From: Andrew Redfern [EMAIL PROTECTED] Date: Mar 14, 2007 2:07 PM Subject: Re: [Tinyos-help] Port / PIN information on Tmote Sky To: Alborz Sedaghat [EMAIL PROTECTED] Hi Alborz, Take a look at the other

Re: [Tinyos-help] TinyOS MICA2 MAC

2007-03-14 Thread Hui KANG
CC1000RadioIntM uses B-Mac. Hui Kang On 3/14/2007, jose m [EMAIL PROTECTED] wrote: Hello, I can't find documentation about TinyOS MAC for MICA2 mote. So, I read the CC1000RadioIntM.nc component. Now I understand the protocol, however, there is an aditional function associated to RSSI

[Tinyos-help] Question regarding Acks for radio messages

2007-03-14 Thread Ankur Kamthe
Hi all, I was running the CountDualAck program from the tinyos1.x repository. when I run the program the count on the leds on node 1 never increments. Does that mean that none of the messages are being acked by the receiving nodes ? In there, if msg-ack equals zero does it mean that the

Re: [Tinyos-help] tinyos2 cc2420lpl locked-up node

2007-03-14 Thread Jonathan Hui
Hi Roman, Thanks for discovering and looking into this problem. From the description you gave us, it does look like the radio is already disabled. My guess is that the radio stack is incorrectly trying to use the SPI bus or something else is calling SpiByte.write() when the resource is not

[Tinyos-help] Message types supported by Multihop

2007-03-14 Thread sunchao
Hello: I'm a little confused while reading MultiHopRouter.nc in TinyOS 1.0. Just before the declaration of interface Receive[uint8_t id], it says that: The interface are as parameterised by the active message id. only the 10 active message ids defined MultiHop.h are supported. I don't quite

[Tinyos-help] Java app not receving abck and packets

2007-03-14 Thread Spidernet Lists
Hi, When i am trying to run java TestSerial -comm serial@/dev/ttyS0:micaz It just sends the packets and is not receiving anything back.. what can be the issue??? I also installed Minicom on my Linux box but it does not receive or do anything Has anyone worked in it?? Can anyone tell

Re: [Tinyos-help] tinyos2 cc2420lpl locked-up node

2007-03-14 Thread Philip Levis
On Mar 14, 2007, at 7:16 PM, Jonathan Hui wrote: Hi Roman, Thanks for discovering and looking into this problem. From the description you gave us, it does look like the radio is already disabled. My guess is that the radio stack is incorrectly trying to use the SPI bus or something else is

[Tinyos-help] java net.tinyos.tools.MsgReader

2007-03-14 Thread Jane
I'm having problem with java net.tinyos.tools.MsgReader. Following is the output. I have done everything according the tutorial, but it hangs at resynchronising.Could someone help? Thank you. :~/opt/tinyos-2.x/apps/tutorials/BlinkToRadio yanyanwang$ java net.tinyos.tools.MsgReader

[Tinyos-help] Help - NoClassDefFoundError: javax/comm/SerialPortEventListen...........

2007-03-14 Thread preeti k
Hello, I am using tinyos1.x on cygwin. I need to experiment with mote to pc communication. I am following the instructions in lesson 6. When i try to run the Listen class , i get the following exception. $ java net.tinyos.tools.Listen Exception in thread main java.lang.NoClassDefFoundError:

[Tinyos-help] failed dependency error

2007-03-14 Thread Bhuvaneswari Ramkumar
Hi All, I'm trying to install the msp430tools-base on cygwin for tinyos-2.0 I try this : rpm -ivh msp430tools-base-0.1-20050607.cygwin.i386.rpm I have even tried the ignoreos and nodefs options but i keep getting the same error : error: Failed dependencies: /bin/sh is needed by

[Tinyos-help] Help - NoClassDefFoundError: javax/comm/SerialPortEventListen...........

2007-03-14 Thread preeti k
Hello, I am using tinyos1.x on cygwin. I need to experiment with mote to pc communication. I am following the instructions in lesson 6. When i try to run the Listen class , i get the following exception. $ java net.tinyos.tools.Listen Exception in thread main java.lang.NoClassDefFoundError: