[Tinyos-help] Question about TestLocalTime

2010-07-07 Thread Sam Azzaro
Hello, i'm working on TinyOS-2.1 and i'm wondering if someoneused the TestLocalTime before to calculate the simulation time.i will be thankfull for any help. RegardsSam, _ Votre messagerie et

[Tinyos-help] error when simulating radio application

2010-07-03 Thread Sam Azzaro
Hi all,i get this error when simulating a radio application what could be the problem??? $ make micaz simmkdir -p simbuild/micaz placing object files in simbuild/micaz writing XML schema to app.xml compiling TestRC6C_Radio_final to object file sim.oncc -c -DUSE_DL_IMPORT -fpic -o

[Tinyos-help] clock_t with tinyOS 2.x

2010-07-01 Thread Sam Azzaro
Hi all,i want to calculate the simulation time of an application, so i integrated a clock variablein this way: #include time.h implementation {clock_t time_init, time_final ; /* initial time and final time in micro-secondes */float time_cpu; /* total time in

[Tinyos-help] How to calculate consumption and simulation time on Tossim?

2010-06-28 Thread Sam Azzaro
Hello,i want to know how to calculate consumption and simulation time of an application on Tossim,Thanks Sam, _ Hotmail : une messagerie fiable avec une protection anti-spam performante

[Tinyos-help] Power TOSSIM and tinyOS 2.x

2010-06-28 Thread Sam Azzaro
Hi all,is it possible to use power TOSSIM with TinyOS 2.1 ??? thanks,Sam _ Hotmail : une messagerie performante et gratuite avec une sécurité signée Microsoft

[Tinyos-help] make: *** [exe0] Error 1: undefined reference to `main'

2010-06-26 Thread Sam Azzaro
Hi all, the compilation of a radio application gives me that error, $ make micaz mkdir -p build/micaz compiling TestRC6C to a micaz binary ncc -o build/micaz/main.exe -Os -Wall -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb -DDEFINED_TOS_AM_GROUP =0x22

[Tinyos-help] Need clarification about radio communication

2010-06-25 Thread Sam Azzaro
Hi all, i want to do communicate two motes with this way: the first one has to set up a key, encrypt a plaintext of 16 bytes. then send it to the second mote which receives the ciphertext, decrypts it, then prints it. i follow the lesson 3 of the tutorial, so, when the millitimer fires, the

[Tinyos-help] warning passing argument 2 of `Packet.getPayload'

2010-06-24 Thread Sam Azzaro
Hello, i compiled a radio application and i get this warning make micaz dir -p build/micaz compiling TestRC6C to a micaz binary c -o build/micaz/main.exe -Os -Wall -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb -DDEFINED_TOS_AM_GROUP x22 --param

[Tinyos-help] mote-mote radio communication

2010-06-23 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

[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] 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

[Tinyos-help] How to calculate simulation time on TOSSIM??

2010-06-21 Thread Sam Azzaro
Hi all, i want to determinate the sim_time of an appliaction on Tossim but whatever is the code or the application, 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

[Tinyos-help] about dispalying zero at left

2010-06-17 Thread Sam Azzaro
Hello, May be it's a silly question, but here is the thing : i wrote an application and i used dbg to see my variables.one variable is defined as uint32_t but when display it dbg(Boot, S[i]= %08.X\n,S[i]);i get S[i]= 5F2A19F instead of S[i]= 05F2A19Fhave you any idea how to display the

Re: [Tinyos-help] about dispalying zero at left

2010-06-17 Thread Sam Azzaro
it's Ok i fix it, i just changed %08.X to %.8Xi knew it was something silly :D Regards, Sam From: asma_...@live.fr To: tinyos-help@millennium.berkeley.edu Subject: about dispalying zero at left Date: Thu, 17 Jun 2010 09:02:17 + Hello, May be it's a silly question, but here is the

