[Tinyos-help] packet acknowledgement and tossim

2010-06-24 Thread chikh omar
does the packetacknowledgement interface work with tossim. The testAcks it works on Tossim or not?   thanks for clarification ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software Engineering and Network Security) Higher Institute of

[Tinyos-help] EBUSY error

2010-05-29 Thread chikh omar
when I send a message I receive EBUSY what this eror signifies? and how to deal with? and how must I manage the send of message (verifies that the message successufuly sent)   thx for clarification ** Omar Cheikhrouhou Engineer Researcher @SENS Lab

[Tinyos-help] need for python script

2010-05-28 Thread chikh omar
I need a python script that simulate a large number of node (more than 20 nodes) the script create link beween node and boot them   If you have an example of such script please send it to me. ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software

[Tinyos-help] maximum message size

2010-05-28 Thread chikh omar
what is the size maximum of message send in tinyos?   ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software Engineering and Network Security) Higher Institute of Technological Studies - Address : Mahdia's road Km 2.5 Sfax. BP 88 A - 3099 El

[Tinyos-help] criteria of performance of security protocols in WSN

2010-05-27 Thread chikh omar
What are the criteria of performance that we can use to evaluate a security protocols in WSN? there are an obvious ones : Time of execution, memory consumption, energy consumption. Do you propose other criterias?   ** Omar Cheikhrouhou Engineer

[Tinyos-help] about time in tossim

2010-05-27 Thread chikh omar
I use interface localtime as follows: uses interface LocalTimeTMilli as TimeStamp; and I would like to measure time of execution of a protocol: time_deb=call TimeStamp.get(); (when sending the 1st message) time_fin=call TimeStamp.get(); (when receiving the last message) I find that time_deb=0

[Tinyos-help] canal busy test

2010-05-25 Thread chikh omar
hello, is there any means to test if the canal is busy before sending?   thx in advance, ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software Engineering and Network Security) Higher Institute of Technological Studies - Address : Mahdia's road

[Tinyos-help] wait in tinyos

2010-05-25 Thread chikh omar
how to do wait in tinyos?   ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software Engineering and Network Security) Higher Institute of Technological Studies - Address : Mahdia's road Km 2.5 Sfax. BP 88 A - 3099 El Bustan Sfax Telephone :

[Tinyos-help] Re : wait in tinyos

2010-05-25 Thread chikh omar
I want to wait into a function: function () { some variables using variable send (variables) waitting send(variables) } however with timer0.fired I will lack access to locales variables... Is there any other method... Best regards, De : C L

[Tinyos-help] key size in wsn

2010-05-13 Thread chikh omar
Hello, When using symmetric cryptography in WSN, what is the appropriate key size to use in order to provide an acceptable security level?  Is there docs speaking about performance/key size? Best regards, ** Omar Cheikhrouhou Engineer Researcher

[Tinyos-help] blundo scheme implementation

2010-05-11 Thread chikh omar
Hello, Did any body know an available implementation of the Blundo scheme of key establishment or of any similar key establishment scheme?   Best regards, ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software Engineering and Network Security)

[Tinyos-help] PDA with radio communication

2010-05-11 Thread chikh omar
Hello, did any body know an example of PDA product that support WSN  radio communication. Thanks for providing web links.   ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software Engineering and Network Security) Higher Institute of

[Tinyos-help] FTSP

2010-05-11 Thread chikh omar
does FTSP can be tested in TOSSIM? I use tossim to run my code in which I would like to add synchronisation Any help will be appreciated   ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software Engineering and Network Security) Higher Institute

[Tinyos-help] FTSP in tossim

2010-05-04 Thread chikh omar
Hello, I am developping a secure group communication application and, I would like to use FTSP in order to synchronize node. I am testing my app using tossim. How can I integrate/use FTSP in my app? does FTSP compile with tossim? great thanks for help

[Tinyos-help] sending successive message in tossim

