[Tinyos-help] Entra nella mia rete su LinkedIn
LinkedIn yamina khenfouci ha chiesto di aggiungerti ai suoi collegamenti su LinkedIn: -- Vorrei aggiungerti alla mia rete professionale su LinkedIn. Accetta l'invito di yamina khenfouci http://www.linkedin.com/e/56ej33-h0aoqf6k-4q/XeKImR1CsruZ_6rzHGtOvX4wgulClYRcuWnIvwJAsNR6lMHky0zk/blk/I63702553_45/pmpxnSRJrSdvj4R5fnhv9ClRsDgZp6lQs6lzoQ5AomZIpn8_djhvcPkRcz0TcPp9bSpLsn1funlObP0QdzoOczoQc3cLrCBxbOYWrSlI/EML_comm_afe/?hs=falsetok=1SXbpP_nsZZl81 Visualizza l'invito di yamina khenfouci http://www.linkedin.com/e/56ej33-h0aoqf6k-4q/XeKImR1CsruZ_6rzHGtOvX4wgulClYRcuWnIvwJAsNR6lMHky0zk/blk/I63702553_45/0Rd5YPdjkOc3sPdAALqnpPbOYWrSlI/svi/?hs=falsetok=2paMgMq_MZZl81 -- Perché entrare in contatto con yamina khenfouci potrebbe essere una buona idea? Le persone che conoscono yamina khenfouci possono visitare il tuo profilo: Collegandoti a yamina khenfouci attirerai l'attenzione degli utenti di LinkedIn. Scopri chi ha visitato il tuo profilo: http://www.linkedin.com/e/56ej33-h0aoqf6k-4q/wvp/inv18_wvmp/?hs=falsetok=2h_K1MT4cZZl81 -- (c) 2012, LinkedIn Corporation___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] (no subject)
On Tue, Mar 27, 2012 at 3:10 AM, Juan Martinez juan.jose.martinez.ro...@gmail.com wrote: Hi, I’m using Xubuntos with tinyos-2.1.0 and the folder that contain hurray archive. My question is anybody knows witch is the route that I have to introduce the hurray folder? you might want to be a little bit more verbose as to what is a hurray archive. What Xubuntos are you using. If it is the one I'm thinking of it is really old at this point. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Eric B. Decker Senior (over 50 :-) Researcher ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] IRIS motes corrupted data received - CRC check
Hi Miklos, Removing the CSMA/Tx retries seems to have fixed the issue. I have not seen any corrupted packets since. I am kind of surprised that the AT86RF230 has bugs even in the core functionality Thanks, Lewis -Original Message- From: mmar...@gmail.com [mailto:mmar...@gmail.com] On Behalf Of Miklos Maroti Sent: Monday, March 26, 2012 12:47 AM To: Oldrine Lewis Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] IRIS motes corrupted data received - CRC check Hi Lewis, On Mon, Mar 26, 2012 at 5:42 AM, Oldrine Lewis ole...@sutron.com wrote: Hi Miklos, I have not tested with lower data rates. I will get rerun my tests with a lower data rate and also get the status of the registers. However, in the meantime, I captured another corrupted packet where the radio actually resend the correct packet, but it was probably discarded by SubReceive.receive() in UniqueLayerP.nc cos it appeared to be a duplicate packet. First Packet ( corrupted data) 61 88 40 22 00 FF FF 02 00 3F 08 0B 12 10 01 04 00 9A 02 07 00 27 00 00 C2 00 00 67 03 05 00 Second Packet (resend by the radio) 61 88 40 22 00 FF FF 02 00 3F 08 0B 12 10 01 04 00 AA 02 01 00 2B 00 01 02 00 00 01 00 05 00 This is completely overwritten (it has many errors from the AA on). Is there any situation where the sending radio might retransmit messages that are broadcast? Strange, it should not have resent the packet unless 1) you use PacketLink, or 2) you use LowPowerListening. Maybe you can add debugging on the sender side as well... Best, Miklos Thanks, Lewis -Original Message- From: mmar...@gmail.com [mailto:mmar...@gmail.com] On Behalf Of Miklos Maroti Sent: Sunday, March 25, 2012 11:14 PM To: Oldrine Lewis Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] IRIS motes corrupted data received - CRC check Hi Lewis, Very interesting. The RF230 should not have done that: in section 8.2.4 it says: In RX_AACK states, if FCS of the received frame is not valid, the radio transceiver rejects the frame and the TRX_END interrupt will not be generated. Do you see this behavior with very low data rates? Can you also print out the TRX_STATUS, TRX_STATE, PHY_RSSI and VERSION_NUM registers just after you have downloaded the message at line 695 just after the call SELN.set();. Would be nice if any change in these registers could detect the bad CRC check. Also, does enabling the RADIO_DEBUG produces any output with java net.tinyos.tools.DiagMsg? Best, Miklos On Mon, Mar 26, 2012 at 2:05 AM, Oldrine Lewis ole...@sutron.com wrote: Hi Miklos, I began seeing quite a few of the corrupted packets, so I added some debug statements(RF230DriverHwAckP.nc) to output the raw received data just before signaling RadioReceive.receive(rxMsg); Sender : Node addr 2 Receiver : Node addr 3 Tx Type: Broadcast Byte#15 should have been 0x01 instead of 0x51. Received data 61 88 49 22 00 FF FF 02 00 3F 08 0B 12 10 51 04 00 AA 02 01 00 34 00 01 02 00 00 01 00 05 00 Expected data 61 88 49 22 00 FF FF 02 00 3F 08 0B 12 10 01 04 00 AA 02 01 00 34 00 01 02 00 00 01 00 05 00 Thanks, Lewis -Original Message- From: mmar...@gmail.com [mailto:mmar...@gmail.com] On Behalf Of Miklos Maroti Sent: Wednesday, March 21, 2012 2:01 AM To: Oldrine Lewis Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] IRIS motes corrupted data received - CRC check Hi Lewis, On Tue, Mar 20, 2012 at 6:26 AM, Oldrine Lewis ole...@sutron.com wrote: Hi Miklos, If multiple packets arrive in quick succession, and we reject the first packet because radioIrq was set, will radioIrq go ahead and interrupt the micro again? If it does, is it possible that we might end up downloading a subsequent packet which might have been corrupted? The RF230 has a TRX_UR interrupt (underrun/overrun) which will be triggered if the pointer used to fill up the FIFO from the demodulator passes the pointer that is used to read the content via SPI. To my understanding this will indicate all data corruption errors coming from overwriting packets. Best, Miklos Thanks, Lewis -Original Message- From: mmar...@gmail.com [mailto:mmar...@gmail.com] On Behalf Of Miklos Maroti Sent: Tuesday, March 20, 2012 12:04 AM To: Oldrine Lewis Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] IRIS motes corrupted data received - CRC check Hi Lewis, On Tue, Mar 20, 2012 at 2:42 AM, Oldrine Lewis ole...@sutron.com wrote: Hi, I am a little confused too cos the FCS check should be automatically done in the extended mode. The corrupted packet I noticed had an incorrect length (argument in Receive() event signalled in the app) and also some of the data bytes were corrupted. I have not yet been able to capture another corrupted packet since. With very low probability a
Re: [Tinyos-help] IRIS motes corrupted data received - CRC check
Hi Lewis, On Tue, Mar 27, 2012 at 8:48 AM, Oldrine Lewis ole...@sutron.com wrote: Hi Miklos, Removing the CSMA/Tx retries seems to have fixed the issue. I have not seen any corrupted packets since. I am kind of surprised that the AT86RF230 has bugs even in the core functionality Great to hear that. Software is reliable, hardware is not :). By the way, a lot of hardware bugs are documented in the errata, and they specifically recommend implementing the retry logic and CSMA in software. The ATMEGA128RFA1 chip does not seem to be affected by those bugs however. Best, Miklos Thanks, Lewis -Original Message- From: mmar...@gmail.com [mailto:mmar...@gmail.com] On Behalf Of Miklos Maroti Sent: Monday, March 26, 2012 12:47 AM To: Oldrine Lewis Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] IRIS motes corrupted data received - CRC check Hi Lewis, On Mon, Mar 26, 2012 at 5:42 AM, Oldrine Lewis ole...@sutron.com wrote: Hi Miklos, I have not tested with lower data rates. I will get rerun my tests with a lower data rate and also get the status of the registers. However, in the meantime, I captured another corrupted packet where the radio actually resend the correct packet, but it was probably discarded by SubReceive.receive() in UniqueLayerP.nc cos it appeared to be a duplicate packet. First Packet ( corrupted data) 61 88 40 22 00 FF FF 02 00 3F 08 0B 12 10 01 04 00 9A 02 07 00 27 00 00 C2 00 00 67 03 05 00 Second Packet (resend by the radio) 61 88 40 22 00 FF FF 02 00 3F 08 0B 12 10 01 04 00 AA 02 01 00 2B 00 01 02 00 00 01 00 05 00 This is completely overwritten (it has many errors from the AA on). Is there any situation where the sending radio might retransmit messages that are broadcast? Strange, it should not have resent the packet unless 1) you use PacketLink, or 2) you use LowPowerListening. Maybe you can add debugging on the sender side as well... Best, Miklos Thanks, Lewis -Original Message- From: mmar...@gmail.com [mailto:mmar...@gmail.com] On Behalf Of Miklos Maroti Sent: Sunday, March 25, 2012 11:14 PM To: Oldrine Lewis Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] IRIS motes corrupted data received - CRC check Hi Lewis, Very interesting. The RF230 should not have done that: in section 8.2.4 it says: In RX_AACK states, if FCS of the received frame is not valid, the radio transceiver rejects the frame and the TRX_END interrupt will not be generated. Do you see this behavior with very low data rates? Can you also print out the TRX_STATUS, TRX_STATE, PHY_RSSI and VERSION_NUM registers just after you have downloaded the message at line 695 just after the call SELN.set();. Would be nice if any change in these registers could detect the bad CRC check. Also, does enabling the RADIO_DEBUG produces any output with java net.tinyos.tools.DiagMsg? Best, Miklos On Mon, Mar 26, 2012 at 2:05 AM, Oldrine Lewis ole...@sutron.com wrote: Hi Miklos, I began seeing quite a few of the corrupted packets, so I added some debug statements(RF230DriverHwAckP.nc) to output the raw received data just before signaling RadioReceive.receive(rxMsg); Sender : Node addr 2 Receiver : Node addr 3 Tx Type: Broadcast Byte#15 should have been 0x01 instead of 0x51. Received data 61 88 49 22 00 FF FF 02 00 3F 08 0B 12 10 51 04 00 AA 02 01 00 34 00 01 02 00 00 01 00 05 00 Expected data 61 88 49 22 00 FF FF 02 00 3F 08 0B 12 10 01 04 00 AA 02 01 00 34 00 01 02 00 00 01 00 05 00 Thanks, Lewis -Original Message- From: mmar...@gmail.com [mailto:mmar...@gmail.com] On Behalf Of Miklos Maroti Sent: Wednesday, March 21, 2012 2:01 AM To: Oldrine Lewis Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] IRIS motes corrupted data received - CRC check Hi Lewis, On Tue, Mar 20, 2012 at 6:26 AM, Oldrine Lewis ole...@sutron.com wrote: Hi Miklos, If multiple packets arrive in quick succession, and we reject the first packet because radioIrq was set, will radioIrq go ahead and interrupt the micro again? If it does, is it possible that we might end up downloading a subsequent packet which might have been corrupted? The RF230 has a TRX_UR interrupt (underrun/overrun) which will be triggered if the pointer used to fill up the FIFO from the demodulator passes the pointer that is used to read the content via SPI. To my understanding this will indicate all data corruption errors coming from overwriting packets. Best, Miklos Thanks, Lewis -Original Message- From: mmar...@gmail.com [mailto:mmar...@gmail.com] On Behalf Of Miklos Maroti Sent: Tuesday, March 20, 2012 12:04 AM To: Oldrine Lewis Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] IRIS motes corrupted data received - CRC check Hi Lewis, On Tue, Mar 20, 2012 at 2:42 AM, Oldrine Lewis
[Tinyos-help] Timestamp problem
Hi everybody, I'm working on implementing Schedule-based MAC protocol and I apply FTSP for time synchronization (use telosb mote). I use AMSend/ActiveMessageC interface to send and receive messages. Timestamp is made before sending message (or after receiving message as well) by using the command 'call LocalTime.get()'. And then, the receiver can calculate timeOffset = Global time - Local time However, the value of timeOffset is changed very much with each message, so the estimated global time is not correct. This error can be the timestamp problem. Please help me if you have any experience on this. It's very urgent. Some more questions: 1. How can I make timestamp at the moment before the message is sent to environment (close to physical layer as possible to reduce delay)? 2. Whether the AMSend interface performs RTS/CTS or senses the channel before sending the message Because each node is assigned slot for sending DATA message, so there is no need to use RTS/CTS. But for other type of message, it needs RTS/CTS to compete the channel. How can I do this? 3. Because it can use software/hardware Acknowlegment by default. How can I add some information into ACK message or disable both software and hardware ACK to use my own ACK? Thank you very much! Best regards, Bin -- View this message in context: http://old.nabble.com/Timestamp-problem-tp33544786p33544786.html Sent from the TinyOS - Help mailing list archive at Nabble.com. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] help lesson 4 - The java class is not found: TestSerial
Dear all, I try to follow the tinyos-2.x tutorial in lesson 4: Mote-PC serial Communication. I successfully compiled and installed the TestSerial application on telosb mote. However, when I type in the TestSerial directory: java TestSerial I get: The java class is not found: TestSerial The current directory and the tinyos.jar are included in the CLASSPATH as it points to: .:C:/cygwin/opt/tinyos-2.x/support/sdk/java/tinyos.jar:C:/cygwin/opt/tinyos-2.x/support/sdk/java The TestSerial.class and TestSerialMsg.class were generated in the TestSerial directory. I am using Cygwin on Windows 7. I hope someone can help me. Thanks a lot in advance. Tifenn This message was sent using IMP, the Internet Messaging Program. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] help lesson 4 - The java class is not found: TestSerial
I don't use TOS2 so I can't easily look it up, but it may be that you need to include the full package name on the command line which might be something like: java net.tinyos.tools.TestSerial Java wants the fully specified package name for all classes it uses, even if you are in the directory that contains the class itself. And it treats package and directory trees identically, so you can imagine a jar file as an extension of the directory structure. MS tifenn.ra...@etu.utc.fr wrote: Dear all, I try to follow the tinyos-2.x tutorial in lesson 4: Mote-PC serial Communication. I successfully compiled and installed the TestSerial application on telosb mote. However, when I type in the TestSerial directory: java TestSerial I get: The java class is not found: TestSerial The current directory and the tinyos.jar are included in the CLASSPATH as it points to: .:C:/cygwin/opt/tinyos-2.x/support/sdk/java/tinyos.jar:C:/cygwin/opt/tinyos-2.x/support/sdk/java The TestSerial.class and TestSerialMsg.class were generated in the TestSerial directory. I am using Cygwin on Windows 7. I hope someone can help me. Thanks a lot in advance. Tifenn This message was sent using IMP, the Internet Messaging Program. ___ 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] (no subject)
Hi everybody, I'm ussing tinyos-2.1.1 in a ubuntu VMware and I wanna use the hurray, the readme is: How to install? The tos2 tree is replicated in the hurray2x subfolder, place it the the tinyos-2.x-contrib folder to use. The implementation code is located under /tos/ieee802154 and the modified hardware files in the /tos/cc2420/ieee802154 The example applications, simmilarly with the TOS1 version of open-zb are located under /apps Note that the current implementation status was only tested for the TelosB Platform. Before compiling the applications setup the following paths in Cygwin: The following commands ilutrate an example of the paths setup (It is possible to set them as a script in order to enable several tos version under the same instalation) export TOSROOT='/opt/tinyos-2.x-contrib/hurray2x' export TOSDIR='/opt/tinyos-2.x-contrib/hurray2x/tos' export CLASSPATH=/cygdrive/c/tinyos/jdk1.4.1_02/j2sdk1.4.1_02/bin;C:\tinyos\cygwin\opt\tinyos-2.x\support\sdk\java;C:\tinyos\cygwin\opt\tinyos-2.x\support\sdk\java\tinyos.jar;$CLASSPATH;. export MAKERULES='/opt/tinyos-2.x-contrib/hurray2x/support/make/Makerules' export PATH=/opt/msp430/bin:$PATH - I can't find the tinyos-2.x-contrib folder. I don't know if I have to create the folder and to copy the hurray archive or download from anywhere. Thanks Juan ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] help lesson 4 - The java class is not found: TestSerial
Tifenn: Your classpath looks weird: .:C:/cygwin/opt/tinyos-2.x/support/sdk/java/tinyos.jar:C:/cygwin/opt/tinyos-2.x/support/sdk/java Java on windows expects that the elements of the classpath are separated with semicolons, not colons. The correct classpath should be: .;C:/cygwin/opt/tinyos-2.x/support/sdk/java/tinyos.jar;C:/cygwin/opt/tinyos-2.x/support/sdk/java Janos On Tue, Mar 27, 2012 at 10:35 AM, tifenn.ra...@etu.utc.fr wrote: Dear all, I try to follow the tinyos-2.x tutorial in lesson 4: Mote-PC serial Communication. I successfully compiled and installed the TestSerial application on telosb mote. However, when I type in the TestSerial directory: java TestSerial I get: The java class is not found: TestSerial The current directory and the tinyos.jar are included in the CLASSPATH as it points to: .:C:/cygwin/opt/tinyos-2.x/support/sdk/java/tinyos.jar:C:/cygwin/opt/tinyos-2.x/support/sdk/java The TestSerial.class and TestSerialMsg.class were generated in the TestSerial directory. I am using Cygwin on Windows 7. I hope someone can help me. Thanks a lot in advance. Tifenn This message was sent using IMP, the Internet Messaging Program. ___ 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
Re: [Tinyos-help] help lesson 4 - The java class is not found: TestSerial
Hi, I think the windows CLASSPATH format is different: It uses ; (semicolon) instead of : (colon), and \ (backslash) instead of / (slash). Andris On Tue, Mar 27, 2012 at 4:35 PM, tifenn.ra...@etu.utc.fr wrote: Dear all, I try to follow the tinyos-2.x tutorial in lesson 4: Mote-PC serial Communication. I successfully compiled and installed the TestSerial application on telosb mote. However, when I type in the TestSerial directory: java TestSerial I get: The java class is not found: TestSerial The current directory and the tinyos.jar are included in the CLASSPATH as it points to: .:C:/cygwin/opt/tinyos-2.x/support/sdk/java/tinyos.jar:C:/cygwin/opt/tinyos-2.x/support/sdk/java The TestSerial.class and TestSerialMsg.class were generated in the TestSerial directory. I am using Cygwin on Windows 7. I hope someone can help me. Thanks a lot in advance. Tifenn This message was sent using IMP, the Internet Messaging Program. ___ 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
Re: [Tinyos-help] how to simulate routing protocol in tinyos2.1.1
Take a look at avrora, the main site is not updated but there's a 2012 version of it somewhere (I dont have the link right now, sorry). Fernando On Tue, Mar 27, 2012 at 2:51 PM, jeni john jenij...@rediffmail.com wrote: hi, I am doing project in fault tolerance routing.I have installed tinyos 2.1.1 in ubuntu 10.04.I have successfully run Blink,BlinkToRadio, RadioCountToLeds. - But how should I simulate a routing protocol without any real motes. I am new to this area and I am not much aware of writing python script for simulating codes in tossim. - Is writing python script,the only solution for simulating protocol codes in tossim and if so, then please help me to learn it. - or do we have any other simulators for tinyos and if so, then how does it work I have already sent help regarding this before but didnt get any reply...please help me... thanking you,in advance. jeni. http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle? Follow *Rediff Deal ho jaye!http://track.rediff.com/click?url=___http://dealhojaye.rediff.com?sc_cid=rediffmailsignature___cmp=signaturelnk=rediffmailsignaturenewservice=deals * to get exciting offers in your city everyday. ___ 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] Finding location of a node in Tinyviz
How to find location of a node in tinyviz, i.e. i want a node to send its location when it sends packet to another node. How can it be possible?? ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] how to simulate routing protocol in tinyos2.1.1
On 03/27/2012 08:08 PM, Fernando Antonio Marques Filho wrote: Take a look at avrora, the main site is not updated but there's a 2012 version of it somewhere (I dont have the link right now, sorry). http://sourceforge.net/projects/avrora/ -- Dipl. Inform. Christian Haas Karlsruher Institut für Technologie TM Prof. Dr. Zitterbart Raum 102, Geb. 20.50 Engesserstraße 2 Rechts 76128 Karlsruhe Germany Tel.: +49 721 608-48673 Email:h...@tm.uka.de Jabber-ID: h...@tm.uka.de ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] help lesson 4 - The java class is not found: TestSerial
Hi, I have faced the same problem and solved. One thing is you might not have compiled your java files. Go inside /tinyos-x.x/support/sdk/java folder and give command make. If that itself is not working try following (a) Download java tar file from the Tiny OS CVS repository: http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x/support/sdk/java/ (b) Untar and keep it in /opt/tinyos-2.1.0/support/sdk instead of existing java folder there. (c) Go inside the java folder in terminal and give make command. This is how i solved the issue. May be this will help you. On Tue, Mar 27, 2012 at 11:28 PM, Bíró, András andras.b...@unicomp.huwrote: Hi, I think the windows CLASSPATH format is different: It uses ; (semicolon) instead of : (colon), and \ (backslash) instead of / (slash). Andris On Tue, Mar 27, 2012 at 4:35 PM, tifenn.ra...@etu.utc.fr wrote: Dear all, I try to follow the tinyos-2.x tutorial in lesson 4: Mote-PC serial Communication. I successfully compiled and installed the TestSerial application on telosb mote. However, when I type in the TestSerial directory: java TestSerial I get: The java class is not found: TestSerial The current directory and the tinyos.jar are included in the CLASSPATH as it points to: .:C:/cygwin/opt/tinyos-2.x/support/sdk/java/tinyos.jar:C:/cygwin/opt/tinyos-2.x/support/sdk/java The TestSerial.class and TestSerialMsg.class were generated in the TestSerial directory. I am using Cygwin on Windows 7. I hope someone can help me. Thanks a lot in advance. Tifenn This message was sent using IMP, the Internet Messaging Program. ___ 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 -- Regards Prasanth.P ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Timestamp problem
call LocalTime.get() gives you the local time on the node. If you want to access the global time on the node then you need to use the call GlobalTime.local2Global(mylocaltime) command. Here mylocaltime is the return parameter of call LocalTime.get(). I think what you need to do is compare global times at sender and receiver. Also conversion from local time to global time requires an offset as well as a skew. - TinyOS MAC does an initial backoff and CCA before a packet is sent out. - Regarding acks... by default acks are activated, if you want to disable them, include CFLAGS += -DCC2420_NO_ACKNOWLEDGEMENTS in your MAKEFILE. Regards Akhila Hi everybody, I'm working on implementing Schedule-based MAC protocol and I apply FTSP for time synchronization (use telosb mote). I use AMSend/ActiveMessageC interface to send and receive messages. Timestamp is made before sending message (or after receiving message as well) by using the command 'call LocalTime.get()'. And then, the receiver can calculate timeOffset = Global time - Local time However, the value of timeOffset is changed very much with each message, so the estimated global time is not correct. This error can be the timestamp problem. Please help me if you have any experience on this. It's very urgent. Some more questions: 1. How can I make timestamp at the moment before the message is sent to environment (close to physical layer as possible to reduce delay)? 2. Whether the AMSend interface performs RTS/CTS or senses the channel before sending the message Because each node is assigned slot for sending DATA message, so there is no need to use RTS/CTS. But for other type of message, it needs RTS/CTS to compete the channel. How can I do this? 3. Because it can use software/hardware Acknowlegment by default. How can I add some information into ACK message or disable both software and hardware ACK to use my own ACK? Thank you very much! Best regards, Bin -- View this message in context: http://old.nabble.com/Timestamp-problem-tp33544786p33544786.html Sent from the TinyOS - Help mailing list archive at Nabble.com. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help