[Tinyos-help] Visualization tool for TinyOs 2.x

2009-11-09 Thread mojtaba raznahan
Hi, Is there any Visualization tool for TinyOs 2.x ? I heard TinyViz doesn't work with TinyOs 2.x. Simulating with just TOSSIM is not very sensible... and i want to see what are my algorithms doing . And at this point, what other people do for visualization in TinyOs 2.x ? Recently I found a frame

Re: [Tinyos-help] Power consumption in MICAZ motes

2009-11-09 Thread Henrik Mäkitaavola
Hi Suresh, If you are only interested in the power consumption of the ATMEGA128 you can probably find those values in its data sheet. /Henrik 2009/11/9 Suresh Mathew > Hi, > > I am looking for the following power consumption values in the MicaZ motes. > Approximate values is more than enough f

[Tinyos-help] packet ack

2009-11-09 Thread giorgio
I have a node that send packet to a base station and use packet acknoledge to know if a packet it is send or not .So I use CC2420ActivemessageC as component and use his interface PacketAcknowledgements : what I don't understand is why sometimes not always when the node sender not receive the ack

[Tinyos-help] ActiveMessageC and SerialActiveMessageC

2009-11-09 Thread Ricardo .
Hello everyone , I'm having some difficulty in debug my application. My question is if the component ActiveMessageC can be used with the component SerialActiveMessageC, without interfere with each other? In my application when the event AMSend.sendDone (message_to * BufPtr, error_t error) is sign

[Tinyos-help] printf example - EnergyIndicator.isReceiving()

2009-11-09 Thread Nils T. Kannengießer
Hello, I like to use the function EnergyIndicator.isReceiving() for getting the CCA Value of a node. I was trying to use it in the printf example of the tutorials, but I got an error that EnergyIndicator is not defined. So I guess there is an include file missing. How can I add the function to t

[Tinyos-help] tos_state.tos_time in T2

2009-11-09 Thread wafa jaballah
hi all, what is the analog of "tos_state.tos_time" in tinyos2.x? Thanks, -- Wafa Ben Jaballah ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] AMSend.sendDone event isn't signaled...

2009-11-09 Thread mojtaba raznahan
Hi, Im writing a simple application to test send and receive of motes .AMSend.send command works but AMSend.sendDone event isn't signaled after sending so the busy flag does'nt change to false. and in the next time the AMSend.send command does not return SUCCESS . this is my code : event void Boo

Re: [Tinyos-help] AntiTheft application failed to compile...

2009-11-09 Thread mojtaba raznahan
Hi, Thanks for reply. make micaz wokrs fine but make micaz sim ,give me alot of errors. You're right the problem is tossim. Thank you anyway 2009/11/9 Viktor Zsoldos > First you should try to compile without sim (so simply 'make micaz'), if > it works fine, than the problem is with tossim. TOSS

Re: [Tinyos-help] Visualization tool for TinyOs 2.x

2009-11-09 Thread Mehmet Akif Antepli
Hi, You can have a look at "Octopus" application in the following link; http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x-contrib/ucd/ I have been using it for a long time. You have to play with payload struct in order for the gui to communicate with your network. All the best, -- Mehm

[Tinyos-help] Collect sensor data

2009-11-09 Thread Zé Pedro Espogeira
Hi im from computer science area, so my understanding of electronics is not very deep. :) in my school project i got to collect data from sensors (in a micaz based mote) but this sensors were developed by a group of fellow students, so my questions is how must i do to get the data? do i

[Tinyos-help] ReadStream.read TestADC

2009-11-09 Thread Akankshu Dhawan
Hi All I am trying to test the TestADC example that is a part of TinyOS-2.x and it seems to be working fine with sampling period 1000 microseconds and DemoSensorStreamC . I am using MTS310CB as my sensorboard and MICAZ motes. Even for sampling periods as low as 100 microseconds the default setup wo

Re: [Tinyos-help] Visualization tool for TinyOs 2.x

2009-11-09 Thread mojtaba raznahan
Hi Mehmet, Thanks you very much. I'll try this application .I will ask you again,If i hade a problem using this. Best Regards, On Mon, Nov 9, 2009 at 9:23 PM, Mehmet Akif Antepli wrote: > Hi, > > You can have a look at "Octopus" application in the following link; > http://tinyos.cvs.sourceforge