2010-05-03 Thread chikh omar
hello, I have a problem when simulating a code that send successive message only the last one is received. if a use a busy variable the program plant did any body know how to solve this problem? ===code= //wait until canal is not busy while(radioBusy);

[Tinyos-help] sending successive message

2010-05-03 Thread chikh omar
hello, when sending a successive message in TOSSIM, the first one return success the second return Ebusy (error=5). how to manage the sent of two succesive message? ===the result of printf EndDevice 2 (GC): call AMSend.send(4, msg, len) return 0 (the first message)

[Tinyos-help] tosthreads simulation

2010-05-03 Thread chikh omar
can we simulate Tosthreads application? if yes how to compile? thanks in advance, ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software Engineering and Network Security) Higher Institute of Technological Studies - Address : Mahdia's road Km

[Tinyos-help] cryptographics tools

2010-05-01 Thread chikh omar
Hello, did any body kow if there is an implemntation of crytographic tools that can be used under tinyos2? Also, is there any implementation of Blundo techniques? thanks in adavance, ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software

[Tinyos-help] getting the source address

2010-04-29 Thread chikh omar
hello, from doc of AMPacket interface : command am_addr_t source(message_t *amsg) Return the AM address of the source of the AM packet. If amsg is not an AM packet, the results of this command are undefined. I guess that the command source () return the source address . However, when we use

[Tinyos-help] Re : send packet

2010-04-29 Thread chikh omar
use message_t pkt as a global variable and it will work... ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software Engineering and Network Security) Higher Institute of Technological Studies - Address : Mahdia's road Km 2.5 Sfax. BP 88 A -

[Tinyos-help] how to know sender address in tinyos

2010-04-28 Thread chikh omar
hello, did any body know how to get the sender address of a received message in tinyos2.1 thnaks in advance, ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software Engineering and Network Security) Higher Institute of Technological Studies -

[Tinyos-help] conference in WSN

2010-04-27 Thread chikh omar
Hello, I would like to know the list of conference related to wireless sensor networks and security.   thanks in advance, ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software Engineering and Network Security) Higher Institute of Technological

[Tinyos-help] tossim is slow in linking into shared object

2010-04-27 Thread chikh omar
hello, did any body know why tossim is slow in linking into shared object?   thanks in advance, ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software Engineering and Network Security) Higher Institute of Technological Studies - Address :

[Tinyos-help] how to create a mesh topology in TOSSIM

2010-04-26 Thread chikh omar
Hello, did any body know how to create a mesh topology in TOSSIM. What to put in the python file. Note that i have a several node  and it is a hard task to add link node by node. thanks in advance,  ** Omar Cheikhrouhou Engineer Researcher @SENS Lab

[Tinyos-help] lesson learned from tinyos

2010-04-25 Thread chikh omar
Hello, I spent a week in order to resolve the problem of sending a message which is not detected at the receiver. For this reason, I partage the solution perphaps you get the same situation: The lesson learned is that: *the message_t variable used to send and receive message must be declared

[Tinyos-help] problem tossim + printf

2010-04-21 Thread chikh omar
hello, I am speaking about the send in the function : int send_join_request ().     res=call AMSend.send(addr, msg, len);     printf( EndDevice: call AMSend.send(addr, msg, len) return %d\n, res); the res is 0 which means success, however the senddone event is not executed.  I have send you the

[Tinyos-help] tossim

2010-04-20 Thread chikh omar
hello, Does tossim support brodcast, I send a message with: call AMSend.send(addr, msg, len); where addr=AM_BROADCAST_ADDR;   However, the senddone is not reached nor the message is received. thanks for explanation, ** Omar Cheikhrouhou Engineer

[Tinyos-help] problem tossim + printf

2010-04-20 Thread chikh omar
hello, when executing my code, some message are not show. Did you know possible source of this problem. Moreover, When I send a message AMsend.sed(...) return 0 which means success ,however senddone (...) is not executed. any help please,  ** Omar

[Tinyos-help] Re : tossim

