[Tinyos-help] Problem with TOSSIM

2007-12-19 Thread Lorenzo Mainardi
Hi everybody, I'm triyng to run up TOSSIM in an Ubuntu Box with Python 2.5. So, all the compilation process is going right, but when I try to import the TOSSIM module I obtain this error: >>> import TOSSIM Traceback (most recent call last): File "", line 1, in File "TOSSIM.py", line 4, in

[Tinyos-help] TinyOS and EX430 Chronos

2009-12-03 Thread Lorenzo Mainardi
le I found this link (http://tinyos.cvs.sourceforge.net/viewvc/*checkout*/tinyos/tinyos-2.x-contrib/fdwdc/index.html) on TinyOS contrib project, but it seems to be down. Where I can find this code? Regards -- LORENZO MAINARDI Email: lorma...@gmail.com Linux Registered User: 461615 Key Fingerprint:

[Tinyos-help] Problem to compile

2006-11-06 Thread Lorenzo Mainardi
Hello, I have installed TinyOS-1.x and Tossim/TinyViz in a Ubuntu laptop. The simulation works fine, if I do "make pc" that's work with no problem. When I try to compile for micaz platform I obtain this error: TestTinyVizM.nc:90: conflicting types for `SendMsg.sendDone' /home/lorenzo/Tesi/tinyo

[Tinyos-help] Hash Function

2006-11-08 Thread Lorenzo Mainardi
Hi, I developing a distributed authentication protocol for Wireless Sensor Network. I need an hash function, I saw in a previous posts that RC5 was implemented in TinyOS, where I can find it? If I cannot use it, can I initialize the standard random number generator with a seed, instead the default

[Tinyos-help] Some questions about TinySec

2006-11-10 Thread Lorenzo Mainardi
Hello everibody, I developing a secure distributed authentication protocol for Wireless Sensor Network.I find TinySec, that provides a cryptographic layer for TinyOS. I want to know:1)I need an efficient hash function(or also a good random number generator, but I should initialize it with some seed

[Tinyos-help] Error compiling TestTinySec on micaz platform

2006-11-16 Thread Lorenzo Mainardi
Hi, I try to compile in TestTinyViz for micaz platform; when I do 'make pc' it works fine, with some warnings. When i try to compile for micaz platofrm I obtain this: TestTinySecM.nc: In function `StdControl.init': TestTinySecM.nc:72: `TINYSEC_ENCRYPT_AND_AUTH' undeclared (first use in this functi

[Tinyos-help] TestTinySec on micaz not work

2006-11-16 Thread Lorenzo Mainardi
Hello, I try to compile TestTinySec apps on micaz platform. I'm able to compile on pc, mica, mica2, but not for micaz(and my testbed is just based on it).I receive the same output in a windows box and on a Linux box. This is the output, it seems that it does not find some headers or libraries: [E

[Tinyos-help] Micaz & AES

2006-11-16 Thread Lorenzo Mainardi
I check that TinySec framework does not work on Micaz, but I can use an hardware implementation of AES. Do you know how I could use that? LORENZO ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bi

[Tinyos-help] Computational costs

2006-11-19 Thread Lorenzo Mainardi
Hello everybody, I need to know how is the computational costs of arithmetic folating point operations and integer arithmetic operations. I will use a micaz platform.Could you help me? Thank you LORENZO ___ Tinyos-help mailing list Tinyos-help@Millennium

[Tinyos-help] CC2420 radio

2006-11-27 Thread Lorenzo Mainardi
Hi, I try to using the CC2420 radio for my micaz testbed. I need some information about that: the use of AMSend, AMReceive is a higer layer for the CC2420 radio access or there are some difference between AMSend and CC2420Transmit interface? Thank you in advance LORENZO ___

[Tinyos-help] Opaque struct

2006-11-29 Thread Lorenzo Mainardi
Hi everyone, I'm looking for a way to mantain a struct opaque for the user layer, as what happens with some fields of TOS_Msg. What it's the right way?My idea was to mantain my struct in a separate header files and define function like set e get. I know, it's a Java-thinking way, but it is the onl

[Tinyos-help] IDE for NesC/TinyOS

2006-11-29 Thread Lorenzo Mainardi
Hello everybody, I know that this is a F.A.Q., but I would some information about a good Ide for tinyos. I have been tried to use all the eclipse plugins, but they don't work wery well; there is no autocompletion, and they are full of bug and leak. I try to use TosDEV, but I cannot install in linu

[Tinyos-help] Error on "make micaz sim"

2006-12-04 Thread Lorenzo Mainardi
Hi, I'm compiling a small application to do some tests with TinyOS-2.x. I'm able to compile for the micaz platform, but if I try to do "make micaz sim" I obtain this result: [EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Prova$ make micaz sim mkdir -p build/micaz placing object files in build/micaz wri

[Tinyos-help] Makefile question

2006-12-06 Thread Lorenzo Mainardi
Hi, I'm triying to develop my personal application, a distributed authentication protocol. I would to know how to put all my files in a new directory, instead that in tos/, so I don't not spread my files in the tos directory. I think I should configurate my Makefile, how to do this? Thank you LORE

[Tinyos-help] Cannot send message correctly

2006-12-08 Thread Lorenzo Mainardi
Hi, I'm trying to send and receive message in Tinyos-2.x. I have been foolowed the chapter 3 of Tutorial and I write this code: event void Timer.fired(){ dbg("beacon", "Timer fired\n"); if(busy) dbg("beacon", "BUSY!!!"); if(!busy){ beaconPayloadPtr = (BeaconMsg*) (call Packet.getPayload(&b

[Tinyos-help] Re: Cannot send message correctly

2006-12-08 Thread Lorenzo Mainardi
I have been resolved! I don't have set the noise on the simulator! 2006/12/8, Lorenzo Mainardi <[EMAIL PROTECTED]>: Hi, I'm trying to send and receive message in Tinyos-2.x. I have been foolowed the chapter 3 of Tutorial and I write this code: event void Timer.fired(){ dbg(

Re: [Tinyos-help] Could not signal event

2006-12-11 Thread Lorenzo Mainardi
2006/12/10, Philip Levis <[EMAIL PROTECTED]>: Yes, this is the right reply; I received the event Receive.receive, but none Beacon Event... Can you define what you mean by "not able to signal the event?" Is it that Receive.receive is is signaled but none of the Beacon events are signaled? ___

[Tinyos-help] Compilation problem

2006-12-12 Thread Lorenzo Mainardi
Hi, I have written a small interface, but when I tried to compile it, I receive this error: [EMAIL PROTECTED]:/opt/tinyos-2.x/apps/TestMessage$ make micaz mkdir -p build/micaz compiling TestMessage to a micaz binary ncc -o build/micaz/main.exe -Os -finline-limit=10 -Wall -Wshadow -Wnesc-a

[Tinyos-help] Error on compile

2006-12-12 Thread Lorenzo Mainardi
Hi, I try to compile the Blink application, but I received this error: [EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Blink$ make micaz mkdir -p build/micaz compiling BlinkAppC to a micaz binary ncc -o build/micaz/main.exe -Os -finline-limit=10 -Wall -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=

[Tinyos-help] Make question

2006-12-13 Thread Lorenzo Mainardi
because I don't know how to set make variables. Could someone help me? Thanks in advance LORENZO MAINARDI ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Instances

2006-12-15 Thread Lorenzo Mainardi
Hi, in my project I have several components that using the same interface, provided by a component that uses a Queue instance. I would to know hot to use everytime the same instance of Queue to using that to store some data. Cheers LORENZO ___ Tinyos-hel

[Tinyos-help] Tossim 2: how to simulate different motes

2007-01-10 Thread Lorenzo Mainardi
Hi everyone, I know that this is is an extra-FAQ... In Tossim 1 it was impossible to simulate motes with different software in the same simultaion; is this possible in Tossim 2? Cheers LORENZO ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.

[Tinyos-help] Why Collection does not work?

2007-01-15 Thread Lorenzo Mainardi
Hi everybody, I try to using Collection alghortim in a small app, but it did'nt work; when I call RoutingControl.start() I cannot obtain SUCCESS. I'was thinking it was a fault in the "linking" structure, but I copy just the TestRoutingC.nc file by TestNetwork app. Could you help me? P.S. I'm sorry

[Tinyos-help] I can't receive any message

2007-01-26 Thread Lorenzo Mainardi
Hi, I try to simulate an application in T2, but I'm not able to receive any message, I send fine the message, but no receive. This is my configuration file: configuration TestPolynomial { } implementation { components MainC, TestPolynomialM as App; components new TimerMilliC() as TimerC;

[Tinyos-help] Consumption simulation tool for MicaZ

2007-02-01 Thread Lorenzo Mainardi
Hi, I wanna simulate power comsumption for MicaZ architecture and tinyos-2.x. I tried to using Avrora, but it works only for Mica2 platform and not for Micaz. Do you know a good tool for power comsumption simulation for MicaZ? LORENZO ___ Tinyos-help mai

[Tinyos-help] Multihop Routing

2006-06-09 Thread Lorenzo Mainardi
Hi,I'm working with Surge and routing protocols(like aodv orĀ  dsdv).I would to send a message at any node, not only at the base station.Can you help me?? ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu

[Tinyos-help] I'm in a blacklist???

2006-06-19 Thread Lorenzo Mainardi
Hi, I tried to post in this mailing list with my lart.det.unifi.it account, but I cannot made them. Am I in some blacklists?Why I cannot post?Thank YouLORENZO MAINARDI ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millenniu

[Tinyos-help] Flood Example

2006-06-19 Thread Lorenzo Mainardi
Hi, I'm interesting in multihop Routing.I'm looking for a Flood algorithm example, can you help me??Thank youLORENZO MAINARDI ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/ti

[Tinyos-help] Any-to-any routing protocol

2006-06-20 Thread Lorenzo Mainardi
Hi, I'm looking for a any-to-any routing protocol.Can you help me?Thank you very much ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] SEnding messages through the sink node

2006-06-27 Thread Lorenzo Mainardi
Hi, I'm studying for a distributed authentication protocols in Wireless Sensors Networks. What I want to do is using the sink (node id 0) as a trusted third party for authentication between two nodes. For this reason I need a multi hop routing algorithm from any node to the sink, and I can use

[Tinyos-help] Absolute timer

2006-06-30 Thread Lorenzo Mainardi
It's possible in TOSSIM/TinyViz to simulate a absolute, indipendent of each mote, clock?I will implement and log a small traceroute application, I need an absolute timer to log the TTL Can you help me? ___ Tinyos-help mailing list Tinyos-help@Millennium.B

Re: [Tinyos-help] where to find the developer's kit worth $600

2006-07-13 Thread Lorenzo Mainardi
You can buy it at www.tinynode.com, it's a few of spam, but it's the more cheap that I have found ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Init all motes at the same time

2006-07-19 Thread Lorenzo Mainardi
Hi, I'm working with routing protocols in TOSSIM/TinyViz; for my simulation I would to inizialize all the motes of my simulation at the same time.Now any mote inits at random time and in random sequence. There are some command-line options to make this?What? Thank you very much in advanceLORENZO MA

[Tinyos-help] More documentation about Drip

2006-07-26 Thread Lorenzo Mainardi
Hi, I'm interesting in routing protocols, and I have found Drip to disseminate new message in the net.I have read a lot of article about Trickle algorithm(and I have understand it) and the (insufficient!) documentation about Drip.I don't understand what Drip works, can you simply explain me this?I

[Tinyos-help] DripSend

2006-07-26 Thread Lorenzo Mainardi
Hi, in the Drip folder I have found the DripSend module, but there are absolutally no documentation.Please can you explain me how use this modules?LORENZO ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.e