[Tinyos-help] FW: PacketTimeStamp
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 PacketTimeStamp; however when I compile I get: $ make micaz sim mkdir -p simbuild/micaz placing object files in simbuild/micaz writing XML schema to app.xml compiling RisegC to object file sim.o ncc -c -DUSE_DL_IMPORT -fpic -o simbuild/micaz/sim.o - -fnesc-nido-motenumber=sim_node\(\) -Wall -Wshadow -W -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 -finline-lim ME=\RisegC\ -DIDENT_USERNAME=\ACER1\ -DIDENT_HOSTNA MP=0x4c0625c7L -DIDENT_UIDHASH=0x43954630L -Wno-nesc-da ariables -fnesc-dump=constants -fnesc-dump=typedefs -fn app.xml In component `RisegC': RisegC.nc:42: cannot find `PacketTimeStampMilli' make: *** [sim-exe] Error 1 What is missing? Thx in advance ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] FW: PacketTimeStamp
Omar, This is not implemented for TOSSIM. Janos On Wed, Jun 2, 2010 at 4:36 AM, Omar Cheikhrouhou (yahoo) enis01a...@yahoo.fr wrote: 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 PacketTimeStamp; however when I compile I get: $ make micaz sim mkdir -p simbuild/micaz placing object files in simbuild/micaz writing XML schema to app.xml compiling RisegC to object file sim.o ncc -c -DUSE_DL_IMPORT -fpic -o simbuild/micaz/sim.o - -fnesc-nido-motenumber=sim_node\(\) -Wall -Wshadow -W -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 -finline-lim ME=\RisegC\ -DIDENT_USERNAME=\ACER1\ -DIDENT_HOSTNA MP=0x4c0625c7L -DIDENT_UIDHASH=0x43954630L -Wno-nesc-da ariables -fnesc-dump=constants -fnesc-dump=typedefs -fn app.xml In component `RisegC': *RisegC.nc:42: cannot find `PacketTimeStampMilli'* make: *** [sim-exe] Error 1 What is missing? Thx in advance ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] need clarification
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 me possible problem or why the output is that?? My code is as follows: ... res=call AMSend.send(nid, pkt, sizeof(riseg_msg_t)); //signaler que le canal is busy if(res==SUCCESS) radioBusy=TRUE; printf(EndDevice (GC:%i): call AMSend.send(%i, msg, len) return %d at Time:%i\n, TOS_NODE_ID, nid, res, call TimeStamp.get()); printf(EndDevice %i: JOIN_KEY message sent to NODE %i : group=%i, GC=%i, nextHop=%i \n, TOS_NODE_ID, nid, gid, GCAddress[gid], joinKeyMsg-next); ... In senddone() { ... printf(%s %i: AMSend.sendDone err:%i \n, (TOS_NODE_ID1)? EndDevice:BaseStation, TOS_NODE_ID, err); //test if the message is sent if(err==SUCCESS) { uint8_t gid=0; radioBusy = FALSE; if (pkt == msg) { printf(%s %i: AMSend.sendDone to Node src:%i dest:%i \n, (TOS_NODE_ID1)? EndDevice:BaseStation, TOS_NODE_ID, call AMPacket.source(msg), call AMPacket.destination(msg)); //,radioBusy ? TRUE:FALSE } .. The output is as follows: EndDevice (GC:3): call AMSend.send(6, msg, len) return 0 at Time:34 EndDevice 3: JOIN_KEY message sent to NODE 6 : group=1, GC=3, nextHop=5 //this means that node 3 send message to node 6 with res=SUCCESS However node 6 does not receive the message? Thx for any clarification or explication ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] TinyOS - ZigBee Security?
Hello, I would just to know if the security protocol of Zigbee (encryption with AES-CTR, CBC, etc..) is already implemented in TinyOS? I read a lot of things about security in WSNs but i am seeing that there isn't a lot of things implemented. Thank you , D. -- David M. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] TinyOS - ZigBee Security?
A TinyOS module which implement AES is available here: http://tinyos.cvs.sourceforge.net/viewvc/*checkout*/tinyos/tinyos-2.x-contrib/crypto/index.html For mode of operations, it is not yet implemented. Regards. Sylvain On Wed, 2010-06-02 at 14:58 +0200, David Martins wrote: Hello, I would just to know if the security protocol of Zigbee (encryption with AES-CTR, CBC, etc..) is already implemented in TinyOS? I read a lot of things about security in WSNs but i am seeing that there isn't a lot of things implemented. Thank you , D. -- David M. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Increasing Maximum Payload Size
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 of that system for details. Content preview: Hello, I am using Send interface and I can not send more then 20 bytes in one message. I would like to increase this to 28 bytes. TOSH_DATA_LENGTH is already 28 but Send.maxPayloadLength() returns 20. Is there a way to increase the size of packet? [...] Content analysis details: (4.1 points, 3.3 required) pts rule name description -- -- 3.2 FH_DATE_PAST_20XX The date is grossly in the future. -0.2 BAYES_40 BODY: Bayesian spam probability is 20 to 40% [score: 0.3105] 1.1 DNS_FROM_OPENWHOIS RBL: Envelope sender listed in bl.open-whois.org. ---BeginMessage--- Hello, I am using Send interface and I can not send more then 20 bytes in one message. I would like to increase this to 28 bytes. TOSH_DATA_LENGTH is already 28 but Send.maxPayloadLength() returns 20. Is there a way to increase the size of packet? I am new to TinyOS and I am using tinyos-2.1.0 with tinynode motes. Thank you in advance for your help, Katarina ---End Message--- ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] manage concurrency
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 of that system for details. Content preview: I have a program in which i need to use concurrency. A base station that can receive multiple request message at the same time How can I manage concurrency to get coherent result? Thx in advance [...] Content analysis details: (3.9 points, 3.3 required) pts rule name description -- -- 3.2 FH_DATE_PAST_20XX The date is grossly in the future. 1.0 BAYES_60 BODY: Bayesian spam probability is 60 to 80% [score: 0.6996] 0.0 HTML_MESSAGE BODY: HTML included in message 1.1 DNS_FROM_OPENWHOIS RBL: Envelope sender listed in bl.open-whois.org. -1.4 AWLAWL: From: address is in the auto white-list The original message was not completely plain text, and may be unsafe to open with some email clients; in particular, it may contain a virus, or confirm that your address can receive spam. If you wish to view it, it may be safer to save it to a file and open it with an editor. ---BeginMessage--- I have a program in which i need to use concurrency. A base station that can receive multiple request message at the same time How can I manage concurrency to get coherent result? Thx in advance ---End Message--- ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] TinyOS - ZigBee Security?
Hi! In case you are dealing with motes that use the CC2420 radio, the hardware security features have been implemented and included in the TinyOS official 2.1.1 release. The tutorial can be found here. http://docs.tinyos.net/index.php/CC2420_Security_Tutorial -John On Jun 2, 2010, at 8:58 AM, David Martins wrote: Hello, I would just to know if the security protocol of Zigbee (encryption with AES-CTR, CBC, etc..) is already implemented in TinyOS? I read a lot of things about security in WSNs but i am seeing that there isn't a lot of things implemented. Thank you , D. -- David M. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- JeongGil Ko (John) Ph.D. Student Department of Computer Science Johns Hopkins University http://www.cs.jhu.edu/~jgko ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] homebrew tmote connect
Hello, As the nslu2 is not on the market anymore and the tmote connect has disappeared even earlier, my question is how to build a gateway that matches its functionality. I would like to see both programming of telosb nodes as well as being able to connect the serial forwarder. Checking the old netbsl scripts for programming, they merely seem to pump the output of the msp430-bsl script into netcat which sends it to the gateway via tcp. The main question is what do I need on the other side, i.e., on the gateway? Just another netcat that pumps what it receives into /dev/usbX and sends the results of that back to the network (That would mean one netcat per connected WSN node)? And if that works what do I do with the serial forwarder? Has anybody built something similar or even seen the sources of the tmote connect gateway? Thanks, Olaf ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] homebrew tmote connect
Hello, As the nslu2 is not on the market anymore and the tmote connect has disappeared even earlier, my question is how to build a gateway that matches its functionality. I would like to see both programming of telosb nodes as well as being able to connect the serial forwarder. Latter one I have done on a OpenWrt ('WhiteRussian') Asus AccessPoint. The package has not been ported to OpenWrt Kamikaze. Checking the old netbsl scripts for programming, they merely seem to pump the output of the msp430-bsl script into netcat which sends it to the gateway via tcp. The main question is what do I need on the other side, i.e., on the gateway? Just another netcat that pumps what it receives into /dev/usbX and sends the results of that back to the network (That would mean one netcat per connected WSN node)? And if that works what do I do with the serial forwarder? It might be that there was ser2net running on the gateway: http://sourceforge.net/projects/ser2net/ Has anybody built something similar or even seen the sources of the tmote connect gateway? Thanks, Olaf ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help | ATTENTION: NEW TELEPHONE EXTENSION! | Dipl.-Ing. Markus Becker | Communication Networks | Mobile Research Center | TZI - Center for Computing Technologies | University Bremen | Germany | web: http://www.comnets.uni-bremen.de/~mab/ | mailto: m...@comnets.uni-bremen.de | telephone: +49 421 218 62379 | building: NW1 room: N2260 ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] s the CPM(closest-fit patter matching) only be used in TOSSIM2 not in the TOSSIM1 , or all version of TOSSIM have the CPM?
I wanna know the different between TOSSIM2 and TOSSIM1! I have read some information about it . So i have a option that In TinyOS1.x there is only two type of radio model no noise model,but in TinyOS2.x,we have CPM nosie model. Am i all right ? Thanks ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help