Re: [Tinyos-help] TYMO on TinyOS
Hi to all, I'm also interesting about this topic In my Master degree I deployed a real mesh WSN using TinyOS-2.1.1 with a routing layer based on TYMO protocol (paper link: http://link.springer.com/chapter/10.1007%2F978-3-642-28783-1_29). Inside the TYMO default implementation, I included several characteristics in order to reduce the power consumption and other goals... Now, I have been reading your emails and I would like to keep up with all the people that have been working with this AODV REACTIVE Multihop Routing protocol (as it is Zigbee and others AODV Reactive Protocols) For this, I would like to test all new changes, because I think that TinyOS does not provide other real multihop protocol implementation without using IPV6 and I want to use a more stable TYMO version. Regards. 2014-04-04 17:17 GMT+02:00 Antonio Linan ali...@zolertia.com: I had to change several things taking advantage of the deployment topology, as nodes were rather stationary I was able to get rid off the large amount of timers associated to the aging each routing table entry, thus keeping the RAM low, allowing to also add LQE value to the routing table to allow a better superior route check. This implementation is not so clean as it is, I also wanted to check the licensing before publishing anything, so hopefully I will have time to push this upwards. I will take a peep at your implementation, I'm close to a project milestone after which I will be able to goof around again, I'm not forgetting also the pending Z1 issues :) Cheers, --Antonio On Fri, Apr 4, 2014 at 5:08 PM, Martin Cerveny mar...@c-home.cz wrote: Hello. I tried TIMO 3 years ago, but there are many issues in code (seems like alpha version). Be prepared for many memory corruptions and out of specs behavior. For example: https://github.com/tinyos/tinyos-main/blob/master/tos/lib/net/tymo/mh/MHPacketM.nc#L38 - if you ask for large data, SubPacket.getPayload() returns NULL but TIMO add sizeof(mhpacket_header_t) and you are using invalid pointer. I dropped to use TIMO after few weeks of endless JTAG debugging :-( I wrote own implementation of MultiHop and Babel routing (not DYMO AODV routing). https://github.com/mcerveny/tinyos-main/tree/multi-hop-forwarding-with-babel-routing/tos/lib/net/mh On Fri,4 Apr 2014, Antonio Linan wrote: The code is very old but works as expected, I have actively used (adapted to a specific topology) and it is straight-forward to use and implement. I glad to hear that someone using it. Are there any patches ? Is there some contact for original authors to change license to standard TinyOS license (BSD) (TIMO GPL licensed code IS INCOMPATIBLE). Martin Cerveny On Fri, Apr 4, 2014 at 3:15 PM, trung phạm trungitiu09...@gmail.com wrote: Dear !! So thank you about your reply !! First at all , im so sory about my English ! I don't know about Tymo, and this is a first time im work with tinyOS my project ask me, compile Tymo in tinyOS and I don't know how to do that so can you help me step by step or you have any document can help me !! SO thanks you !! Trung 2014-04-04 19:56 GMT+07:00 Antonio Linan ali...@zolertia.com: What's wrong with the test application? https://github.com/tinyos/tinyos-main/tree/master/apps/tests/TestTymo --Antonio On Fri, Apr 4, 2014 at 2:52 PM, trung phạm trungitiu09...@gmail.com wrote: Please help me !! my Project about TYMO and I want to compile TYMO in TinyOS So please guide me compile it... thanks all so much ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- -- Antonio Liñán Colina R+D Engineer @: ali...@advancare.com @: ali...@zolertia.com -- Advancare Ph.: +34 935 511 403 http://www.advancare.com http://www.zolertia.com http://zolertia.sourceforge.net http://webshop.zolertia.com -- -- Antonio Liñán Colina R+D Engineer @: ali...@advancare.com @: ali...@zolertia.com -- Advancare Ph.: +34 935 511 403 http://www.advancare.com http://www.zolertia.com http://zolertia.sourceforge.net http://webshop.zolertia.com ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- -- Antonio Liñán Colina R+D Engineer @: ali...@advancare.com @: ali...@zolertia.com -- Advancare Ph.: +34 935 511 403 http://www.advancare.com http://www.zolertia.com http://zolertia.sourceforge.net http://webshop.zolertia.com ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu
Re: [Tinyos-help] TYMO on TinyOS
Hello, So far our implementation has been running since any major incidents, we have done extensive testing using both unit testing and long-running tests, so it was actually quite mature for production. However one major drawback is the number of changes made to the original Tymo implementation, I will be happy to share the contribution but I don't think I will be able to merge it back any time soon with the original Tymo as it would be a major pain. Also I will like to contact the author first before publishing anything. Cheers, --Antonio On Wed, Apr 9, 2014 at 10:32 AM, Antonio Rosa antoniorosarodrig...@gmail.com wrote: Hi to all, I'm also interesting about this topic In my Master degree I deployed a real mesh WSN using TinyOS-2.1.1 with a routing layer based on TYMO protocol (paper link: http://link.springer.com/chapter/10.1007%2F978-3-642-28783-1_29). Inside the TYMO default implementation, I included several characteristics in order to reduce the power consumption and other goals... Now, I have been reading your emails and I would like to keep up with all the people that have been working with this AODV REACTIVE Multihop Routing protocol (as it is Zigbee and others AODV Reactive Protocols) For this, I would like to test all new changes, because I think that TinyOS does not provide other real multihop protocol implementation without using IPV6 and I want to use a more stable TYMO version. Regards. 2014-04-04 17:17 GMT+02:00 Antonio Linan ali...@zolertia.com: I had to change several things taking advantage of the deployment topology, as nodes were rather stationary I was able to get rid off the large amount of timers associated to the aging each routing table entry, thus keeping the RAM low, allowing to also add LQE value to the routing table to allow a better superior route check. This implementation is not so clean as it is, I also wanted to check the licensing before publishing anything, so hopefully I will have time to push this upwards. I will take a peep at your implementation, I'm close to a project milestone after which I will be able to goof around again, I'm not forgetting also the pending Z1 issues :) Cheers, --Antonio On Fri, Apr 4, 2014 at 5:08 PM, Martin Cerveny mar...@c-home.cz wrote: Hello. I tried TIMO 3 years ago, but there are many issues in code (seems like alpha version). Be prepared for many memory corruptions and out of specs behavior. For example: https://github.com/tinyos/tinyos-main/blob/master/tos/lib/net/tymo/mh/MHPacketM.nc#L38 - if you ask for large data, SubPacket.getPayload() returns NULL but TIMO add sizeof(mhpacket_header_t) and you are using invalid pointer. I dropped to use TIMO after few weeks of endless JTAG debugging :-( I wrote own implementation of MultiHop and Babel routing (not DYMO AODV routing). https://github.com/mcerveny/tinyos-main/tree/multi-hop-forwarding-with-babel-routing/tos/lib/net/mh On Fri,4 Apr 2014, Antonio Linan wrote: The code is very old but works as expected, I have actively used (adapted to a specific topology) and it is straight-forward to use and implement. I glad to hear that someone using it. Are there any patches ? Is there some contact for original authors to change license to standard TinyOS license (BSD) (TIMO GPL licensed code IS INCOMPATIBLE). Martin Cerveny On Fri, Apr 4, 2014 at 3:15 PM, trung phạm trungitiu09...@gmail.com wrote: Dear !! So thank you about your reply !! First at all , im so sory about my English ! I don't know about Tymo, and this is a first time im work with tinyOS my project ask me, compile Tymo in tinyOS and I don't know how to do that so can you help me step by step or you have any document can help me !! SO thanks you !! Trung 2014-04-04 19:56 GMT+07:00 Antonio Linan ali...@zolertia.com: What's wrong with the test application? https://github.com/tinyos/tinyos-main/tree/master/apps/tests/TestTymo --Antonio On Fri, Apr 4, 2014 at 2:52 PM, trung phạm trungitiu09...@gmail.com wrote: Please help me !! my Project about TYMO and I want to compile TYMO in TinyOS So please guide me compile it... thanks all so much ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- -- Antonio Liñán Colina R+D Engineer @: ali...@advancare.com @: ali...@zolertia.com -- Advancare Ph.: +34 935 511 403 http://www.advancare.com http://www.zolertia.com http://zolertia.sourceforge.net http://webshop.zolertia.com -- -- Antonio Liñán Colina R+D Engineer @: ali...@advancare.com @: ali...@zolertia.com -- Advancare Ph.: +34 935 511 403 http://www.advancare.com
Re: [Tinyos-help] TYMO on TinyOS
Ok, I will be waiting for new versions from you or anyone ... Also I would like to test your versions in order to see if all the routing and control problems that I found on TYMO (and I couldn't resolve) you could resolve them. I have an enought number of motes based on IRIS platform: Atmega1281 + rf230. Regards. 2014-04-09 10:47 GMT+02:00 Antonio Linan ali...@zolertia.com: Hello, So far our implementation has been running since any major incidents, we have done extensive testing using both unit testing and long-running tests, so it was actually quite mature for production. However one major drawback is the number of changes made to the original Tymo implementation, I will be happy to share the contribution but I don't think I will be able to merge it back any time soon with the original Tymo as it would be a major pain. Also I will like to contact the author first before publishing anything. Cheers, --Antonio On Wed, Apr 9, 2014 at 10:32 AM, Antonio Rosa antoniorosarodrig...@gmail.com wrote: Hi to all, I'm also interesting about this topic In my Master degree I deployed a real mesh WSN using TinyOS-2.1.1 with a routing layer based on TYMO protocol (paper link: http://link.springer.com/chapter/10.1007%2F978-3-642-28783-1_29). Inside the TYMO default implementation, I included several characteristics in order to reduce the power consumption and other goals... Now, I have been reading your emails and I would like to keep up with all the people that have been working with this AODV REACTIVE Multihop Routing protocol (as it is Zigbee and others AODV Reactive Protocols) For this, I would like to test all new changes, because I think that TinyOS does not provide other real multihop protocol implementation without using IPV6 and I want to use a more stable TYMO version. Regards. 2014-04-04 17:17 GMT+02:00 Antonio Linan ali...@zolertia.com: I had to change several things taking advantage of the deployment topology, as nodes were rather stationary I was able to get rid off the large amount of timers associated to the aging each routing table entry, thus keeping the RAM low, allowing to also add LQE value to the routing table to allow a better superior route check. This implementation is not so clean as it is, I also wanted to check the licensing before publishing anything, so hopefully I will have time to push this upwards. I will take a peep at your implementation, I'm close to a project milestone after which I will be able to goof around again, I'm not forgetting also the pending Z1 issues :) Cheers, --Antonio On Fri, Apr 4, 2014 at 5:08 PM, Martin Cerveny mar...@c-home.cz wrote: Hello. I tried TIMO 3 years ago, but there are many issues in code (seems like alpha version). Be prepared for many memory corruptions and out of specs behavior. For example: https://github.com/tinyos/tinyos-main/blob/master/tos/lib/net/tymo/mh/MHPacketM.nc#L38 - if you ask for large data, SubPacket.getPayload() returns NULL but TIMO add sizeof(mhpacket_header_t) and you are using invalid pointer. I dropped to use TIMO after few weeks of endless JTAG debugging :-( I wrote own implementation of MultiHop and Babel routing (not DYMO AODV routing). https://github.com/mcerveny/tinyos-main/tree/multi-hop-forwarding-with-babel-routing/tos/lib/net/mh On Fri,4 Apr 2014, Antonio Linan wrote: The code is very old but works as expected, I have actively used (adapted to a specific topology) and it is straight-forward to use and implement. I glad to hear that someone using it. Are there any patches ? Is there some contact for original authors to change license to standard TinyOS license (BSD) (TIMO GPL licensed code IS INCOMPATIBLE). Martin Cerveny On Fri, Apr 4, 2014 at 3:15 PM, trung phạm trungitiu09...@gmail.com wrote: Dear !! So thank you about your reply !! First at all , im so sory about my English ! I don't know about Tymo, and this is a first time im work with tinyOS my project ask me, compile Tymo in tinyOS and I don't know how to do that so can you help me step by step or you have any document can help me !! SO thanks you !! Trung 2014-04-04 19:56 GMT+07:00 Antonio Linan ali...@zolertia.com: What's wrong with the test application? https://github.com/tinyos/tinyos-main/tree/master/apps/tests/TestTymo --Antonio On Fri, Apr 4, 2014 at 2:52 PM, trung phạm trungitiu09...@gmail.com wrote: Please help me !! my Project about TYMO and I want to compile TYMO in TinyOS So please guide me compile it... thanks all so much ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu
Re: [Tinyos-help] TYMO on TinyOS
What's wrong with the test application? https://github.com/tinyos/tinyos-main/tree/master/apps/tests/TestTymo --Antonio On Fri, Apr 4, 2014 at 2:52 PM, trung phạm trungitiu09...@gmail.com wrote: Please help me !! my Project about TYMO and I want to compile TYMO in TinyOS So please guide me compile it... thanks all so much ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- -- Antonio Liñán Colina R+D Engineer @: ali...@advancare.com @: ali...@zolertia.com -- Advancare Ph.: +34 935 511 403 http://www.advancare.com http://www.zolertia.com http://zolertia.sourceforge.net http://webshop.zolertia.com ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] TYMO on TinyOS
You have to start small, first: - What platform are you planning to use? - Have you tried compiling/programming the test? The test itself is very basic, you need to program at least 3 nodes, depending on the address given each node will act as an origin or target. $ make telosb install,1 -- origin $ make telosb install,2 -- just a node $ make telosb install,3 -- target The origin node will send every 2 second a packet to target node, if both origin and target are apart from each other wireless range, but node 2 is reachable by both, it will forward the message from origin to target. If you need documentation, asking google you get: http://tinyos.stanford.edu/tinyos-wiki/index.php/Tymo http://tymo.sourceforge.net/documentation/ The code is very old but works as expected, I have actively used (adapted to a specific topology) and it is straight-forward to use and implement. I'm sorry but this is as far as I can go, I cannot be an advisor or be of further help, at least not until you tried yourself first and come back with specific questions, not a general request. Cheers, --Antonio On Fri, Apr 4, 2014 at 3:15 PM, trung phạm trungitiu09...@gmail.com wrote: Dear !! So thank you about your reply !! First at all , im so sory about my English ! I don't know about Tymo, and this is a first time im work with tinyOS my project ask me, compile Tymo in tinyOS and I don't know how to do that so can you help me step by step or you have any document can help me !! SO thanks you !! Trung 2014-04-04 19:56 GMT+07:00 Antonio Linan ali...@zolertia.com: What's wrong with the test application? https://github.com/tinyos/tinyos-main/tree/master/apps/tests/TestTymo --Antonio On Fri, Apr 4, 2014 at 2:52 PM, trung phạm trungitiu09...@gmail.com wrote: Please help me !! my Project about TYMO and I want to compile TYMO in TinyOS So please guide me compile it... thanks all so much ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- -- Antonio Liñán Colina R+D Engineer @: ali...@advancare.com @: ali...@zolertia.com -- Advancare Ph.: +34 935 511 403 http://www.advancare.com http://www.zolertia.com http://zolertia.sourceforge.net http://webshop.zolertia.com -- -- Antonio Liñán Colina R+D Engineer @: ali...@advancare.com @: ali...@zolertia.com -- Advancare Ph.: +34 935 511 403 http://www.advancare.com http://www.zolertia.com http://zolertia.sourceforge.net http://webshop.zolertia.com ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] TYMO on TinyOS
Hello. I tried TIMO 3 years ago, but there are many issues in code (seems like alpha version). Be prepared for many memory corruptions and out of specs behavior. For example: https://github.com/tinyos/tinyos-main/blob/master/tos/lib/net/tymo/mh/MHPacketM.nc#L38 - if you ask for large data, SubPacket.getPayload() returns NULL but TIMO add sizeof(mhpacket_header_t) and you are using invalid pointer. I dropped to use TIMO after few weeks of endless JTAG debugging :-( I wrote own implementation of MultiHop and Babel routing (not DYMO AODV routing). https://github.com/mcerveny/tinyos-main/tree/multi-hop-forwarding-with-babel-routing/tos/lib/net/mh On Fri,4 Apr 2014, Antonio Linan wrote: The code is very old but works as expected, I have actively used (adapted to a specific topology) and it is straight-forward to use and implement. I glad to hear that someone using it. Are there any patches ? Is there some contact for original authors to change license to standard TinyOS license (BSD) (TIMO GPL licensed code IS INCOMPATIBLE). Martin Cerveny On Fri, Apr 4, 2014 at 3:15 PM, trung phạm trungitiu09...@gmail.com wrote: Dear !! So thank you about your reply !! First at all , im so sory about my English ! I don't know about Tymo, and this is a first time im work with tinyOS my project ask me, compile Tymo in tinyOS and I don't know how to do that so can you help me step by step or you have any document can help me !! SO thanks you !! Trung 2014-04-04 19:56 GMT+07:00 Antonio Linan ali...@zolertia.com: What's wrong with the test application? https://github.com/tinyos/tinyos-main/tree/master/apps/tests/TestTymo --Antonio On Fri, Apr 4, 2014 at 2:52 PM, trung phạm trungitiu09...@gmail.com wrote: Please help me !! my Project about TYMO and I want to compile TYMO in TinyOS So please guide me compile it... thanks all so much ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- -- Antonio Liñán Colina R+D Engineer @: ali...@advancare.com @: ali...@zolertia.com -- Advancare Ph.: +34 935 511 403 http://www.advancare.com http://www.zolertia.com http://zolertia.sourceforge.net http://webshop.zolertia.com -- -- Antonio Liñán Colina R+D Engineer @: ali...@advancare.com @: ali...@zolertia.com -- Advancare Ph.: +34 935 511 403 http://www.advancare.com http://www.zolertia.com http://zolertia.sourceforge.net http://webshop.zolertia.com ___ 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] TYMO on TinyOS
I had to change several things taking advantage of the deployment topology, as nodes were rather stationary I was able to get rid off the large amount of timers associated to the aging each routing table entry, thus keeping the RAM low, allowing to also add LQE value to the routing table to allow a better superior route check. This implementation is not so clean as it is, I also wanted to check the licensing before publishing anything, so hopefully I will have time to push this upwards. I will take a peep at your implementation, I'm close to a project milestone after which I will be able to goof around again, I'm not forgetting also the pending Z1 issues :) Cheers, --Antonio On Fri, Apr 4, 2014 at 5:08 PM, Martin Cerveny mar...@c-home.cz wrote: Hello. I tried TIMO 3 years ago, but there are many issues in code (seems like alpha version). Be prepared for many memory corruptions and out of specs behavior. For example: https://github.com/tinyos/tinyos-main/blob/master/tos/lib/net/tymo/mh/MHPacketM.nc#L38 - if you ask for large data, SubPacket.getPayload() returns NULL but TIMO add sizeof(mhpacket_header_t) and you are using invalid pointer. I dropped to use TIMO after few weeks of endless JTAG debugging :-( I wrote own implementation of MultiHop and Babel routing (not DYMO AODV routing). https://github.com/mcerveny/tinyos-main/tree/multi-hop-forwarding-with-babel-routing/tos/lib/net/mh On Fri,4 Apr 2014, Antonio Linan wrote: The code is very old but works as expected, I have actively used (adapted to a specific topology) and it is straight-forward to use and implement. I glad to hear that someone using it. Are there any patches ? Is there some contact for original authors to change license to standard TinyOS license (BSD) (TIMO GPL licensed code IS INCOMPATIBLE). Martin Cerveny On Fri, Apr 4, 2014 at 3:15 PM, trung phạm trungitiu09...@gmail.com wrote: Dear !! So thank you about your reply !! First at all , im so sory about my English ! I don't know about Tymo, and this is a first time im work with tinyOS my project ask me, compile Tymo in tinyOS and I don't know how to do that so can you help me step by step or you have any document can help me !! SO thanks you !! Trung 2014-04-04 19:56 GMT+07:00 Antonio Linan ali...@zolertia.com: What's wrong with the test application? https://github.com/tinyos/tinyos-main/tree/master/apps/tests/TestTymo --Antonio On Fri, Apr 4, 2014 at 2:52 PM, trung phạm trungitiu09...@gmail.com wrote: Please help me !! my Project about TYMO and I want to compile TYMO in TinyOS So please guide me compile it... thanks all so much ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- -- Antonio Liñán Colina R+D Engineer @: ali...@advancare.com @: ali...@zolertia.com -- Advancare Ph.: +34 935 511 403 http://www.advancare.com http://www.zolertia.com http://zolertia.sourceforge.net http://webshop.zolertia.com -- -- Antonio Liñán Colina R+D Engineer @: ali...@advancare.com @: ali...@zolertia.com -- Advancare Ph.: +34 935 511 403 http://www.advancare.com http://www.zolertia.com http://zolertia.sourceforge.net http://webshop.zolertia.com ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- -- Antonio Liñán Colina R+D Engineer @: ali...@advancare.com @: ali...@zolertia.com -- Advancare Ph.: +34 935 511 403 http://www.advancare.com http://www.zolertia.com http://zolertia.sourceforge.net http://webshop.zolertia.com ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] tymo/dymo status and GPL license
Martin, Tymo is no longer included in TinyOS distribution. - om_p On Mon, Feb 20, 2012 at 10:16 AM, Martin Cerveny mar...@c-home.cz wrote: Hello. What is tymo/dymo library status ? Issuses: 1) many TODO and hidden bugs (see wiki) 2) tymo/dymo flood my network 3) uses GPL license that is icompatible with rest of project (BSD license) (GPL is project license (no file license)) Is there any updated (working) tymo/dymo sources ? What is policy about license incompatibilities ? Code should be dropped or relicensed to BSD by author. Thanks for answers, Martin Cerveny ___ 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] TYMO
Thanks, Ill try that. My current version is by installing xubuntos in windows using VMWARE. From: Omprakash Gnawali gnaw...@cs.stanford.edu To: Shamali Gunawardena shama...@yahoo.com Cc: vinh.p...@ffi.no; tinyos-help@millennium.berkeley.edu Sent: Thu, June 30, 2011 10:14:38 PM Subject: Re: [Tinyos-help] TYMO You should check out the code from Google svn. Details on tinyos.net. - om_p On Wed, Jun 29, 2011 at 1:01 AM, Shamali Gunawardena shama...@yahoo.com wrote: Hi, thanks for the feed back. In my case it is /tiny0s-2.1.0/to/lib/net/ but that is it there is no tymo folder. Does that mean I have installed wrong. I am using the vmware. regards, Shamali From: vinh.p...@ffi.no vinh.p...@ffi.no To: shama...@yahoo.com; tinyos-help@millennium.berkeley.edu Sent: Tue, June 28, 2011 5:58:54 PM Subject: SV: [Tinyos-help] TYMO Hi. If you have installed correctly, the DymoNetworkC should be under the /tinyos-2.x/tos/lib/net/tymo/dymo folder. Fra: tinyos-help-boun...@millennium.berkeley.edu [mailto:tinyos-help-boun...@millennium.berkeley.edu] På vegne av Shamali Gunawardena Sendt: 28. juni 2011 13:08 Til: tinyos-help@millennium.berkeley.edu Emne: [Tinyos-help] TYMO Hi, I was trying to use the TYMO example as in teh tutorials and realized that I do not have DymoNetworkC interface. nor a dymo or tymo folder inside lib do I have to get them and install them separately. If so how can I get about with this. Thanks in advance. Shamali ___ 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] TYMO
Hi Tried installing with svn. I think what you mean is SVN/GIT when you mena by google svn am I correct. If I am the first step is to install HINRG tinyos repository. but have a problem there. when clicking the link http://hinrg.cs.jhu.edu/tinyos in sudo apt-add-repository deb http://hinrg.cs.jhu.edu/tinyos karmic main the link times out. what do you think the problem might be. Hope you can help me with this. Thanks Regards Shamali From: Omprakash Gnawali gnaw...@cs.stanford.edu To: Shamali Gunawardena shama...@yahoo.com Cc: vinh.p...@ffi.no; tinyos-help@millennium.berkeley.edu Sent: Thu, June 30, 2011 10:14:38 PM Subject: Re: [Tinyos-help] TYMO You should check out the code from Google svn. Details on tinyos.net. - om_p On Wed, Jun 29, 2011 at 1:01 AM, Shamali Gunawardena shama...@yahoo.com wrote: Hi, thanks for the feed back. In my case it is /tiny0s-2.1.0/to/lib/net/ but that is it there is no tymo folder. Does that mean I have installed wrong. I am using the vmware. regards, Shamali From: vinh.p...@ffi.no vinh.p...@ffi.no To: shama...@yahoo.com; tinyos-help@millennium.berkeley.edu Sent: Tue, June 28, 2011 5:58:54 PM Subject: SV: [Tinyos-help] TYMO Hi. If you have installed correctly, the DymoNetworkC should be under the /tinyos-2.x/tos/lib/net/tymo/dymo folder. Fra: tinyos-help-boun...@millennium.berkeley.edu [mailto:tinyos-help-boun...@millennium.berkeley.edu] På vegne av Shamali Gunawardena Sendt: 28. juni 2011 13:08 Til: tinyos-help@millennium.berkeley.edu Emne: [Tinyos-help] TYMO Hi, I was trying to use the TYMO example as in teh tutorials and realized that I do not have DymoNetworkC interface. nor a dymo or tymo folder inside lib do I have to get them and install them separately. If so how can I get about with this. Thanks in advance. Shamali ___ 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] TYMO
You should check out the code from Google svn. Details on tinyos.net. - om_p On Wed, Jun 29, 2011 at 1:01 AM, Shamali Gunawardena shama...@yahoo.com wrote: Hi, thanks for the feed back. In my case it is /tiny0s-2.1.0/to/lib/net/ but that is it there is no tymo folder. Does that mean I have installed wrong. I am using the vmware. regards, Shamali From: vinh.p...@ffi.no vinh.p...@ffi.no To: shama...@yahoo.com; tinyos-help@millennium.berkeley.edu Sent: Tue, June 28, 2011 5:58:54 PM Subject: SV: [Tinyos-help] TYMO Hi. If you have installed correctly, the DymoNetworkC should be under the /tinyos-2.x/tos/lib/net/tymo/dymo folder. Fra: tinyos-help-boun...@millennium.berkeley.edu [mailto:tinyos-help-boun...@millennium.berkeley.edu] På vegne av Shamali Gunawardena Sendt: 28. juni 2011 13:08 Til: tinyos-help@millennium.berkeley.edu Emne: [Tinyos-help] TYMO Hi, I was trying to use the TYMO example as in teh tutorials and realized that I do not have DymoNetworkC interface. nor a dymo or tymo folder inside lib do I have to get them and install them separately. If so how can I get about with this. Thanks in advance. Shamali ___ 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] TYMO
Hi, thanks for the feed back. In my case it is /tiny0s-2.1.0/to/lib/net/ but that is it there is no tymo folder. Does that mean I have installed wrong. I am using the vmware. regards, Shamali From: vinh.p...@ffi.no vinh.p...@ffi.no To: shama...@yahoo.com; tinyos-help@millennium.berkeley.edu Sent: Tue, June 28, 2011 5:58:54 PM Subject: SV: [Tinyos-help] TYMO Hi. If you have installed correctly, the DymoNetworkC should be under the /tinyos-2.x/tos/lib/net/tymo/dymo folder. Fra:tinyos-help-boun...@millennium.berkeley.edu [mailto:tinyos-help-boun...@millennium.berkeley.edu] På vegne av Shamali Gunawardena Sendt: 28. juni 2011 13:08 Til: tinyos-help@millennium.berkeley.edu Emne: [Tinyos-help] TYMO Hi, I was trying to use the TYMO example as in teh tutorials and realized that I do not have DymoNetworkC interface. nor a dymo or tymo folder inside lib do I have to get them and install them separately. If so how can I get about with this. Thanks in advance. Shamali ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] TYMO
Hi. If you have installed correctly, the DymoNetworkC should be under the /tinyos-2.x/tos/lib/net/tymo/dymo folder. Fra: tinyos-help-boun...@millennium.berkeley.edu [mailto:tinyos-help-boun...@millennium.berkeley.edu] På vegne av Shamali Gunawardena Sendt: 28. juni 2011 13:08 Til: tinyos-help@millennium.berkeley.edu Emne: [Tinyos-help] TYMO Hi, I was trying to use the TYMO example as in teh tutorials and realized that I do not have DymoNetworkC interface. nor a dymo or tymo folder inside lib do I have to get them and install them separately. If so how can I get about with this. Thanks in advance. Shamali ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] tymo
I guess it's the count of hops of packet. 2011/5/4 Omar Cheikhrouhou (yahoo) enis01a...@yahoo.fr 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 mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Pozdrawiam, Damian Rusinek. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] tymo
Hi, it could be the number of hops of a packet before it gets to the base station. Regards. El 04/05/2011 22:48, Omar Cheikhrouhou (yahoo) enis01a...@yahoo.fr escribió: 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 mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Tymo status
On Mon, Aug 3, 2009 at 11:56 AM, David Liw.david...@gmail.com wrote: Hi Everyone: This was just mentioned in another thread couple days ago but I 'd like to get some details: 1. What's the current status for Tymo? Is it stable and being maintained actively? 2. Where to get the latest stable version? The sourceforge http://tymo.sourceforge.net/news/ says it's in the TinyOS release but I didnt' find it in TinyOS 2.1.0 under tos/lib/net/. Did I miss something here? You can find it in TinyOS CVS under tos/lib/net/tymo - om_p ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Tymo: access with Uart...() on msg returns corrupted values
Hi Romain! Romain Thouvenin wrote: Hi Andrey, I am very sorry for this very late response, but as you may know I was blocked by compiliing issues... Yeah, I know... Had you switched to the recently appeared new Ubuntu? Anyway, I am now trying to get back on track and figure out all what I have to do. I am not sure I understood completely your problem. You are saying that when you send a message over the radio, if sendDone says SUCCESS then you can send it correctly via UART, but if sendDone says FAIL, then you get weird values at the other side of your UART communication. Yes and also: if sendDone() fails the radioSendTask will be reposted, where I get also corrupted message length and payload. By sending the same message over UART, you mean you don't copy the message, you use the same pointer. Is that a correct summary? I've adopted the basestation example (with queues) to use with Tymo, so the pointer handling is the same. But there is difference in the way to access message. It comes for the first time from Uart and is accessed in radioSendTask with Uart...() functions but for the second time (if sendDone failed) it doesn't work anymore. And your MHbasestation example uses always in radioSendTask Radio...() functions. By the way one improvement suggestion (or question if I'm missing something :) ). Tymo uses ActiveMessageID 1 to transmit messages and forces to wire this in the configuration. Is it not very difficult to make it so, that Tymo would use internally the message id 1 (or any other free one) and would allow externally to uses all IDs as ActiveMessage. So these IDs would be the same way as payload, destination addresses and so on also encapsulated in the Tymo protocol message. It costs no more than 1 byte. Thanks and best wishes, Andrey On Thu, Oct 2, 2008 at 9:34 PM, Andrey Gursky [EMAIL PROTECTED] wrote: - Briefly: Tymo: after sending msg by Radio - msg in sendDone() cannot be accessed with Uart...() if sendDone() failed because of no ack. - Hi Romain! You know the standard BaseStation application. The messages coming from Uart are bridged to radio and handled by Uart...(). If I use Tymo and the message couldn't be sent, I can only access it with Radio...() calls, but it is incompatible with the standard way and it must be additional variable that would show, whether it is the first call to send, then use Uart...(), or the next one, then use Radio...(). So I hope this behavior of Tymo could be fixed so it would be maximal compatible with the standard approach. This bug could be not so easy reproduced in TOSSIM-SF. I use some applications, that load CPU at 100% and start the simulation under Valgrind. Then I send one message throw serial forwarder and wait till the routes are deleted. And then if I have luck, I send the next message, that will be delivered but sendDone() says FAILED (FE: The message was not acked = FAIL) and just after that in sendDone() I access the msg and become the expected values, but just after that in the radioSendTask() the values are crazy: before send: DEBUG (0): AG: sending message via radio to 1 with addr_from=0, len=2, payload=2587, source=0, id=9. -- in radioSendTask() DEBUG (0): AG: sending message via radio to 1 with addr_from=1, len=8, payload=513, source=0, id=9. The output from Valgrind and TOSSIM-SF is attached. -- And one problem I mentioned early with the delays (30 s, 40 s) relays also on the thing, when routes are deleted and the message should be sent and it will be delivered, but sendDone() returns failed and then it's going in a loop. The messages can't anymore get the ack. And the delay between these crazy retries is about 120 ms (just the same as while finding new routes, because while the routes are here, the delay on motes is about 20-60 s). Could you find out, what is the problem? I'm trying to think up something could help you to localize the bug, but till now only results described on the top. Best wishes, Andrey DEBUG (0): DT: Route for 1 is unused, I delete it. DEBUG (0): DT: I'm deleting route number 0 (for node 1). DEBUG (1): DT: Route for 0 is unused, I delete it. DEBUG (1): DT: I'm deleting route number 0 (for node 0). DEBUG (0): Received serial message (0x81bce12) of type 9 and length 2 @ 0:1:15.297616438. DEBUG (0): AG: received message via uart from 0. DEBUG (0): AG: payload: 685. DEBUG (0): AG: sending message via radio to 1 with addr_old=0, len=2, payload=685, source=0, id=9. DEBUG (0): MHE: Somebody wants a route, let's see... DEBUG (0): DT: Someone wants a sending route for 1. DEBUG (0): DT: But it is deleted or broken. = routeNeeded DEBUG (0): MHE: No route is available for now. DEBUG (0): FE: I'll retry later. DEBUG (0): AG: sending message via radio to 1 OK. DEBUG (1): DE: Message (type 10) received. DEBUG (1): DE: This RREQ is for me = RREP. DEBUG
Re: [Tinyos-help] Tymo: access with Uart...() on msg returns corrupted values
Hi Andrey, I am very sorry for this very late response, but as you may know I was blocked by compiliing issues... Anyway, I am now trying to get back on track and figure out all what I have to do. I am not sure I understood completely your problem. You are saying that when you send a message over the radio, if sendDone says SUCCESS then you can send it correctly via UART, but if sendDone says FAIL, then you get weird values at the other side of your UART communication. By sending the same message over UART, you mean you don't copy the message, you use the same pointer. Is that a correct summary? Thanks, Romain On Thu, Oct 2, 2008 at 9:34 PM, Andrey Gursky [EMAIL PROTECTED] wrote: - Briefly: Tymo: after sending msg by Radio - msg in sendDone() cannot be accessed with Uart...() if sendDone() failed because of no ack. - Hi Romain! You know the standard BaseStation application. The messages coming from Uart are bridged to radio and handled by Uart...(). If I use Tymo and the message couldn't be sent, I can only access it with Radio...() calls, but it is incompatible with the standard way and it must be additional variable that would show, whether it is the first call to send, then use Uart...(), or the next one, then use Radio...(). So I hope this behavior of Tymo could be fixed so it would be maximal compatible with the standard approach. This bug could be not so easy reproduced in TOSSIM-SF. I use some applications, that load CPU at 100% and start the simulation under Valgrind. Then I send one message throw serial forwarder and wait till the routes are deleted. And then if I have luck, I send the next message, that will be delivered but sendDone() says FAILED (FE: The message was not acked = FAIL) and just after that in sendDone() I access the msg and become the expected values, but just after that in the radioSendTask() the values are crazy: before send: DEBUG (0): AG: sending message via radio to 1 with addr_from=0, len=2, payload=2587, source=0, id=9. -- in radioSendTask() DEBUG (0): AG: sending message via radio to 1 with addr_from=1, len=8, payload=513, source=0, id=9. The output from Valgrind and TOSSIM-SF is attached. -- And one problem I mentioned early with the delays (30 s, 40 s) relays also on the thing, when routes are deleted and the message should be sent and it will be delivered, but sendDone() returns failed and then it's going in a loop. The messages can't anymore get the ack. And the delay between these crazy retries is about 120 ms (just the same as while finding new routes, because while the routes are here, the delay on motes is about 20-60 s). Could you find out, what is the problem? I'm trying to think up something could help you to localize the bug, but till now only results described on the top. Best wishes, Andrey DEBUG (0): DT: Route for 1 is unused, I delete it. DEBUG (0): DT: I'm deleting route number 0 (for node 1). DEBUG (1): DT: Route for 0 is unused, I delete it. DEBUG (1): DT: I'm deleting route number 0 (for node 0). DEBUG (0): Received serial message (0x81bce12) of type 9 and length 2 @ 0:1:15.297616438. DEBUG (0): AG: received message via uart from 0. DEBUG (0): AG: payload: 685. DEBUG (0): AG: sending message via radio to 1 with addr_old=0, len=2, payload=685, source=0, id=9. DEBUG (0): MHE: Somebody wants a route, let's see... DEBUG (0): DT: Someone wants a sending route for 1. DEBUG (0): DT: But it is deleted or broken. = routeNeeded DEBUG (0): MHE: No route is available for now. DEBUG (0): FE: I'll retry later. DEBUG (0): AG: sending message via radio to 1 OK. DEBUG (1): DE: Message (type 10) received. DEBUG (1): DE: This RREQ is for me = RREP. DEBUG (1): DE: My seqnum for the RREP: 3. DEBUG (1): DE: I'm not busy anymore. DEBUG (1): DE: Message (type 10) successfully processed. DEBUG (0): DE: Message (type 10) sent. DEBUG (0): DE: Message (type 11) received. DEBUG (0): DE: This RREP is for me, cool! DEBUG (0): DE: I'm not busy anymore. DEBUG (0): DE: Message (type 11) successfully processed. DEBUG (1): DE: Message (type 11) sent. DEBUG (0): MHE: Somebody wants a route, let's see... DEBUG (0): DT: Someone wants a sending route for 1. DEBUG (0): DT: Here it is: 1-3-1. DEBUG (0): MHE: I've selected a route to 1 through 1. DEBUG (0): FE: I'm retrying to send my message. DEBUG (1): FE: Received a message from 0 DEBUG (1): MHE: Somebody wants a route, let's see... DEBUG (1): FE: Received a message, signaling to upper layer. DEBUG (1): AG: received message via radio from 0. DEBUG (1): AG: payload: 685. DEBUG (1): AG: putting message to radioQueue. DEBUG (1): AG: sending message via radio to 0 with addr_old=1, len=2, payload=685, source=0, id=1. DEBUG (1): MHE: Somebody wants a route, let's see... DEBUG (1): DT: Someone wants a sending route for 0. DEBUG (1): DT: Here it is: 0-3-1. DEBUG (1): MHE: I've
Re: [Tinyos-help] tymo, senddone, error, fail, help
hi, i'm wondering if you've discovered something about the described problem in the last week. (i update regularly from CVS but isn't easy to me understand if something is changed without launch the application each time. so i'm asking you to be sure that something is changed to avoid a waste of time... :) ) thanks On Wednesday 22 October 2008 21:46:39 Andrey Gursky wrote: De-MonHell, thanks for describing of your experience. Romain, thanks that you are still on the investigation. I have Ubuntu Hardy at the university. All works well so I plan to try to update (controllable) all components to find out what leads to the bad behavior you told us but this must be done very carefully because I'd like to be able to get things back working if something fails :) Best wishes, Andrey Romain Thouvenin wrote: Thanks for your input. It's probably linked to the way acks are handled, which I know is not very stable. I started to look at it, but unfortunately my local deployment of TinyOS does not work, I am still struggling to make tossim compile. Hopefully I'll be able to get back on it soon... Romain On Wed, Oct 22, 2008 at 2:41 PM, De-MonHell [EMAIL PROTECTED] wrote: woops... sorry, i did a research for this problem in the mailing list before posting but maybe i searched the wrong words. so as i can see you have the same issue. yeah, sometimes happens and sometimes not... and when happens it seems to run this behavior for a lot of time. it doesn't seems to follow any particular path that lead to this error. I've made many simulation (with dbg statements) and real deployment (with printf) and i've seen the problem happens in both ambients (TOSSIM and real nodes). (anyway i must say that my application, and simulation too, are heavily based on external random numbers) however i've just done a search in the mailing list with words tymo senddone and i've found your previous post. (and that lead me to this question: damn, which words i used yesterday to make the search? :D ) as i can see nobody replied you on this problem. :( in the mean time have you found hints or something else about that? On Wednesday 22 October 2008 14:18:53 Andrey Gursky wrote: De-MonHell, I've already posted here this problem. If it would happened only periodically/once, it would be OK. But if in my application it once occurs, than it happens every time after that till crash. And what is about your application? Best wishes, Andrey De-MonHell wrote: hi all, i know tymo is not considerable as stable yet, but: is it normal that sometimes sending a tymo packet, in the senddone event, return an error=FAIL also if the packet is correctly trasmitted? (the destination node received the packet for sure) why does it happens? maybe tymo use a different codification for the error_t's enum? thanks ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-he lp ___ 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] tymo, senddone, error, fail, help
Hi De-MonHell! I hope Romain will write here as soon as he can make some fix. Even if not, you can simple check, if something has recently changed here: http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x/tos/lib/net/tymo/ Best wishes, Andrey De-MonHell wrote: hi, i'm wondering if you've discovered something about the described problem in the last week. (i update regularly from CVS but isn't easy to me understand if something is changed without launch the application each time. so i'm asking you to be sure that something is changed to avoid a waste of time... :) ) thanks On Wednesday 22 October 2008 21:46:39 Andrey Gursky wrote: De-MonHell, thanks for describing of your experience. Romain, thanks that you are still on the investigation. I have Ubuntu Hardy at the university. All works well so I plan to try to update (controllable) all components to find out what leads to the bad behavior you told us but this must be done very carefully because I'd like to be able to get things back working if something fails :) Best wishes, Andrey Romain Thouvenin wrote: Thanks for your input. It's probably linked to the way acks are handled, which I know is not very stable. I started to look at it, but unfortunately my local deployment of TinyOS does not work, I am still struggling to make tossim compile. Hopefully I'll be able to get back on it soon... Romain On Wed, Oct 22, 2008 at 2:41 PM, De-MonHell [EMAIL PROTECTED] wrote: woops... sorry, i did a research for this problem in the mailing list before posting but maybe i searched the wrong words. so as i can see you have the same issue. yeah, sometimes happens and sometimes not... and when happens it seems to run this behavior for a lot of time. it doesn't seems to follow any particular path that lead to this error. I've made many simulation (with dbg statements) and real deployment (with printf) and i've seen the problem happens in both ambients (TOSSIM and real nodes). (anyway i must say that my application, and simulation too, are heavily based on external random numbers) however i've just done a search in the mailing list with words tymo senddone and i've found your previous post. (and that lead me to this question: damn, which words i used yesterday to make the search? :D ) as i can see nobody replied you on this problem. :( in the mean time have you found hints or something else about that? On Wednesday 22 October 2008 14:18:53 Andrey Gursky wrote: De-MonHell, I've already posted here this problem. If it would happened only periodically/once, it would be OK. But if in my application it once occurs, than it happens every time after that till crash. And what is about your application? Best wishes, Andrey De-MonHell wrote: hi all, i know tymo is not considerable as stable yet, but: is it normal that sometimes sending a tymo packet, in the senddone event, return an error=FAIL also if the packet is correctly trasmitted? (the destination node received the packet for sure) why does it happens? maybe tymo use a different codification for the error_t's enum? thanks ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-he lp ___ 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] tymo, senddone, error, fail, help
De-MonHell, I've already posted here this problem. If it would happened only periodically/once, it would be OK. But if in my application it once occurs, than it happens every time after that till crash. And what is about your application? Best wishes, Andrey De-MonHell wrote: hi all, i know tymo is not considerable as stable yet, but: is it normal that sometimes sending a tymo packet, in the senddone event, return an error=FAIL also if the packet is correctly trasmitted? (the destination node received the packet for sure) why does it happens? maybe tymo use a different codification for the error_t's enum? thanks ___ 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] tymo, senddone, error, fail, help
woops... sorry, i did a research for this problem in the mailing list before posting but maybe i searched the wrong words. so as i can see you have the same issue. yeah, sometimes happens and sometimes not... and when happens it seems to run this behavior for a lot of time. it doesn't seems to follow any particular path that lead to this error. I've made many simulation (with dbg statements) and real deployment (with printf) and i've seen the problem happens in both ambients (TOSSIM and real nodes). (anyway i must say that my application, and simulation too, are heavily based on external random numbers) however i've just done a search in the mailing list with words tymo senddone and i've found your previous post. (and that lead me to this question: damn, which words i used yesterday to make the search? :D ) as i can see nobody replied you on this problem. :( in the mean time have you found hints or something else about that? On Wednesday 22 October 2008 14:18:53 Andrey Gursky wrote: De-MonHell, I've already posted here this problem. If it would happened only periodically/once, it would be OK. But if in my application it once occurs, than it happens every time after that till crash. And what is about your application? Best wishes, Andrey De-MonHell wrote: hi all, i know tymo is not considerable as stable yet, but: is it normal that sometimes sending a tymo packet, in the senddone event, return an error=FAIL also if the packet is correctly trasmitted? (the destination node received the packet for sure) why does it happens? maybe tymo use a different codification for the error_t's enum? thanks ___ 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] tymo, senddone, error, fail, help
i've seen another your post on the mailing list and i can confirm that if you use a node with 0 as TOS_NODE_ID, tymo get crazy... (it was a big problem that i've find out sometimes ago). i apologize with the whole community if i've not signaled this bug, but i haven't many time to spent on reporting bugs right now. i swear i will report every bug i've found when i'll finish my master thesis. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] tymo, senddone, error, fail, help
Thanks for your input. It's probably linked to the way acks are handled, which I know is not very stable. I started to look at it, but unfortunately my local deployment of TinyOS does not work, I am still struggling to make tossim compile. Hopefully I'll be able to get back on it soon... Romain On Wed, Oct 22, 2008 at 2:41 PM, De-MonHell [EMAIL PROTECTED] wrote: woops... sorry, i did a research for this problem in the mailing list before posting but maybe i searched the wrong words. so as i can see you have the same issue. yeah, sometimes happens and sometimes not... and when happens it seems to run this behavior for a lot of time. it doesn't seems to follow any particular path that lead to this error. I've made many simulation (with dbg statements) and real deployment (with printf) and i've seen the problem happens in both ambients (TOSSIM and real nodes). (anyway i must say that my application, and simulation too, are heavily based on external random numbers) however i've just done a search in the mailing list with words tymo senddone and i've found your previous post. (and that lead me to this question: damn, which words i used yesterday to make the search? :D ) as i can see nobody replied you on this problem. :( in the mean time have you found hints or something else about that? On Wednesday 22 October 2008 14:18:53 Andrey Gursky wrote: De-MonHell, I've already posted here this problem. If it would happened only periodically/once, it would be OK. But if in my application it once occurs, than it happens every time after that till crash. And what is about your application? Best wishes, Andrey De-MonHell wrote: hi all, i know tymo is not considerable as stable yet, but: is it normal that sometimes sending a tymo packet, in the senddone event, return an error=FAIL also if the packet is correctly trasmitted? (the destination node received the packet for sure) why does it happens? maybe tymo use a different codification for the error_t's enum? thanks ___ 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 mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] tymo, senddone, error, fail, help
De-MonHell, thanks for describing of your experience. Romain, thanks that you are still on the investigation. I have Ubuntu Hardy at the university. All works well so I plan to try to update (controllable) all components to find out what leads to the bad behavior you told us but this must be done very carefully because I'd like to be able to get things back working if something fails :) Best wishes, Andrey Romain Thouvenin wrote: Thanks for your input. It's probably linked to the way acks are handled, which I know is not very stable. I started to look at it, but unfortunately my local deployment of TinyOS does not work, I am still struggling to make tossim compile. Hopefully I'll be able to get back on it soon... Romain On Wed, Oct 22, 2008 at 2:41 PM, De-MonHell [EMAIL PROTECTED] wrote: woops... sorry, i did a research for this problem in the mailing list before posting but maybe i searched the wrong words. so as i can see you have the same issue. yeah, sometimes happens and sometimes not... and when happens it seems to run this behavior for a lot of time. it doesn't seems to follow any particular path that lead to this error. I've made many simulation (with dbg statements) and real deployment (with printf) and i've seen the problem happens in both ambients (TOSSIM and real nodes). (anyway i must say that my application, and simulation too, are heavily based on external random numbers) however i've just done a search in the mailing list with words tymo senddone and i've found your previous post. (and that lead me to this question: damn, which words i used yesterday to make the search? :D ) as i can see nobody replied you on this problem. :( in the mean time have you found hints or something else about that? On Wednesday 22 October 2008 14:18:53 Andrey Gursky wrote: De-MonHell, I've already posted here this problem. If it would happened only periodically/once, it would be OK. But if in my application it once occurs, than it happens every time after that till crash. And what is about your application? Best wishes, Andrey De-MonHell wrote: hi all, i know tymo is not considerable as stable yet, but: is it normal that sometimes sending a tymo packet, in the senddone event, return an error=FAIL also if the packet is correctly trasmitted? (the destination node received the packet for sure) why does it happens? maybe tymo use a different codification for the error_t's enum? thanks ___ 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 mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Tymo and TOSSIM not compiling
Cleaning out the tree and re-running CVS allowed me to compile the code. Thank you. Anthony Microsoft is solely responsible for any e-tags and links that they put on the bottom of my emails. These are placed on my emails without my consent and against my will. I have neither agreed to them nor endorse them. I am sorry you are forced to receive them. If you do not like them, please send a complaint to Microsoft. Date: Mon, 14 Jul 2008 13:08:23 +0200 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Tinyos-help] Tymo and TOSSIM not compiling CC: tinyos-help@millennium.berkeley.edu On Sun, Jul 13, 2008 at 1:21 PM, Anthony Smee [EMAIL PROTECTED] wrote: Hi Romain Sorry for my delayed response, I did copy tymo into my previous tree yes, but have since located the files and removed them. Is there something else I should have done? Thanks Anthony Some interface changes occured in TinyOS between your previous tree and the current one. So you can use Tymo only with the current tree, as it uses the new interfaces. Regards, Romain _ Play and win great prizes with Live Search and Kung Fu Panda http://clk.atdmt.com/UKM/go/101719966/direct/01/___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Tymo and TOSSIM not compiling
On Sun, Jul 13, 2008 at 1:21 PM, Anthony Smee [EMAIL PROTECTED] wrote: Hi Romain Sorry for my delayed response, I did copy tymo into my previous tree yes, but have since located the files and removed them. Is there something else I should have done? Thanks Anthony Some interface changes occured in TinyOS between your previous tree and the current one. So you can use Tymo only with the current tree, as it uses the new interfaces. Regards, Romain ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Tymo and TOSSIM not compiling
Hi Romain Sorry for my delayed response, I did copy tymo into my previous tree yes, but have since located the files and removed them. Is there something else I should have done? Thanks Anthony Date: Thu, 10 Jul 2008 20:46:07 +0200 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Tinyos-help] Tymo and TOSSIM not compiling CC: tinyos-help@millennium.berkeley.edu It looks quite strange. This is the same kind error messages as what using recent code with old AM interfaces would produce. By any chance, you didn't copy tymo into your previous TinyOS tree? Romain On Thu, Jul 10, 2008 at 11:14 AM, Anthony Smee wrote: Hi there Thanks for your prompt reply, I have run the following: cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/tinyos co -P tinyos-2.x Which created, amongst many other things the directory tymo under $TOSROOT/TOS/LIB/NET Within here are sub-directories for mh and dymo. I then altered my Makefile as follows to incorporate these new directories: COMPONENT=TymoAppC CFLAGS += -I$(TOSDIR)/lib/net \ -I$(TOSDIR)/lib/net/tymo \ -I$(TOSDIR)/lib/net/tymo/dymo \ -I$(TOSDIR)/lib/net/tymo/mh \ -I. TFLAGS += -I(TOSDIR)/types include $(MAKERULES) Confusingly running make micaz sim gives the following results: In file included from /opt/tinyos-2.x/tos/lib/net/tymo/mh/MHServiceC.nc:33, from /opt/tinyos-2.x/tos/lib/net/tymo/dymo/DymoNetworkC.nc:38, from TymoAppC.nc:8: In component `MHPacketM': /opt/tinyos-2.x/tos/lib/net/tymo/mh/MHPacketM.nc:38: conflicting types for `Packet.getPayload' /opt/tinyos-2.x/tos/interfaces/Packet.nc:108: previous declaration of `Packet.getPayload' /opt/tinyos-2.x/tos/lib/net/tymo/mh/MHPacketM.nc: In function `Packet.getPayload': /opt/tinyos-2.x/tos/lib/net/tymo/mh/MHPacketM.nc:39: warning: passing argument 2 of `SubPacket.getPayload' makes pointer from integer without a cast /opt/tinyos-2.x/tos/lib/net/tymo/mh/MHPacketM.nc: In function `Packet.payloadLength': /opt/tinyos-2.x/tos/lib/net/tymo/mh/MHPacketM.nc:48: warning: passing argument 2 of `SubPacket.getPayload' makes pointer from integer without a cast /opt/tinyos-2.x/tos/lib/net/tymo/mh/MHPacketM.nc: In function `Packet.setPayloadLength': /opt/tinyos-2.x/tos/lib/net/tymo/mh/MHPacketM.nc:52: warning: passing argument 2 of `SubPacket.getPayload' makes pointer from integer without a cast /opt/tinyos-2.x/tos/lib/net/tymo/mh/MHPacketM.nc: In function `MHPacket.destination': /opt/tinyos-2.x/tos/lib/net/tymo/mh/MHPacketM.nc:66: warning: passing argument 2 of `SubPacket.getPayload' makes pointer from integer without a cast /opt/tinyos-2.x/tos/lib/net/tymo/mh/MHPacketM.nc: In function `MHPacket.isForMe': /opt/tinyos-2.x/tos/lib/net/tymo/mh/MHPacketM.nc:70: warning: passing argument 2 of `SubPacket.getPayload' makes pointer from integer without a cast /opt/tinyos-2.x/tos/lib/net/tymo/mh/MHPacketM.nc:70: warning: passing argument 2 of `SubPacket.getPayload' makes pointer from integer without a cast /opt/tinyos-2.x/tos/lib/net/tymo/mh/MHPacketM.nc: In function `MHPacket.setDestination': /opt/tinyos-2.x/tos/lib/net/tymo/mh/MHPacketM.nc:74: warning: passing argument 2 of `SubPacket.getPayload' makes pointer from integer without a cast /opt/tinyos-2.x/tos/lib/net/tymo/mh/MHPacketM.nc: In function `MHPacket.setSource': /opt/tinyos-2.x/tos/lib/net/tymo/mh/MHPacketM.nc:78: warning: passing argument 2 of `SubPacket.getPayload' makes pointer from integer without a cast /opt/tinyos-2.x/tos/lib/net/tymo/mh/MHPacketM.nc: In function `MHPacket.setType': /opt/tinyos-2.x/tos/lib/net/tymo/mh/MHPacketM.nc:82: warning: passing argument 2 of `SubPacket.getPayload' makes pointer from integer without a cast /opt/tinyos-2.x/tos/lib/net/tymo/mh/MHPacketM.nc: In function `MHPacket.source': /opt/tinyos-2.x/tos/lib/net/tymo/mh/MHPacketM.nc:87: warning: passing argument 2 of `SubPacket.getPayload' makes pointer from integer without a cast /opt/tinyos-2.x/tos/lib/net/tymo/mh/MHPacketM.nc: In function `MHPacket.type': /opt/tinyos-2.x/tos/lib/net/tymo/mh/MHPacketM.nc:91: warning: passing argument 2 of `SubPacket.getPayload' makes pointer from integer without a cast In file included from /opt/tinyos-2.x/tos/lib/net/tymo/mh/MHServiceC.nc:34, from /opt/tinyos-2.x/tos/lib/net/tymo/dymo/DymoNetworkC.nc:38, from TymoAppC.nc:8: In component `ForwardingEngineM': /opt/tinyos-2.x/tos/lib/net/tymo/ForwardingEngineM.nc: In function `SubReceive.receive': /opt/tinyos-2.x/tos/lib/net/tymo/ForwardingEngineM.nc:97: warning: passing argument 2 of `PPacket.getPayload' makes pointer from integer without a cast /opt/tinyos-2.x/tos/lib/net/tymo/ForwardingEngineM.nc:103: warning: passing argument 2 of `PPacket.getPayload' makes pointer from integer
Re: [Tinyos-help] Tymo and TOSSIM not compiling
On Wed, Jul 9, 2008 at 10:03 PM, Anthony Smee [EMAIL PROTECTED] wrote: Hi there I am trying to get the Tymo tutorial up and running and have put together my App and C files and on compiling I have the following errors (make micaz sim): In component `MHPacketM': /opt/tinyos-2.x/tos/lib/net/multihop/MHPacketM.nc:28: `MHPacket.group' not implemented /opt/tinyos-2.x/tos/lib/net/multihop/MHPacketM.nc:28: `MHPacket.setGroup' not implemented /opt/tinyos-2.x/tos/lib/net/multihop/MHPacketM.nc:28: `MHPacket.localGroup' not implemented /opt/tinyos-2.x/tos/lib/net/dymo/DymoServiceC.nc:6:28: error: StorageVolumes.h: No such file or directory In file included from TymoAppC.nc:8: In component `DymoNetworkC': I have today downloaded the Tymo files from SourceForge.net, it is tymo0.2beta. I installed the latest RPM files from the Tinyos.net last month for TinyOS. I am not sure if I have made a mistake in my code, or if I am missing a file or the wrong version. That's it. The version code from the tymo sourceforge project is deprecated, please use the latest CVS code of TinyOS instead. Regards, Romain ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Tymo/Dymo
On Wed, Jul 2, 2008 at 3:39 PM, [EMAIL PROTECTED] wrote: Thanks to your help, I was capable of fixing some problems which I previously had, regarding changes that ocurred in some interfaces. But leaving that aside, I still get some error messages which reasons I cannot understand. [...] ../tymaluate/monitor/MonitorM.nc:1:26: dymo_routing.h: No such file or directory [...] Is the dymo_routing.h file present in your source tree too? Romain ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Tymo warnings and TOSSIM errors
On Tue, Jun 17, 2008 at 6:50 AM, Varun Jain [EMAIL PROTECTED] wrote: Hi Romain, In tymaluate, you use Receive interface in the 4 tasks. The Receive interface does not have the getpayload command, so compiling this program gives an error. I think this is because of the big switchover in AMSend,Packet, Send interfaces... and now Packet provides these commands. So I have added uses interface Packet and changed lines in the implementation of those 4 tasks as follows: buf_msg = call Receive.getPayload(buf_packet, NULL); to buf_msg = call Packet.getPayload(buf_packet, NULL); Is it correct that to get the actual payload, we NOW need to use the Packet interface instead of Receive interface?? Cheers, Varun Jain Yes that's correct. My code was written with T2.0.1 and I realised this major switch when I checked the code in T2.0.2 several months after. But as tymaluate was not added to the tree, I didn't update it, sorry for that. To run the java app, try something like from the java directory: java -classpath $CLASSPATH:. Window topo.txt The topology file describes the locations of the node on a 100x100 grid. Rgds, Romain ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Tymo warnings and TOSSIM errors
Hi Romain, I was getting errors with ConverterM module saying that AMSend already has been previously defined but I was able to fix that by commenting out the Loopback code from MHBaseStation application and it compiled correctly. I am now able to install MHBaseStation on node1 and tymaluate application on node 2,3,4. I wanted to ask how can I start the Windows.java or the tymaluate java application (the screenshot/window on Page 84 of your thesis). In Oscilloscope there is a ./run command issued on command line which starts a window, I went on to see that it needs an executable file which in case of Oscilloscope is available. Can you tell me the command to be issued to start the Window.java in tymaluate application. I am still getting errors while compiling Tymo in TOSSIM. I am using Cygwin and T-2.0.2. If anyone else has an idea about this error, please suggest: The error says that am_addr_t has a conflicting types for addr_t as at /usr/cygwin/include/types.h , where I saw it is defined as typedef char *addr_t; whereas in routing.h situated at /tos/lib/net/tymo/ ... it is defined as typedef am_addr_t addr_t; It should have given an error while building the application as well, why is it giving this error only while compiling to TOSSIM. Cheers, Varun Jain Spiderbox Pty. Ltd. -Original Message- From: Romain Thouvenin [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2008 2:43 AM To: Varun Jain Subject: Re: Tymo warnings and TOSSIM errors Hello Varun, Sorry for the late response, I have been quite busy these days... On Wed, Jun 11, 2008 at 4:04 AM, Varun Jain [EMAIL PROTECTED] wrote: Hi Romain, I have still not been able to figure out to get around the error with TOSSIM while I am building TestTymo. On the other hand, I have been able to install my boards with different TOS_NODE_ID,,, so I tried the TestTymo application by installing one board with ID=1 (ORIGIN) and the other board with ID=3 (TARGET) but nothing was happening on the LEDS, as the TOSSIM is not working so I cannot even debug it and see whats the problem. Hard to say (I don't have motes to test), but I'll give a look at the code ASAP to see if something could be wrong and let you know. I tried downloading Tymo from SourceForge but when I downloaded, I just got the /tos/ folder which I already downloaded from TinyOS repository. It would be great if you can mail me the zip file of the tymo/apps folder. I am trying to understand what you have tried to do, is your THESIS a good explanation of your test files or what you are trying to achieve with different test applications you have in the tests-dymo folder. Yes the thesis is a good summary of what I tried to do (or let me know if it is not :)), look at section 6.3. I need to access another computer to send you the apps code, and I'll do it, but you can also check out the code from sourceforge with svn if you prefer: svn co https://tymo.svn.sourceforge.net/svnroot/tymo/src/apps tymoapps Though, it would be great if you can tell me the following: Once I have 4 boards, can you tell me what part of your applications I should use to setup a simple multihop network with one BaseStation and three remote nodes located at various distances. Should I install one mote with BaseStation as given in tymo/apps/MHBaseStation and all the other with one of your /tymo/apps/test-dymo application?? INITIALLY, I am just trying to set up this 4 node network to establish that multihop networks are a reality :) To redo the experiences I have done, install the MHBaseStation on the node connected to the computer, and install the tymaluateappc application on the other nodes. It actually is a configuration that just gathers SenseC and MonitorC, a basic light sensing application and an application to monitor what's going on in dymo from the PC. The java main is located in Window.java. I am new to Java so it will take time to understand it but I would really like to use tremendous work done by you. Don't hesitate to ask more questions, I'll try to be quicker :) Cheers, Romain ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Tymo warnings and TOSSIM errors
Hi Romain, In tymaluate, you use Receive interface in the 4 tasks. The Receive interface does not have the getpayload command, so compiling this program gives an error. I think this is because of the big switchover in AMSend,Packet, Send interfaces... and now Packet provides these commands. So I have added uses interface Packet and changed lines in the implementation of those 4 tasks as follows: buf_msg = call Receive.getPayload(buf_packet, NULL); to buf_msg = call Packet.getPayload(buf_packet, NULL); Is it correct that to get the actual payload, we NOW need to use the Packet interface instead of Receive interface?? Cheers, Varun Jain -Original Message- From: Romain Thouvenin [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2008 2:43 AM To: Varun Jain Subject: Re: Tymo warnings and TOSSIM errors Hello Varun, Sorry for the late response, I have been quite busy these days... On Wed, Jun 11, 2008 at 4:04 AM, Varun Jain [EMAIL PROTECTED] wrote: Hi Romain, I have still not been able to figure out to get around the error with TOSSIM while I am building TestTymo. On the other hand, I have been able to install my boards with different TOS_NODE_ID,,, so I tried the TestTymo application by installing one board with ID=1 (ORIGIN) and the other board with ID=3 (TARGET) but nothing was happening on the LEDS, as the TOSSIM is not working so I cannot even debug it and see whats the problem. Hard to say (I don't have motes to test), but I'll give a look at the code ASAP to see if something could be wrong and let you know. I tried downloading Tymo from SourceForge but when I downloaded, I just got the /tos/ folder which I already downloaded from TinyOS repository. It would be great if you can mail me the zip file of the tymo/apps folder. I am trying to understand what you have tried to do, is your THESIS a good explanation of your test files or what you are trying to achieve with different test applications you have in the tests-dymo folder. Yes the thesis is a good summary of what I tried to do (or let me know if it is not :)), look at section 6.3. I need to access another computer to send you the apps code, and I'll do it, but you can also check out the code from sourceforge with svn if you prefer: svn co https://tymo.svn.sourceforge.net/svnroot/tymo/src/apps tymoapps Though, it would be great if you can tell me the following: Once I have 4 boards, can you tell me what part of your applications I should use to setup a simple multihop network with one BaseStation and three remote nodes located at various distances. Should I install one mote with BaseStation as given in tymo/apps/MHBaseStation and all the other with one of your /tymo/apps/test-dymo application?? INITIALLY, I am just trying to set up this 4 node network to establish that multihop networks are a reality :) To redo the experiences I have done, install the MHBaseStation on the node connected to the computer, and install the tymaluateappc application on the other nodes. It actually is a configuration that just gathers SenseC and MonitorC, a basic light sensing application and an application to monitor what's going on in dymo from the PC. The java main is located in Window.java. I am new to Java so it will take time to understand it but I would really like to use tremendous work done by you. Don't hesitate to ask more questions, I'll try to be quicker :) Cheers, Romain ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Tymo warnings and TOSSIM errors
Hello Varun, On Fri, Jun 6, 2008 at 9:29 AM, Varun Jain [EMAIL PROTECTED] wrote: Hi Romain, When I am building the TestTymo application, I am getting a warning in DymoEngineM module's incr_seqnum() function, it says that: Warning: decimal constant is so large that it is unsigned I went on to see the rt_info_t structure defined in routing.h, it has the seqnum defined as seqnum_t seqnum, and I think the type of seqnum is causing this warning… can you please help…. The warning can be safely ignored, as the constant is compared to a unsigned integer. The other problem I am having is while compiling the application to TOSSIM. It gives an error saying that am_addr_t has a conflicting types for addr_t as at /usr/cygwin/include/types.h , it is defined as typedef char *addr_t; whereas in routing.h in /tos/lib/net/tymo/ … it is defined as typedef am_addr_t addr_t; Apparently, compiling for tossim makes use of some files that are not used otherwise. I am afraid I cannot be of great help here, as I've never used cygwin, and thus don't get these errors. Does anyone know why these cygwin files are needed ? It should have given an error while building the application as well, why is it giving this error only while compiling to TOSSIM. For testing purposes, I am planning something like this: BaseStation to receive the messages from nodes and send to particular nodes. 3 nodes collecting the data and receiving the data lying at various distances such as I get multiple hops to the last node. As I have Chipcon boards, they do not seem to support install time node tos-set-symbols. I use avarice to install the programs. Romain, how can I Program each board with different node id in Test TYMO application??? Do the ORIGIN = 1 TARGET = 3, in TestM.nc application change themselves dynamically?? No. TestTymo is a simple app that tries to send a message from ORIGIN to TARGET. These constants are defined so that it is possible to program the same test app on all nodes. The code then behaves differently depending on if the node is ORIGIN, TARGET or some other node. I've been using telosb motes, so I didn't face the node id issue. DYMO and the transport protocol use the AM address to identify nodes, so if you know how to set the AM address at compile time, it should work. Can you also share the java application you wrote for BaseStation or did you just use generic Listen tool to extract the sensor data?? The java application I wrote is for the specific purpose of the experiences I made, it will be useless without the monitoring nesc application that I used. If you are interested, you can browse the code (java + dymo monitoring + sensing) at http://tymo.svn.sourceforge.net/viewvc/tymo/src/apps/tymaluate/ Let me know if you have questions, I can help you [re]using it and provide you with a zip file of the code. Hope this helps, Romain ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help