[Tinyos-help] how to increase message size tossim

2011-10-18 Thread Omar Cheikhrouhou (yahoo)
Dear all, Please help me how to increase message size in Tossim. Note that when I added # CFLAGS += -DTOSH_DATA_LENGTH= 34 in the makefile I got error in compilation such: In file included from /opt/tinyos-2.x/tos/lib/tossim/tos.h:98: /opt/tinyos-2.x/tos/lib/tossim/sim_packet.c: In

Re: [Tinyos-help] question about tymo

2011-08-23 Thread Omar Cheikhrouhou (yahoo)
Thanks for your replay. Do you know how long I wait to get the getRoute response. //my code is //determine the physical hop: how far Ni is from GC res=call RoutingTable.getRoute(GCAddress[gid], rt_info); //affichage parameter de la route

Re: [Tinyos-help] interface RoutingTable

2011-08-22 Thread Omar Cheikhrouhou (yahoo)
Hello, Can anybody tell me how to determine the number of hops between two nodes? From: tinyos-help-boun...@millennium.berkeley.edu [mailto:tinyos-help-boun...@millennium.berkeley.edu] On Behalf Of Omar Cheikhrouhou (yahoo) Sent: Sunday, August 14, 2011 3:35 PM To: romain.thouve...@gmail.com

Re: [Tinyos-help] question about tymo

2011-08-22 Thread Omar Cheikhrouhou (yahoo)
Please any reply.. From: tinyos-help-boun...@millennium.berkeley.edu [mailto:tinyos-help-boun...@millennium.berkeley.edu] On Behalf Of Omar Cheikhrouhou (yahoo) Sent: Sunday, August 14, 2011 2:54 PM To: 'Romain Thouvenin'; tinyos help Cc: Anis Koubaa (COINS) Subject: [Tinyos-help] question

[Tinyos-help] question about tymo

2011-08-14 Thread Omar Cheikhrouhou (yahoo)
Hello, I am simulating a multi-hop protocol and I use tymo for the multi-hop service. In my protocol I need to determine number of hop between two nodes, so I used the interface RoutingTable, with the command getRoute. Is it the best solution? Moreover, the command getRoute returns SUCCESS only

[Tinyos-help] interface RoutingTable

2011-08-14 Thread Omar Cheikhrouhou (yahoo)
What is the difference between the command getRoute and the command getForwardingRoute in the interface RoutingTable of tymo? Thanks in advance, ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] FW: problème dans l'installation de tinyos

2011-05-17 Thread Omar Cheikhrouhou (yahoo)
I advise that you send your questions in the mailing list. Les variables d’environnemnt doit être fait dans le fichier .bashrc dans /etc… From: khouloud MASMOUDI [mailto:khouloud.masmo...@gmail.com] Sent: Tuesday, May 17, 2011 3:51 PM To: Omar Cheikhrouhou (cesLab) Subject: Re: problème dans

[Tinyos-help] tymo

2011-05-04 Thread Omar Cheikhrouhou (yahoo)
What means the field hopcnt in the rt_info structure. In the tymo implementation typedef struct rt_info { addr_t address; addr_t nexthop; seqnum_t seqnum; bool has_hopcnt; uint8_t hopcnt; } rt_info_t; Best regards, ___

[Tinyos-help] help using tymo

2011-04-22 Thread Omar Cheikhrouhou (yahoo)
Hello, I am a Ph.D student and I would like to integrate tymo in my application. However, when testing it, the compilation generate errors. Please can you guide how to use tymo. Best regards, ** Omar Cheikhrouhou Engineer Researcher @SENS Lab

[Tinyos-help] tymo error

