[Tinyos-help] need help i am stuck in using tossim

2009-07-24 Thread shermeen adnan
i am using tinyos 2.1 i don't know what commands to use after successfully building library using make micaz sim. i am trying to work on BlinkToRadio application but don't know what commands to use in python is there any ref manual of commands used in TOSSIM plz help ___

Re: [Tinyos-help] Reproducible TOSSIM simulations

2009-07-24 Thread Yee Wei Law
Sorry Phil, you're right, it's a stupid mistake of mine. Calling the Python function seed() before randint() solves my problem. Thank you. 2009/7/25 Philip Levis > > On Jul 23, 2009, at 6:52 PM, Yee Wei Law wrote: > > >> >> The times are different. Now, I did use randint() to randomize the tim

Re: [Tinyos-help] Software Reset in T2 for telosb

2009-07-24 Thread George, Mike
Take a look at Reset.* in TOSROOT/apps/IPBaseStation or http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x/apps/IPBaseStation/ Good luck, Mike - Original Message - From: "himanshu barve" To: tinyos-help@millennium.berkeley.edu Sent: Friday, July 24, 2009 1:00:50 PM GMT -06:00 U

Re: [Tinyos-help] Software Reset in T2 for telosb

2009-07-24 Thread Michael Schippling
oopswe're talking MSP, not ATMEGA...I've been fighting the ATMEGA for the last couple weeks so I didn't even get the clue in the Subject... duh MS Alan Marchiori wrote: > "After a POR, the initial MSP430 conditions are: > > > > Program counter (PC) is loaded with address contained at reset

Re: [Tinyos-help] Radio packet to Serial conversion

2009-07-24 Thread Inco Mull
Radio packets and serial packets are two different animals. They might contain some of the same fields, but there's necessarily not a one-to-one relationship. What developers usually do is the following: 1) they receive a radio packet 2) they "extract" the payload and identify its various fields

Re: [Tinyos-help] Software Reset in T2 for telosb

2009-07-24 Thread Alan Marchiori
"After a POR, the initial MSP430 conditions are: Program counter (PC) is loaded with address contained at reset vector location (0FFFEh). CPU execution begins at that address." from: MSP430x1xx Family User's Guide (SLAU049F) dated 2006 page 2-5 Other MCU's do use a reset vector of 0x0, but not

Re: [Tinyos-help] Software Reset in T2 for telosb

2009-07-24 Thread Michael Schippling
Nope...I hadda go look...RESET vector is at 0x But the WDTCTL this is the best bet for easy. I couldn't remember it, thanks. MS Alan Marchiori wrote: > On Fri, Jul 24, 2009 at 12:26 PM, Razvan Musaloiu-E. > wrote: >> Hi! >> >> On Fri, 24 Jul 2009, himanshu barve wrote: >> >>> I am looking fo

Re: [Tinyos-help] tos2 message_t header

2009-07-24 Thread Inco Mull
Message_t makes many types of frames "coexist". It takes different forms depending on the kind of chip. The C2420 Chip talks 802.15.4. You will find all the documentation about the PHY and MAC layer fields in the standards which are all freely downloadable from the links of http://en.wikipedia.o

Re: [Tinyos-help] MultiHopLEPSM query

2009-07-24 Thread bharat naik
Hi, Thanks Om. I was thinking of using receiveEst to centre on a node failure. As you correctly pointed out, it takes time. Specifically, it took 3 minutes for the receiveEst to be decreased exponentially. However, other than failure is there any other case where receiveEst may decrease e

Re: [Tinyos-help] Aggregation message

2009-07-24 Thread Omprakash Gnawali
On Fri, Jul 24, 2009 at 7:48 AM, Rémi Villé wrote: > Hi, > > I try to aggregate values sent by mote using CTP. > > In the example MultihopOscilloscope, the aggregation is made by sending 5 > readings in one message every 1024 ms. I would like to aggregate values > using their similarity, ie saying

Re: [Tinyos-help] TEP 105, B-MAC/LPL and CC1000