2010-04-20 Thread chikh omar
salam, thank you wafa, the name is not Bizarre did we meet before ? the problem is that, the send return 0 which mean success however the sendDone() is not declenched neither the receive event.   why??? thanks in advance, ** Omar Cheikhrouhou

[Tinyos-help] TOSSIM error

2010-04-19 Thread chikh omar
hello, when running tossim on Blink (lesson 11) I got the following error: o...@acer:~/tos/tinyos-2.x/apps/Blink$ make micaz sim mkdir -p simbuild/micaz make: python2.5-config : commande introuvable make: python2.5-config : commande introuvable make: python2.5-config : commande introuvable

[Tinyos-help] receive doc

2010-04-18 Thread chikh omar
hello, for the event revceive: event message_t *receive(message_t *msg, void *payload, uint8_t len) what is the difference between msg and payload and when we use each parameter thanks for explanation, Cheers, ** Omar Cheikhrouhou Engineer

[Tinyos-help] printf problem

2010-04-17 Thread chikh omar
hello, when adding a printf instruction in the code of IP basestation of blip and some others functions of send and receive message, I get that some printf messsage does not display. any help please, ** Omar Cheikhrouhou Engineer Researcher @SENS

[Tinyos-help] pointer

2010-04-17 Thread chikh omar
hello, I add the following code into IPBaseStation: riseg_msg_t *ptr_risegMsgSent=(riseg_msg_t*)(call RadioPacket.getPayload(msgsent,sizeof(riseg_msg_t))); ptr_risegMsgSent-type=GROUP_CREATION_INVITE; printf(Av: ptr_risegMsgSent=%i;\n, ptr_risegMsgSent-type);

[Tinyos-help] printf problem

2010-04-15 Thread chikh omar
Hello, I added some printf() in the IPbasestation code of blip. the problem is that only a part of message is printed. the message is less than 250 bytes. I didn't understand why the message is cut. and print does no more print anything best regards,

[Tinyos-help] Re : Re : [blip-users] 6lowpan message treatment

2010-04-13 Thread chikh omar
À : chikh omar enis01a...@yahoo.fr Envoyé le : Mar 13 avril 2010, 9 h 57 min 31 s Objet : Re: Re : [blip-users] 6lowpan message treatment The tutorial uses UDP over 6lowpan. In order to send and receive UDP packets over 6lowpan you should use the sendto and the recvfrom functions (they are defined

[Tinyos-help] 6lowpan message treatment

2010-04-12 Thread chikh omar
Hello, I am writing a client/server application using the IPBasestation code, and I need help in how writing code for sending/ receiving a 6lowpan message. And also how to treat these message Thanks in advance ** Omar Cheikhrouhou Engineer

[Tinyos-help] about 6lowpan simulation

2010-04-07 Thread chikh omar
Hello, when compiling the IPbase station program we type: make telosb blip. I want to make a simulation of the program but the two instructions does not work: make micaz sim or make micaz blip sim did 6lowpan applications support simulation? thx in advance,

[Tinyos-help] 6lowpan extension

2010-04-06 Thread chikh omar
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] time calculation

2009-09-07 Thread chikh omar
 Hello, Is there any difference in calculating time between TinyOS1 and TinyOS2. Thanks in advance, ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software Engineering and Network Security) Higher Institute of Technological Studies - Address :

[Tinyos-help] how to measure latency?

2009-08-06 Thread chikh omar
I would like to know how to measure latency in tinyos2?   thanks in advance ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software Engineering and Network Security) Higher Institute of Technological Studies - Address : Mahdia's road Km 2.5 Sfax.

[Tinyos-help] mote mote radio communication

2009-07-23 Thread chikh omar
I use a program in which i send message between two motes (telosb). in the sender AMSend.send(AM_BROADCAST_ADDR, packet, sizeof(authentication_msg_t)); return succes  but the receiver  doesn't receive the message (I print something when it receive a message). Can any body clarify to me the

