Re: [Tinyos-help] iris muti-motes transmission help

2010-06-22 Thread Fabrice Dossin
Yes, I have found my nodes alive this morning. It works great. Thank you. Kind regards, Fabrice On 22 June 2010 00:41, Miklos Maroti mmar...@math.u-szeged.hu wrote: Try adding CFLAGS += -DTASKLET_IS_TASK to your makefile. No, it is not just for the base station. Most of the radio

Re: [Tinyos-help] Parametrized interfaces - compilation problem

2010-06-22 Thread Manjunath Doddavenkatappa
Please check the following thread. http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-July/027044.html Also, may be Filter.nc that you have pasted here is not /home/xubuntos/workspace/DirectedDiffusion/src/interfaces/Filter.nc. If so please change the compiler path to include

Re: [Tinyos-help] Parametrized interfaces - compilation problem

2010-06-22 Thread Simon Kellner
* Avelorn Bazyl [2010-06-21 11:26 +0200]: Please if anyone have any idea why I am having problems during compilation of my code described below please HELP me! I am trying to crack this problem by analyzing my code and any other programs that I can put my hands on but till now I haven't been

[Tinyos-help] need clarification about sim_time on Tossim

2010-06-22 Thread Sam Azzaro
Hi all, i want to determinate the sim_time of an appliaction on Tossim but i always get the same one wich is the time when starting boot! administrat...@v8fmk15ebx5la4b /opt/tinyos-2.x-contrib/crypto/apps/My_app$ pythonPython 2.5.1 (r251:54863, May 18 2007, 16:56:43)[GCC 3.4.4 (cygming

[Tinyos-help] (no subject)

2010-06-22 Thread idrees hussein
Dear Yusnaida, These values from through -25 is the signal strength (power) sent message at receiving node,so these values are in dBm. If the signal strength sent message at receiving node is less than -94dBm ,then this value will be assumed as noise. dBm = RSSI_VAL -20. Hopes it helps Idrees

Re: [Tinyos-help] need clarification about sim_time on Tossim

2010-06-22 Thread LIU Yu
*sim_time()* returns the number of (virtual) ticks spent since the beginning of simulation. Its value is only increased upon various *events*, and the incremented value is determined by respective models (i.e. tos/lib/tossim/*Model*). For example, the increment of *sim_time* caused by packet

Re: [Tinyos-help] background on how interrupts invoke nesc code

2010-06-22 Thread James Millar
Will do. -james From: Eric Decker [mailto:cire...@gmail.com] Sent: Monday, June 21, 2010 4:04 PM To: James Millar Cc: Michael Schippling; tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] background on how interrupts invoke nesc code The off by one is pretty strange. Please report

Re: [Tinyos-help] TestSecurity

2010-06-22 Thread JeongGil Ko (John)
John, Can you confirm what the node IDs are for each node in your experiments? The if you read the README file in TestSecurity you'll be able to see that the RadioCountToLeds app for TestSecurity sets the node as a transmitting node if the node ID is 1 and a receiving node otherwise. Please

[Tinyos-help] How to extend TOSSIM uninvasively?

2010-06-22 Thread LIU Yu
Greetings, I am working on an extension to TOSSIM. The idea is to bind Sensor components to external data sources (i.e. synthetic data generators or DB tables containing real historical data). With such an extension, data management algorithms for WSN can be evaluated in a more thorough way.  As

[Tinyos-help] porting of sqlite to tinyos

2010-06-22 Thread Vezzali.Barbara***
hi, i want to port sqlite in an application in tinyos, but the application doesn't want to compile the library. the amalgamation version of sqlite is composed of shell.c, sqlite3.c sqlite3.h e sqlite3ext.h. I have found 2 solutions: 1-i have included the header of the amalgamation version of

Re: [Tinyos-help] porting of sqlite to tinyos

2010-06-22 Thread LIU Yu
Linking additional libraries / object files to a TOSSIM application is definitely *possible*. You may want to read this recipe by Konrad Iwanicki: https://www.millennium.berkeley.edu/pipermail/tinyos-devel/2009-May/003817.html -- LIU Yu On Tue, Jun 22, 2010 at 6:55 AM, Vezzali.Barbara***

[Tinyos-help] slam to all

2010-06-22 Thread sania aziz
1. #ifndef MAXNAKWINSZ #define MAXNAKWINSZ 20 #endif 2. #ifdef TOSSIM char simtime[50]; #define printTime(simtime,50) #else #define GET_SIMTIME #endif plz explain thesecode segments of nesC one by one for me in general . regards. ___

[Tinyos-help] mote-mote radio communication on Tossim

2010-06-22 Thread Sam Azzaro
Hello, I have a cryptoghraphic application consisting on simulating radio communication between two motes.the first has to Set up the key, encrypt and send the message encoded.the second mote, receive the message , decrypt it, then print it. i tried to write my application by following the

Re: [Tinyos-help] TinyOS-PORTING A LIBRARY TO TINYOS

2010-06-22 Thread vezzali_barbara
hi, i want to port sqlite in an application in tinyos, but the application doesn't want to compile the library. the amalgamation version of sqlite is composed of shell.c, sqlite3.c sqlite3.h e sqlite3ext.h. I have found 2 solutions: 1-i have included the header of the amalgamation version of

Re: [Tinyos-help] Questions about Implementing Jamming Signals

2010-06-22 Thread Miklos Maroti
Hi Vivek, Yes it is possible, but you will have to write some code by yourself. If you really want to control everything, then you have to write your own appication layer on top of the RF230DriverLayerP.nc. An alternate good solution would be: Modify RF230RadioC and remove from the layers the

Re: [Tinyos-help] call UartPacket.clear() in Base Station

2010-06-22 Thread Philip Levis
On Jun 7, 2010, at 12:21 AM, Xiaohui Liu wrote: Hi all, Why is it necessary to call UartPacket.clear(msg) in uartSendTask() task of BaseStationP? I don't see why uart message header has to be reset to be all zero, which is exactly what UartPacket.clear() does. Thanks. Because that

Re: [Tinyos-help] Interacting with a running TOSSIM Simulation (TinyOS 2.X)

2010-06-22 Thread Philip Levis
On Jun 17, 2010, at 2:11 AM, LIU Yu wrote: TOSSIM programs can invoke C functions, which means they can do anything and everything like reading data files or interacting with a synthetic data generator. In this regard, to create a simulation-only module implementing the Read interface is

Re: [Tinyos-help] Globals --

2010-06-22 Thread Michael Schippling
Err. Uh...Wot? That second paragraph appears to have fairly standard English syntax and grammar but makes absolutely no sense to me. Are you using an auto-reply generator? The points I was trying to make are, A) yes, one can declare and use global variables; B) this has to be done in header

Re: [Tinyos-help] generic behavior in a non-generic component

2010-06-22 Thread Philip Levis
On Jun 18, 2010, at 7:09 PM, Pedro Nunes wrote: Hello, Eric. First of all, sorry for the misunderstanding -- I forgot to mention I was working with TOSSIM. I've been trying to find the piece of code responsible for instantiating the several motes used within a simulation. I was

Re: [Tinyos-help] How to extend TOSSIM uninvasively?

2010-06-22 Thread Philip Levis
On Jun 22, 2010, at 5:51 AM, LIU Yu wrote: Greetings, I am working on an extension to TOSSIM. The idea is to bind Sensor components to external data sources (i.e. synthetic data generators or DB tables containing real historical data). With such an extension, data management algorithms

Re: [Tinyos-help] Globals --

2010-06-22 Thread Eric Decker
On Tue, Jun 22, 2010 at 9:30 AM, Michael Schippling sc...@santafe.eduwrote: Err. Uh...Wot? That second paragraph appears to have fairly standard English syntax and grammar but makes absolutely no sense to me. Are you using an auto-reply generator? sorry, forgot to turn off the AI :-) The

Re: [Tinyos-help] BLIP issue: Delayed detection of motes after basestation reboot

2010-06-22 Thread Stephen Dawson-Haggerty
You have the story basically right -- when a new mote comes up, it solicits rapidly to find a network and join. Once it joins, it transmits link information to the LBR to allow it to form a topology. Once the node as formed stable links, it sends topology updates at a reduced rate. Thus, if the

[Tinyos-help] how to format telosb flash in tinyos-2.x

2010-06-22 Thread Kartik Siddhabathula
Hi All, Am using tinyos-2.x and wan't to format the flash. How can I do it? Thanks in advance, Kartik ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TOSSIM @ TinyOS 2.1.1

2010-06-22 Thread Philip Levis
On May 31, 2010, at 6:04 PM, Pedro Nunes wrote: Hi, Phil. Thanks for your reply. I agree with what you said. -- Within TossimActiveMessageC I did change the previous call of Model.send to: err = call Model.send((int)addr, amsg, len + sizeof(tossim_header_t) +

[Tinyos-help] Dissemination synchronisation

2010-06-22 Thread Peng Du
Hi. I would like to let the BaseStation periodically changes its channel and keep the communication with nearby motes (assuming the number and ID of these motes are known). How can I use the Dissemination protocol to let the BaseStation know every other motes are ready to change the channel

Re: [Tinyos-help] How to extend TOSSIM uninvasively?

2010-06-22 Thread LIU Yu
Hi, Phil, Thank you so much for the help. -- LIU Yu On Tue, Jun 22, 2010 at 9:15 AM, Philip Levis p...@cs.stanford.edu wrote: On Jun 22, 2010, at 5:51 AM, LIU Yu wrote: Greetings, I am working on an extension to TOSSIM. The idea is to bind Sensor components to external data sources

[Tinyos-help] Digital I/O on MicaZ

2010-06-22 Thread conquer34
I have a micaz mote with a mda300 sensor board. I was wondering how I take readings from the digital input lines (D7-D0). Do these lines correspond to a port on the Atmega chip and if so can I read the pin's state like I normally would on an atmel chip (i.e. i=PINB) or does TinyOS have a