2009-07-24 Thread Alan Marchiori
The TOS documentation site was down. but now it's back up again. On Fri, Jul 24, 2009 at 10:51 AM, Eric Decker wrote: > I just tried clicking on the link below with out any problem. > eric > > On Fri, Jul 24, 2009 at 6:06 AM, Agnelo Silva wrote: >> >> I would like to know if someone has the TEP1

Re: [Tinyos-help] Software Reset in T2 for telosb

2009-07-24 Thread Alan Marchiori
On Fri, Jul 24, 2009 at 12:26 PM, Razvan Musaloiu-E. wrote: > Hi! > > On Fri, 24 Jul 2009, himanshu barve wrote: > >> I am looking for an interface that would allow me to reset the entire >> mote** (clear all the CPU registers and data memory and restart) and I >> would like to do this through soft

Re: [Tinyos-help] MultiHopLEPSM query

2009-07-24 Thread Omprakash Gnawali
On Thu, Jul 23, 2009 at 10:52 AM, bharat naik wrote: > Hi, > > Is there any way in which a parent can know if its child has failed? > What should the modification to MultiHopLEPSM be? > Also, during a simulation, I was failing node  'x' at time 0:5:58. > (using Tython). However, even afte

Re: [Tinyos-help] Software Reset in T2 for telosb

2009-07-24 Thread Razvan Musaloiu-E.
Hi! On Fri, 24 Jul 2009, himanshu barve wrote: > I am looking for an interface that would allow me to reset the entire > mote** (clear all the CPU registers and data memory and restart) and I > would like to do this through software instead of powering the mote > off and on. > > In T1 Reset inter

Re: [Tinyos-help] Software Reset in T2 for telosb

2009-07-24 Thread Michael Schippling
Branching to address 0 usually does a reset. Look at watchdog functions for a way to deal with mote-wedging. I expect that you won't be receiving messages if you are in a condition that requires resetting... MS himanshu barve wrote: > /I am looking for an interface that would allow me to reset t

[Tinyos-help] Software Reset in T2 for telosb

2009-07-24 Thread himanshu barve
*I am looking for an interface that would allow me to reset the entire mote** (clear all the CPU registers and data memory and restart) and I would like** to do this through software instead of powering the mote off and on.* * In T1 Reset interface was available . I couldnt find any such interface

Re: [Tinyos-help] Retrieve tx power level on Iris mote in RssiDemo

2009-07-24 Thread Michael Schippling
C is unforgiving in it's approach to variable declarations: They all have to be at the beginning of the function block. Try: RssiMsg* buf; tx_power = call PacketTransmitPower.get(&msg); buf = (RssiMsg*)(call RssiMsgSend.getPayload(&msg, sizeof(RssiMsg))); MS David Li wrote: > Hi, > > I am tryin

Re: [Tinyos-help] Oscilloscope on MIB520 with iris motes

2009-07-24 Thread Michael Schippling
Also with the MIB520 the serial port is 1+ the port used during programming. So make sure you are using ttyUSB1 with Listen. MS Janos Sallai wrote: >> I can program the base station, Blink application works fine. But I >> think I can't program iris motes because when i execute: >> make iris inst

[Tinyos-help] Retrieve tx power level on Iris mote in RssiDemo

2009-07-24 Thread David Li
Hi, I am trying to read the tx power on the Sending mote in the RssiDemo code. The strange thing is if I do: message_t msg; RssiMsg* buf = (RssiMsg*)(call RssiMsgSend.getPayload(&msg, sizeof(RssiMsg))); tx_power = call PacketTransmitPower.get(&msg); Then everything compiles OK. But if I reverse

Re: [Tinyos-help] TEP 105, B-MAC/LPL and CC1000

2009-07-24 Thread Eric Decker
I just tried clicking on the link below with out any problem. eric On Fri, Jul 24, 2009 at 6:06 AM, Agnelo Silva wrote: > I would like to know if someone has the TEP105 (TEP 105: Low Power > Listening ). The > link http://www.tinyos.net/tin

Re: [Tinyos-help] Reproducible TOSSIM simulations