Re: [Tinyos-help] Problem with Tymo

2009-11-09 Thread Romain Thouvenin
I think it's not related to Tymo, but to your configuration of AMSenderC. You should provide an implementation of AMSend events (sendDone) to AMSenderC. For example (after upda: ClientM.AMSend -> AMSenderC On Sun, Nov 8, 2009 at 2:28 AM, francisco cassimiro wrote: > Yes. The configuration is thi

Re: [Tinyos-help] Problem with Tymo

2009-11-09 Thread Romain Thouvenin
Sorry, wrong manip. For example, after updating ClientM as needed: ClientM.AMSend -> AMSenderC Hope this helps, Romain On Mon, Nov 9, 2009 at 8:48 PM, Romain Thouvenin wrote: > I think it's not related to Tymo, but to your configuration of AMSenderC. > You should provide an implementation of A

Re: [Tinyos-help] problem using both Collection and TYMO protocol together

2009-11-09 Thread Romain Thouvenin
Just to let the list know. On Sat, Nov 7, 2009 at 2:15 PM, Vikram vik76 wrote: > Thanks for the reply, Romain. > The problem has been solved.  I was using the same packet variable > (message_t) which led to this problem. > > Regards > Vikram > > On Sat, Nov 7, 2009 at 5:37 PM, Romain Thouvenin >

Re: [Tinyos-help] packet ack

2009-11-09 Thread Razvan Musaloiu-E.
Hi! On Mon, 9 Nov 2009, giorgio wrote: > I have a node that send packet to a base station and use packet acknoledge to > know if a packet it is send or not .So I use CC2420ActivemessageC as component > and use his interface PacketAcknowledgements : > what I don't understand is why sometimes not a

Re: [Tinyos-help] ActiveMessageC and SerialActiveMessageC

2009-11-09 Thread Razvan Musaloiu-E.
Hi! On Mon, 9 Nov 2009, Ricardo . wrote: > Hello everyone , > > I'm having some difficulty in debug my application. My question is if the > component ActiveMessageC can be used with the component > SerialActiveMessageC, without interfere with each other? > > In my application when the event AMSen

[Tinyos-help] actualPeriod and looping ReadStream