[Tinyos-help] error when inspecting variable : 'Tossim' is not defined

2010-06-16 Thread Sam Azzaro
Hi all, i want to inspect variables in my own application,but when following steps in lesson compiling TOSSIM i get this error: administrat...@v8fmk15ebx5la4b /opt/tinyos-2.x-contrib/crypto/apps/TestRC6$ export PYTHONPATH=$PYTHONPATH:$TOSROOT/support/sdk/python administrat...@v8fmk15ebx5la4b

[Tinyos-help] arithmetic in NesC ??

2010-06-16 Thread Sam Azzaro
Hello, i have a nesc application, in wich i have to use addition modulo 2^wi defined: #define (a + b) mod((a + b),pow(2, w)) but pow is not working like in Chave you any idea to fix that please?thanks, Sam

Re: [Tinyos-help] arithmetic in Nesc ??

2010-06-16 Thread Sam Azzaro
thanks victor,that may help so much thanks again Sam, Subject: Re: arithmetic in Nesc ?? From: victor.cio...@ul.ie To: tinyos-help@millennium.berkeley.edu CC: asma_...@live.fr Date: Wed, 16 Jun 2010 19:05:50 +0100 Sam, You might be better off implementing your own mathematical

[Tinyos-help] graphic tools for tinyOS2.x ??

2010-06-10 Thread Sam Azzaro
Hi all,i'm working on TinyOS 2.1 and i want to make sure if there is any graphic toollike TinyViz in T1.x ? and if that's not true, how can i visualize nodes and communication in a network ?i looking for your help.Regards Sam,

[Tinyos-help] question about scale.h file

2010-06-09 Thread Sam Azzaro
Hi all, i'm writing an application with nesc, and when i compile it with TOSSIM i get the following error: $ make micaz simmkdir -p simbuild/micaz placing object files in simbuild/micaz writing XML schema to app.xml compiling TestRC6 to object file sim.oncc -c -DUSE_DL_IMPORT -fpic -o

Re: [Tinyos-help] Error when compiling TestAES application

2010-06-05 Thread Sam Azzaro
It's ok i solve it.if anyone is interested, i just put the files at the right directory. Hotmail : un service de messagerie gratuit, fiable et complet Profitez-en

[Tinyos-help] Can't found mirage-1.txt file

2010-05-22 Thread Sam Azzaro
Hi,i use Tinyos 2.1 and i'm following the tutorial of TOSSIM to configurate a network, but at a given step i can'tfind the mirage-1.txt file, i want to know if there is any cvs command to download or update that file? thanks in advance

Re: [Tinyos-help] cant run : make micaz sim

2010-05-21 Thread Sam Azzaro
Hello,i had the same error,you must install python2.5-devif you are using TOSSIM with ubento, you just have to tape: sudo apt-cache search pythonsudo apt-get install python2.5-dev Regards Sam, Date: Thu, 20 May 2010 12:59:18 +0200 From: zied...@googlemail.com To:

[Tinyos-help] Error with make micaz sim

2010-05-14 Thread Sam Azzaro
Hello, i'm trying to simulate an application with TOSSIM under ubento 9.1but i gte this error : s...@sam-desktop:~/tos/tinyos-2.x-contrib/crypto/apps/TestTrivium8$ make micaz simmkdir -p simbuild/micazmake: python2.5-config : commande introuvablemake: python2.5-config : commande

[Tinyos-help] TOSSIM and the Trivium algorithm

2010-05-12 Thread Sam Azzaro
Hello,i want to know if it is possible to simulate the Trivium algorithm with 2 nodesusing TOSSIM.i use tinyos2.1 thanks in advance Sam, _ Hotmail : une messagerie fiable avec une

[Tinyos-help] Error when compiling TestTrivium8