[Tinyos-help] max length of message

2009-07-23 Thread chikh omar
what is the maximum length of message that we can send over the radio using AMsend(...)? and How to do if we which to send more than this max?   ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software Engineering and Network Security) Higher

[Tinyos-help] How to program user button on telosb mote

2009-07-23 Thread chikh omar
Did anybody know how to program user button on telosb mote. i.e when click on button some instructions are executed.?   ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software Engineering and Network Security) Higher Institute of Technological

[Tinyos-help] testuserbutton app

2009-07-23 Thread chikh omar
can you send me the  apps/tests/telosb/TestUserButton directory   thanks in advance ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software Engineering and Network Security) Higher Institute of Technological Studies - Address : Mahdia's road Km

[Tinyos-help] mote comm problem

2009-07-23 Thread chikh omar
I have modified the BlinkToRadio app as follows:  #include Timer.h #include BlinkToRadio.h #include printf.h module BlinkToRadioC {   uses interface Boot;   uses interface Leds;   uses interface TimerTMilli as Timer0;   uses interface Packet;   uses interface AMPacket;   uses interface AMSend;  

[Tinyos-help] printf problem

2009-07-21 Thread chikh omar
I have the following code: event void Boot.booted() {   //call Leds.led0On();     printf(Here is Boot at node %i \n, TOS_NODE_ID);printfflush();     t0=call LocalTime.get();   printf(*!);printfflush();     printf(Boot: Application booted.at %lu \n,

[Tinyos-help] How to measure energy On telosb mote

2009-07-20 Thread chikh omar
Please can you tell me how to measure energy On telosb mote. Thanks in advance,  ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software Engineering and Network Security) Higher Institute of Technological Studies - Address : Mahdia's road Km 2.5

[Tinyos-help] serial comm problem

2009-07-20 Thread chikh omar
following lesson 4: Mote-pc serial comm When I try to run : $ java net.tinyos.tools.Listen on a cygwin window and $java TestSerial on another cygwin window I got the following error: ser...@com10:115200 died - exiting (java.io.IOException: Could not open COM10: TOSComm JNI library runtime erro

[Tinyos-help] Re : Re : Re : problem with printf app

2009-07-16 Thread chikh omar
   Coordinator C2i @ ISET Sfax (Certified C2i since 2008) De : Raffaele Gravina raffaele.grav...@gmail.com À : chikh omar enis01a...@yahoo.fr; TinyOS help tinyos-help@millennium.berkeley.edu Envoyé le : Mardi, 30 Juin 2009, 21h09mn 00s Objet : Re: Re : Re : [Tinyos

[Tinyos-help] from where can i download TestPrintfAppC

2009-07-16 Thread chikh omar
hello, when I downloaded TestPrintfAppC from http://www.tinyos.net/tinyos-2.x/apps/tutorials/Printf/ I got the following content: #include printf.h configuration TestPrintfAppC{ } implementation {   components MainC, TestPrintfC;   TestPrintfC.Boot - MainC; } which is different from the content

[Tinyos-help] printf problem

2009-07-16 Thread chikh omar
In my istallation I didn't have the tos/lib/printf/2_0_2 directory. Anyone can clarify to me why i didn't have this directory.   ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software Engineering and Network Security) Higher Institute of

[Tinyos-help] problem with printf app

2009-06-30 Thread chikh omar
Hello, In  my version of tinyOS I don't have the printf app in tinyos-2.x/apps/tutorials/Printf  as mentioned in tutorials. I download it from the net but when compiling it generate the following error. In file included from TestPrintfAppC.nc:41: In component `TestPrintfC': TestPrintfC.nc: In

[Tinyos-help] pc to mote communication

2009-06-17 Thread chikh omar
Hello, did any body know how to send parameter entered by user on pc to telosb mote. I use the following function but it doesn't work.  /***/   void read_and_send()   {    while (TRUE)    {    printf(saisir  key nombre\n);    scanf(%d,k);    if (locked) {     return;   }   else {    

[Tinyos-help] Re : pc to mote communication

2009-06-17 Thread chikh omar
BP W, Sfax, 3038, Tunisia , Fax:(+216)74665369   Coordinator C2i @ ISET Sfax (Certified C2i since 2008) De : Faisal Aslam as...@informatik.uni-freiburg.de À : chikh omar enis01a...@yahoo.fr Cc : tinyos help tinyos-help@millennium.berkeley.edu Envoyé le

[Tinyos-help] how to measure time execution in Microseconde in T2

2009-06-15 Thread chikh omar
hello, Did any body know how to measure time execution in Microseconde in T2?   Thanks in advance ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software Engineering and Network Security) Higher Institute of Technological Studies - Address :