2011-04-22 Thread Omar Cheikhrouhou (yahoo)
Hello, When using tymo in my app I got errors: I included file in makefile as follows: CFLAGS+= -I$(TOSDIR)/lib/net/tymo \ -I$(TOSDIR)/lib/net/tymo/dymo I got the following errors: In component `DymoNetworkC':

[Tinyos-help] how to define topology in tossim

2011-04-19 Thread Omar Cheikhrouhou (yahoo)
Dear all, Do you have script/tools that permit to define topology in TOSSIM. For example I would like to simulate the following topology Thanks in advance, Omar image001.jpg___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] multi hop communication in T2

2011-04-19 Thread Omar Cheikhrouhou (yahoo)
Hello, Does anybody know how to use multihop communication in T2. I would like to simulate a multihop network application Thanks in advance, ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] send management

2010-11-07 Thread Omar Cheikhrouhou (yahoo)
Hello, What is the best method to manage sent message. I encounter the following problem in my application when sending successive messages: *AMsend return EBUSY *AMsend return SUCCESS but the message is not received and even the senddone is not triggered, (possibly it is overwritten by the

[Tinyos-help] telosb computing

2010-09-28 Thread Omar Cheikhrouhou (yahoo)
Hello, The telosb has a 16-bit micro-controller. What is the biggest number that it can treat? And How it achieve the treatment of bigger number ex 32 bits number? Thanks for help ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] gain in tossim

2010-09-07 Thread Omar Cheikhrouhou (yahoo)
What the link gain means in tossim (example -50dBm) And what is the relation between gain and distance ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] link in tossim

2010-09-07 Thread Omar Cheikhrouhou (yahoo)
In tossim we use gain(src, dest): Return the gain value of the link from src to dest. What is the equation of this parameter gain? Thanks for help ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] energy consumption

2010-09-04 Thread Omar Cheikhrouhou (yahoo)
What is the relation between the energy consumption (mJ) and the power consumption (mA) How to transform power (mA) to energy en (mJ) Thanks for clarification ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] how can i preload telosb mote with a key

2010-08-30 Thread Omar Cheikhrouhou (yahoo)
I would like to preload my telosb motes with a secret key. How can I achieve this? Thanks for help ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] type bool in T2

2010-08-25 Thread Omar Cheikhrouhou (yahoo)
Hello, does the type bool exist in T2 !; Because I used and there is no error in compelation? Wwhat are the problem if I use the type bool in my code? Thx in advance ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] transmission time in TOSSIM

2010-08-12 Thread Omar Cheikhrouhou (yahoo)
How tossim measure transmission time ? ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] time in TOSSIM

2010-08-12 Thread Omar Cheikhrouhou (yahoo)
I my app I launched two motes A and B. the mote A send a message at time 0s, this message is received by B at time 9ms. What represents this 9 ms ? the time of transmission (length/bandwith) or the time of propagation or the time of waiting the channel or both? In addition why when repeating the

Re: [Tinyos-help] Problem in sending packets one after the other over serial port

2010-07-30 Thread Omar Cheikhrouhou (yahoo)
Use the fact that a message is sent if the sendone is executed that is in the sendone you launch the send of second message Another method is to,use a buffer where you memorize message to be sent and in the send down you remove msg from buffer as it is sent. Please send directly to the

[Tinyos-help] nodes synchronization

2010-07-28 Thread Omar Cheikhrouhou (yahoo)
Hello, I would like to add synchronization between nodes in my app. How can I achieve this functionality. I guess that there is ftsp but how to use in order to achieve synchronization between nodes Thanks for help ** Omar Cheikhrouhou

Re: [Tinyos-help] ftsp error

2010-07-27 Thread Omar Cheikhrouhou (yahoo)
the instructions in README.txt under apps/Oscilloscope Message: 3 Date: Mon, 26 Jul 2010 11:40:00 +0100 From: Omar Cheikhrouhou \(yahoo\) enis01a...@yahoo.fr Subject: [Tinyos-help] ftsp error To: tinyos help tinyos-help@millennium.berkeley.edu Message-ID: 006c01cb2cae$e7247950$b56d6b...@yahoo.fr Content-Type

Re: [Tinyos-help] ftsp error

2010-07-27 Thread Omar Cheikhrouhou (yahoo)
Hi, Which python program ? De : Puneeth NS [mailto:puneet...@gmail.com] Envoyé : mardi 27 juillet 2010 13:33 À : Omar Cheikhrouhou (yahoo) Objet : Re: [Tinyos-help] ftsp error Hey, Just try running the python program. It connects directly to port. See if u get some data. Basestation

Re: [Tinyos-help] ftsp error

2010-07-27 Thread Omar Cheikhrouhou (yahoo)
I have not this type of file. Please can you send it to me or how can I download Thanks for help De : Puneeth NS [mailto:puneet...@gmail.com] Envoyé : mardi 27 juillet 2010 13:41 À : Omar Cheikhrouhou (yahoo) Objet : Re: [Tinyos-help] ftsp error there is a file called

Re: [Tinyos-help] ftsp error

2010-07-27 Thread Omar Cheikhrouhou (yahoo)
] Envoyé : mardi 27 juillet 2010 13:41 À : Omar Cheikhrouhou (yahoo) Objet : Re: [Tinyos-help] ftsp error there is a file called FtspDataLogger.py in the FTSP folder. You will also need to copy ..support/sdk/python to that folder to run this file On Tue, Jul 27, 2010 at 2:39 PM, Omar Cheikhrouhou

[Tinyos-help] ftsp error

2010-07-26 Thread Omar Cheikhrouhou (yahoo)
When trying java FtspDataLogger i got the following error s...@localhost:9002 died - exiting (java.net.ConnectException: Connection refused: connect) any help please ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] multicast in tinyos2

2010-07-21 Thread Omar Cheikhrouhou (yahoo)
Hello, I would like to know if tinyos support multicast sending (send a message to a group of nodes using group address) ? If yes which interface provides this functionality? Thanks in advance ** Omar Cheikhrouhou Engineer Researcher @SENS Lab

Re: [Tinyos-help] getting time in microsecond in tinyos-1.x

2010-07-15 Thread Omar Cheikhrouhou (yahoo)
On ti yos 1.x it is another history try systime De : asma bel hadj med [mailto:asma.bel...@gmail.com] Envoyé : jeudi 15 juillet 2010 16:26 À : Omar Cheikhrouhou (yahoo) Objet : Re: [Tinyos-help] getting time in microsecond in tinyos-1.x je travaille pas sur TOSSIM 1.x omar!! est ce que

[Tinyos-help] printf amelioration

2010-07-13 Thread Omar Cheikhrouhou (yahoo)
I would like to measure the time of execution of my application module in telosb motes. So I use the localtime interface and the printf library to print this time. However, the printf does not work very well. Message are cuted and some others are not printed. Is there a mean to ameliorate the

[Tinyos-help] debogage of telosb motes

2010-07-13 Thread Omar Cheikhrouhou (yahoo)
Did any body know the best method to debug telosb motes. At present I use printf library but I encounter some problem. I need to read parameter value during execution Thanks for help ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] problem sending message

2010-07-09 Thread Omar Cheikhrouhou (yahoo)
, I do not understand. Can anybody explain to me why 12? What is the size of pointer in TinyOS? Thanks in advance, De : Prabhakar Misra [mailto:misra.pra...@gmail.com] Envoyé : jeudi 8 juillet 2010 21:22 À : Omar Cheikhrouhou (yahoo) Objet : Re: [Tinyos-help] problem sending message

[Tinyos-help] TR: message structure

2010-07-09 Thread Omar Cheikhrouhou (yahoo)
I use a struct of message with data length that depend on the type of message How can do that in nesC? typedef struct riseg_msg{ nx_uint8_t type;/*the type of the riseg message*/ nx_uint8_t data[size depend on type]; /* the data is also a struct that depend on the type of

Re: [Tinyos-help] TR: message structure

2010-07-09 Thread Omar Cheikhrouhou (yahoo)
: vendredi 9 juillet 2010 16:07 À : Omar Cheikhrouhou (yahoo) Cc : tinyos help Objet : Re: [Tinyos-help] TR: message structure Hi, You need to allocate the data array statically at maximum size (considering your max possible message length) and note that the total payload size should

Re: [Tinyos-help] problem sending message

2010-07-09 Thread Omar Cheikhrouhou (yahoo)
The shown output is when using TOSSIM. And how to use packet attribute? Is there any documentation? Thanks for help -Message d'origine- De : Michael Schippling [mailto:sc...@santafe.edu] Envoyé : vendredi 9 juillet 2010 17:24 À : Omar Cheikhrouhou (yahoo) Cc : 'Prabhakar Misra'; tinyos

[Tinyos-help] problem sending message

2010-07-08 Thread Omar Cheikhrouhou (yahoo)
When i send two succesive message in telosb mote I got that the second packet has as value the first one when I print its value in senddone and receive. Do you have any explication for this problem. ___ Tinyos-help mailing list

[Tinyos-help] size of tinyos message

2010-07-08 Thread Omar Cheikhrouhou (yahoo)
Why tinyos message are multiple of 2. When I define a message that has 25 bytes if print that size is 26 When I send message o f 5 bytes it print that 6 bytes , etc.. /*Default size=7 bytes. However when send it is 8 bytes*/ typedef struct join_msg{ uint16_t nid;/* the node identity

[Tinyos-help] printf problem

2010-07-07 Thread Omar Cheikhrouhou (yahoo)
When executing my app the printf message is cut. Not all the message is printed. What are the possible problem of this incomplete message show ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] printf problem

2010-07-07 Thread Omar Cheikhrouhou (yahoo)
The program work well in Tossim ==so no error. I use buffer size=999 but the problem persist? De : Obaid Salikeen [mailto:obaidsalik...@gmail.com] Envoyé : mercredi 7 juillet 2010 17:12 À : Omar Cheikhrouhou (yahoo) Objet : Re: [Tinyos-help] printf problem you just need to increase

[Tinyos-help] multihop topologies under tossim

2010-07-03 Thread Omar Cheikhrouhou (yahoo)
Does anybody know how to define a multihop topologies in Tossim? Thanks in advance ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] how to pass argument to my app

2010-06-30 Thread Omar Cheikhrouhou (yahoo)
Hello, Did anybody know how to pass parameter to my app with is run under tossim. Thanks in advance ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] energy consumption

2010-06-29 Thread Omar Cheikhrouhou (yahoo)
Hello, Does the reception of a message consume more energy than the send? Best regards ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] interface Packet Link and components CC2420ActiveMessageC

2010-06-28 Thread Omar Cheikhrouhou (yahoo)
Does tossim support the Packet link interface which is wired to CC2420ActiveMessageC components? Otherwise, is there Similar interface to use with tossim? Thanks for help ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] nbre of send management

2010-06-27 Thread Omar Cheikhrouhou (yahoo)
I would like to send a message from ED to BS. However, if the ED cannot communicate with BS (due to lack of radio canal par example) I would like to stop attempt of transmission. Is there interface in Tinyos 2 which can manage nbre of attempt of a message? Otherwise, I will add a variable

[Tinyos-help] acknowledgement of sent message

2010-06-21 Thread Omar Cheikhrouhou (yahoo)
When sending a message from node 1 to node 2. In node 1 the sendDone is executed which means that the message is sent with success however in node 2 the receive is not executed which means that node 2 does not receive the message. Is there a mechanism to acknowledge the reception of message.

[Tinyos-help] performance evaluation in TOSSIM 2

2010-06-16 Thread Omar Cheikhrouhou (yahoo)
Which parameters we can evaluate and measure under tossim (T2)? ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] energy consumption

2010-06-16 Thread Omar Cheikhrouhou (yahoo)
How To simulate energy consumption in tossim (T2)? Thanks for help ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] message acknowledgement in tinyos

2010-06-09 Thread Omar Cheikhrouhou (yahoo)
Spam detection software, running on the system mail.Millennium.Berkeley.EDU, has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator

[Tinyos-help] message acknowledgement in TOSSIM

2010-06-09 Thread Omar Cheikhrouhou (yahoo)
Did anybody know how to acknowledge message in TinyOS and using TOSSIM? Thanks in advance ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Packe tAcknowledgements

2010-06-07 Thread Omar Cheikhrouhou (yahoo)
Spam detection software, running on the system mail.Millennium.Berkeley.EDU, has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator

[Tinyos-help] java communication with sensor node

2010-06-04 Thread Omar Cheikhrouhou (yahoo)
I need an interface java in which I put data that can be used by the sensor node. (Exactly I will introduce a key in a text field, this key will be used by sensor node in order to crypt data) Did you have such an example of communication between java application and sensor node? Thanks in

[Tinyos-help] FW: PacketTimeStamp

2010-06-02 Thread Omar Cheikhrouhou (yahoo)
Did any body know where can I find the implementation of the interface PacketTimeStamp. Is it in ActiveMessageC? I used the following code In AppC App.PacketTimeStamp -ActiveMessageC.PacketTimeStampMilli; In implementation; uses interface PacketTimeStampTMilli, uint32_t as

[Tinyos-help] need clarification

2010-06-02 Thread Omar Cheikhrouhou (yahoo)
When simulating my program under tossim I note the following fact: The AMsend () return success however sometimes AMsend. SendDone() event is not triggered. And sometimes sendone () event triggered but receiver does not receive the message (the receive event is not triggered) Can you explain

[Tinyos-help] manage concurrency

2010-06-02 Thread Omar Cheikhrouhou (yahoo)
Spam detection software, running on the system mail.Millennium.Berkeley.EDU, has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator

[Tinyos-help] make function interruptible

2010-05-31 Thread Omar Cheikhrouhou (yahoo)
Hello, I implement a fuction that send a message. However, the successive call of this message rend EBUSY. The code is as follows: My program{ .. while(request_index[gid]0) { //send a join inform