2010-05-10 Thread Sam Azzaro
Hi all,I want to test the trivium application with TOSSIM,i tried: administrat...@v8fmk15ebx5la4b /tinyos-2.x-contrib/crypto/apps/TestTrivium8$ make micaz simmkdir -p simbuild/micaz placing object files in simbuild/micaz writing XML schema to app.xml compiling TestTriviumAppC to object file

[Tinyos-help] porting a C code to Tinyos

2010-05-03 Thread Sam Azzaro
Hello, i'm wondering how to port a C impémentation of an encryption algorithm to Tinyos2.x?should i create a new component in nesC or is there another way ? Sam, _ Hotmail : un service de

[Tinyos-help] Ron's Code and Tinyos2.x

2010-04-27 Thread Sam Azzaro
Hi all,i knew that is possible to implement RC5 algorithm in tinyos 2.x but i have to import code from Tinyos1.x, so can anyone tell mewhere to find code under tinyos1.x?? and how to do start causei'm still beginner, and thanks in advance. Sam

[Tinyos-help] difference between net.tools.Listen and serialForwarder?

2010-02-07 Thread Sam azzaro
Hello,Can anyone please explain me the difference between net.tools.Listen and serialForwarder:the benefits and disadvantages for every method? thanks Sam _ Hotmail : un service de messagerie

Re: [Tinyos-help] make: *** [Oscilloscope.class] Error 127

2010-02-04 Thread Sam azzaro
Hi,i tried to fixe every thing but i don't know why it's not working. when i tape echo $ CLASSPATH, echo $ PATH and echo $ MAKERULES i get this:$ echo $CLASSPATHc:\cygwin\opt\tinyos-2.x\support\sdk\java\tinyos.jar;. $ echo

[Tinyos-help] make: *** [Oscilloscope.class] Error 127

2010-02-03 Thread Sam azzaro
Hi, i use Tinyos-2.1. i want to test the Oscilloscope application by following the tutorial but when i go to tinyos-2.x/apps/Oscilloscope/java and tape make to run the javaGUI i get this error:$ makemig -target=null -java-classname=OscilloscopeMsg java ../Oscilloscope.h oscilloscope -o

[Tinyos-help] error oscilloscope application: nothing to be done for 'all'

2010-02-02 Thread Sam azzaro
Hi, i tried to follow tutorial of the oscilloscope application.when i go to tinyos-2.x/apps/Oscilloscope/java and type make i get this:make: Nothing to be done for 'all'how can i resolve this? Regards, Sam

[Tinyos-help] problem with generating packet object (MIG)

2010-01-28 Thread Sam azzaro
Hi all,i use Tinyos-2.x on WindowsXp. i tried to follow tutorial in http://docs.tinyos.net/index.php/Mote-PC_serial_communication_and_SerialForwarder#MIG:_generating_packet_objectsto generate mig class in the test serial application.when i tape make clean i get this:

Re: [Tinyos-help] problem with generating packet object (MIG)

2010-01-28 Thread Sam azzaro
class. 2010/1/28 Sam azzaro asma_...@live.fr: Hi all, i use Tinyos-2.x on WindowsXp. i tried to follow tutorial in http://docs.tinyos.net/index.php/Mote-PC_serial_communication_and_SerialForwarder#MIG:_generating_packet_objects to generate mig class in the test serial application

Re: [Tinyos-help] problem with generating packet object (MIG)

2010-01-28 Thread Sam azzaro
Are you running the serial forwarder? 2010/1/28 Sam azzaro asma_...@live.fr: thanks alot, i did everything. Now i want to print the message we see from the base station i taped java net.tinyos.tools.MsgReader BlinkToRadioMsg but i have this error: administrat...@v8fmk15ebx5la4b /opt/tinyos

[Tinyos-help] collecting information from mote

2010-01-27 Thread Sam azzaro
Hello all, i want to collect information from mote (telosb) to PC and display it using a serial connection.i taked a look at tutorials, and i note that i have to change some java code to read this data,like using the following methods to provide access to the backing array of mig generated