2009-07-24 Thread Philip Levis
On Jul 23, 2009, at 6:52 PM, Yee Wei Law wrote: > > > The times are different. Now, I did use randint() to randomize the > times as such: > > t.getNode(0).bootAtTime(1*t.ticksPerSecond()) > for i in range(1, nNodes): > t.getNode(i).bootAtTime(randint(0, 1*t.ticksPerSecond())) > > But I though

[Tinyos-help] CC1000RadioIntM.nc

2009-07-24 Thread fari janjua
Hi everyone   Actually i am working on the bulit in program of CC1000RadioIntM.nc but this MAC laye uses CSMA can any one help me to convert it into simple ALOHA scheme.  Regards  M Farrukh Get your new Email address! Grab the Email name you've always wanted before someone else does! ht

Re: [Tinyos-help] Oscilloscope on MIB520 with iris motes

2009-07-24 Thread Janos Sallai
> I can program the base station, Blink application works fine. But I > think I can't program iris motes because when i execute: > make iris install.5063 mib520,/dev/ttyUSB0 # In blink apps folder > > Blink apps is setup on the base station and not on the 5063 iris mote. You need to physically att

[Tinyos-help] Aggregation message

2009-07-24 Thread Rémi Villé
Hi, I try to aggregate values sent by mote using CTP. In the example MultihopOscilloscope, the aggregation is made by sending 5 readings in one message every 1024 ms. I would like to aggregate values using their similarity, ie saying in a message that, for example, mote 5, 6 and 7 have sensed the

[Tinyos-help] 'make micaz sim' errors

2009-07-24 Thread Matthew Bell
Hi, I have recently installed TinyOS, and I want to use TOSSIM. I've had a look in the archives but none of them seem to give a real solution.. Basically 'make micaz sim' works a few of the applications given but not for others (like RadioCountToLeds/RadioSenseToLeds) The errors given are eithe

[Tinyos-help] TEP 105, B-MAC/LPL and CC1000

2009-07-24 Thread Agnelo Silva
I would like to know if someone has the TEP105 (TEP 105: Low Power Listening). The link http://www.tinyos.net/tinyos-2.x/doc/html/tep105.html is broken. Any additional information about B-MAC/LPL implementation over CC1000/Tinyos 1.1.4 (or sup

[Tinyos-help] Oscilloscope on MIB520 with iris motes

2009-07-24 Thread Rover Arnaud
Hi TinyOS Users, I recently aquire a Crossbow stater kit composed of a MIB520 base station and 2 iris nodes. I have installed tinyOS 2.1.0 on a Ubuntu machine and I tried to setup some programs on my sensors. Here is my problem, now, when I lauch the Listen java application I have no outputs .

[Tinyos-help] confusing with the sleep atomic block

2009-07-24 Thread 张荣雨
Hi, I used to record the moment the CPU go to sleep and wake up,and compute the sleep time and wake up time.And in the task loop the code like this:   atomic   {  while ((nextTask = popTask()) == NO_TASK)  {   sleep_Flag =TRUE;    /   s_Moment = cal

[Tinyos-help] confusing with the sleep atomic block

2009-07-24 Thread 张荣雨
Hi, I used to record the moment the CPU go to sleep and wake up,and compute the sleep time and wake up time.And in the task loop the code like this:   atomic   {  while ((nextTask = popTask()) == NO_TASK)  {   sleep_Flag =TRUE;    /   s_Moment = cal

[Tinyos-help] confusing with the sleep atomic block

2009-07-24 Thread 张荣雨
Hi, I used to record the moment the CPU go to sleep and wake up,and compute the sleep time and wake up time.And in the task loop the code like this:   atomic   {  while ((nextTask = popTask()) == NO_TASK)  {   sleep_Flag =TRUE;    /   s_Moment = cal

[Tinyos-help] Simulator for IRIS motes

2009-07-24 Thread laptopcss
Hallo together, I work with the IRIS motes from Xbow. I already have experiences with the simulators Avrora and TOSSIM used during my work with Mica2 motes. Now I recognized that those simulators cant be used for IRIS motes. Thus, the following question to the experts: Does anyone know a simul