2009-11-09 Thread Akankshu Dhawan
Hi All I am trying to call readStream.read(100) from the readStream.readDone through a task the code snippet is as follows : event void ReadStream.readDone(error_t result, uint32_t actualPeriod) { if (result == SUCCESS && streamSuccess) { call Leds.led2Togg

Re: [Tinyos-help] Collect sensor data

2009-11-09 Thread Michael Schippling
Read the TOS doc/tutorial. Then look at some of the other demo apps like Sense and Oscilloscope, and trace through how the DemoSensor component works (tracing it out is not easy to do but it is actually fairly easy to implement...). If all you need is an ADC input then the ACCC component is what yo

[Tinyos-help] Using memories

2009-11-09 Thread David Rodenas Herráiz
Hi all Imote2 has 32 MB of FLASH memory and 32MB of SDRAM. Which of these memories, FLASH or SDRAM, is faster? I searched that in the datasheet but I did not find it. How can I use anyone of them? I need to store large data structures. Regards David

Re: [Tinyos-help] packet ack

2009-11-09 Thread Giorgio Galassi (giorgio.galassi)
I send 3 packet (length 28 byte)of 1 that is 84 ones then I send 3 packets of 2s and go on untill 100 .So I think of receive at the basestation 84 ones then 84 twos then 84 threes untill 100 but sometimes I received 84 ones and then 92 twos for example and then 84 trees .I don't understand w

Re: [Tinyos-help] Howto patch msp430-gcc to accept "$" as names?

2009-11-09 Thread Vlado Handziski
As long as you use a recent nesC release, and work from the top of the cvs tree, you don't need a patched binutils anymore. The default nesc separator has been changed to "__". Vlado On Fri, Nov 6, 2009 at 20:42, Till Maas wrote: > Hi again, > > On Fri, Nov 06, 2009 at 07:54:14PM +0100, Till M

[Tinyos-help] Access sound sensor from a TMoteInvent?

2009-11-09 Thread Martin Osterloh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I'm looking at the moment for a simple program for the usage of the sound sensor of a TMoteinvent. I basically want to read soundsensor data periodically. Nothing more Is there any demo shipped within TinyOS or does somebody have any clu

Re: [Tinyos-help] Using memories

2009-11-09 Thread Paul Johnson
David, In general, SDRAM will be much faster than FLASH memory. If you need detailed timing information you need to look on your imote for the chips that are used for FLASH/SDRAM and look up the manufacturer's datasheets (not crossbow's datasheet which is more like an advertisement for the i

[Tinyos-help] AlarmMicro32C in SoundLocalizer Tinyos-2.x

2009-11-09 Thread Akankshu Dhawan
Hi I was trying to get high sampling from the MICAZ motes and MTS310CB sensorboard by using some ideas from the SoundLocalizer in tinyos-2.x-contrib (Also part of tinyos programming) I would be really grateful to anyone who can help me with some questions that I had run into 1. This is suppose to

Re: [Tinyos-help] AlarmMicro32C in SoundLocalizer Tinyos-2.x

2009-11-09 Thread Paul Johnson
Akankshu, As for your Question #1, there is an AlarmMicro32C it's just in the tos.platforms.mica.AlarmMicro32C directory. For Question #2, I haven't looked closely at the SoundLocalizer program, it basically samples the ADC as fast as possible. When it detects that the current sample is gre

Re: [Tinyos-help] PC to Mote using TOSSIM

2009-11-09 Thread Yee Wei Law
Sure, you just need to use Tossim Live, which simulates passing data between PC and the mote via the serial port. http://docs.tinyos.net/index.php/TOSSIM_Live 2009/10/31 Vikram vik76 > Hello, > Can be run and test applications involving PC to Mote communication using > TOSSIM? > Like debugging

Re: [Tinyos-help] Howto patch msp430-gcc to accept "$" as names?

2009-11-09 Thread Vinai Sundaram
You can try -fdollars-in-identifiers option to msp430-gcc. Or make nesC to use "__" by adding "PFLAGS += -fnesc-separator=__" to your TinyOS application makefile. Vinai On Mon, Nov 9, 2009 at 5:00 PM, Vlado Handziski wrote: > As long as you use a recent nesC release, and work from the top of

Re: [Tinyos-help] AMSend.sendDone event isn't signaled...

2009-11-09 Thread mojtaba raznahan
Any help? I also tested the "RadioCountToLedsC" application but the AMSend.sendDone event isn't signaled! Whats the problem ? Thanks On Mon, Nov 9, 2009 at 7:23 PM, mojtaba raznahan wrote: > Hi, > > Im writing a simple application to test send and receive of motes > .AMSend.send command works

[Tinyos-help] posting two buffers inside bufferDone

2009-11-09 Thread Akankshu Dhawan
Hi All I am trying to get a continuous sampling using ReadStream and thus I need to post multiple buffers I know I need to post the buffers when bufferDone gets signalled. To switch between the two buffers I am using an IF condition. I would be grateful to anyone who can tell me what I am doing wr

Re: [Tinyos-help] packet ack

2009-11-09 Thread Razvan Musaloiu-E.
Hi! On Mon, 9 Nov 2009, Giorgio Galassi (giorgio.galassi) wrote: > I send 3 packet (length 28 byte) of 1 that is 84 ones then I send 3 > packets of 2s and go on untill 100 .So I think of receive at the > basestation 84 ones then 84 twos then 84 threes untill 100 but > sometimes I received 8

Re: [Tinyos-help] Tiny0S2.1 and TinySec

2009-11-09 Thread sissou
Hello, There is an implementation of TinySec for CC2420 at : http://www.cl.cam.ac.uk/research/security/sensornets/tinysec/ I don't know if it works with TinyOs2.x or 1.x. but it should since it was released after 2007. Regards. Sylvain. On Sat, 2009-11-07 at 17:20 -0800, Dan Vu wrote: > Hello, >

[Tinyos-help] posting buffers inside bufferDone

2009-11-09 Thread Akankshu Dhawan
Hi All I would really appreciate if someone can reply and guide me with this I have read that readDone is signaled when no more buffers are left posted, and if we post multiple buffers in bufferDone then readStream.read continue reading from the ADC and does not need to be called again ? (Please