[Tinyos-help] evaluating parameter under T2

2009-06-15 Thread chikh omar
Hello, did any body know how to evaluate : *Memory consumption *energy consumption *time execution in Micro seconde if possible I am using TOSSIM under T2 and then I will use Telosb plateform   thanks in advance, ** Omar Cheikhrouhou Engineer

[Tinyos-help] Pc-to-Mote communication

2009-06-10 Thread chikh omar
Hello, Did any body know how to send data from Pc to Node?   Best regards, ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software Engineering and Network Security) Higher Institute of Technological Studies - Address : Mahdia's road Km 2.5 Sfax.

[Tinyos-help] performance evaluation under tossim and telosb

2009-06-10 Thread chikh omar
Hello, Did any body know which parameters we can evaluate under tossim and telosb. And please indicate how to evaluate these eventual parameters   thanks in advance Best regards, ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software Engineering

[Tinyos-help] Re : Re : random execution under tossim

2009-06-08 Thread chikh omar
School of Engineers BP W, Sfax, 3038, Tunisia , Fax:(+216)74665369   Coordinator C2i @ ISET Sfax (Certified C2i since 2008) De : nouha baccour nouha.bacc...@yahoo.fr À : chikh omar enis01a...@yahoo.fr Cc : maissa ben_j m_be...@yahoo.fr Envoyé le : Lundi, 8 Juin 2009

[Tinyos-help] random execution under tossim

2009-06-07 Thread chikh omar
Hello, I use TOSSIM under tinyOS 2.x. And in my application I have a message exchange between 2 nodes (a client and a server). I implement the treatement of each node in the receive eventevent message_t* Receive.receive(message_t* recv_packet, void* payload, uint8_t len) . i.e When  receiving

[Tinyos-help] cipher function in tinyOS 2

2009-06-03 Thread chikh omar
Hello, Is there any implementation of cipher function in tinyOS 2 (like RC5 and skipjack in tinyOS 1) Best regards,  ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software Engineering and Network Security) Higher Institute of Technological

[Tinyos-help] Re : cipher function in tinyOS 2

2009-06-03 Thread chikh omar
System)-University of Sfax, National School of Engineers BP W, Sfax, 3038, Tunisia , Fax:(+216)74665369   Coordinator C2i @ ISET Sfax (Certified C2i since 2008) De : Kostantinos Katsaros dinos.katsa...@gmail.com À : chikh omar enis01a...@yahoo.fr Envoyé le

[Tinyos-help] Re : erreur cygwin with tinyos 2.0

2009-04-22 Thread chikh omar
merci, d'ou je peux telecharger cygwin.dll (car j'ai telecharger une version et cygwin ne veut plus demarrer)  Pour installer Cygwin sous WinXP est très simple par contre sous Windows Vista est une tâche un peu délicate. Il suffit de suivre le lien

[Tinyos-help] erreur cygwin with tinyos 2.0

2009-04-21 Thread chikh omar
how to solve this problem with cygwin under win XP  le point d'entyrée de la procedure basename est introuvable dans la bibliothèque ... cygwin1.dll   thanks in advance ** Omar Cheikhrouhou Engineer Researcher @SENS Lab (Software Engineering and