[Tinyos-help] ctp protocol implementation

2015-03-18 Thread amina khatun
sir, plz help me how to implement CTP(Collection Tree Protocol ) in tinyos on Tossim. and how to calculate the ETX value. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-

Re: [Tinyos-help] CTP combined with Security

2014-03-08 Thread zhouyang0807
Hi XiaoYang, Thank you for your advices. I would try it later. Did you have some experience in combining CTP and security function? The most tough problem for me is that I'm not sure whether to insert SecAMSenderP(which is provided by the system lib) into CTP code(in directory lib/net/ctp

Re: [Tinyos-help] CTP combined with Security

2014-03-08 Thread Xiaoyang Zhong
Hi Yang, What is the content in line 319? Can you provide more details about the code where the error occurs? For my experience, this should be very simple syntax error, as the error message indicates. You can try either include "message.h" in your code, or declare all the local variables at the

[Tinyos-help] CTP combined with Security

2014-03-08 Thread Zhou Yang
Hi all, I try to add security function into CTP code. But I have tried some methods to implemented security function and all failed. *Method I *CTP provides CC2420SecurityMode , App is wiring with components CTP.CC2420SecurityMode and CC2420keys. The Main infracture are shown below: *CollectionC.

[Tinyos-help] CTP + LPL + IRIS [Please help me!!!]

2013-01-28 Thread Gustavo Zanatta Bruno
Guys, you know why the IRIS does not support the implementation of the LPL (Low Power Listening) with ftsp (Flooding Time Synchronization Protocol). Not implemented, or there is some impediment of hardware? I have a network with 60 IRIS and I can not implement a synchronization of clocks. In MICAZ

Re: [Tinyos-help] CTP with LPL Integration

2012-09-11 Thread Omprakash Gnawali
Please look at apps/tests/TestNetworkLpl for an example. - om_p On Wed, Sep 5, 2012 at 12:07 PM, Gustavo Zanatta Bruno wrote: > Guys, I'm having problems implement a program that uses the CTP (Collection > Tree Protocol) with LPL (Low Power Listening), gives an error when calling > the setLocalS

[Tinyos-help] CTP with LPL Integration

2012-09-10 Thread Gustavo Zanatta Bruno
Guys, I'm having problems implement a program that uses the CTP (Collection Tree Protocol) with LPL (Low Power Listening), gives an error when calling the setLocalSleelpInterval, says he does not think the method. If anyone has any examples I am very grateful. -- *Graciously* *Gustavo Zanatta Bru

Re: [Tinyos-help] CTP with LPL Integration

2012-09-06 Thread Gustavo Zanatta Bruno
In testnetworklpl were all my answer after doing some experiments with more carefully. Thanks OM 2012/9/6 Gustavo Zanatta Bruno > *Thanks for your reply, but this example does not have the call to the > function setLocalSleepInterval, and if I try to implement it, look at the > output I got:* >

Re: [Tinyos-help] CTP with LPL Integration

2012-09-06 Thread Gustavo Zanatta Bruno
*Thanks for your reply, but this example does not have the call to the function setLocalSleepInterval, and if I try to implement it, look at the output I got:* * * zanatta@zanatta-desktop:~/workspace/Thermal_Management/MultihopSensing/trunk/src$ SENSORBOARD=mda100 make micaz mkdir -p build/micaz

Re: [Tinyos-help] CTP with LPL Integration

2012-09-06 Thread Omprakash Gnawali
Please try apps/tests/TestNetworkLpl - om_p On Wed, Sep 5, 2012 at 3:56 PM, Gustavo Zanatta Bruno wrote: > Guys, I'm having problems implement a program that uses the CTP (Collection > Tree Protocol) with LPL (Low Power Listening) in Micaz, gives an error when > calling the setLocalSleelpInterva

[Tinyos-help] CTP with LPL Integration

2012-09-05 Thread Gustavo Zanatta Bruno
Guys, I'm having problems implement a program that uses the CTP (Collection Tree Protocol) with LPL (Low Power Listening) in Micaz, gives an error when calling the setLocalSleelpInterval, says he does not think the method. If anyone has any examples I am very grateful. -- *Graciously* *Gustavo Za

Re: [Tinyos-help] Ctp

2012-04-06 Thread Omprakash Gnawali
On Wed, Feb 29, 2012 at 7:59 PM, yanzhi zeng wrote: > Hi, > who has a demo that uses Ctp protocol, I want to learn how to use Ctp. This is a good place to start: http://docs.tinyos.net/tinywiki/index.php/Network_Protocols - om_p ___ Tinyos-help mailing

[Tinyos-help] Ctp

2012-02-29 Thread yanzhi zeng
Hi, who has a demo that uses Ctp protocol, I want to learn how to use Ctp. thanks Sincerely, Yanzhi ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] CTP + FTSP

2011-12-16 Thread Sardeshmukh, Vivek
Hi, I am newbie to tinyos. I have TinyOS 2.1.1 installed on Ubuntu 11.10. I was trying to implement CTP along with FTSP for one of my course project. I implemented FTSP and it worked well. But when I was trying to implement CTP, the motes (IRIS motes with light sensors) hang forever (no exchang

Re: [Tinyos-help] CTP+LPL+CC240 Security

2011-11-21 Thread HamidRafiei
Hi Rubenalia, I am working on the same thing, I am trying to simulate CTP+LPL for micaz on Avrora without any sensorboard or security plan. I cannot verify that LPL is working properly. I wonder how you have simulated CTP+LPL? did you change the codes for CTP and insert some LPL commands per p

Re: [Tinyos-help] CTP+LPL+CC240 Security

2011-11-21 Thread HamidRafiei
Hi Rubenalia, I am working on the same thing, I am trying to simulate CTP+LPL for micaz on Avrora without any sensorboard or security plan. I cannot verify that LPL is working properly. I wonder how you have simulated CTP+LPL? did you change the codes for CTP and insert some LPL commands per p

Re: [Tinyos-help] CTP updateRouteTask() behaivior if parent gets

2011-09-22 Thread Christian
Dear Zhichao Cao, Thank you very much for answer. What you say makes perfect sense to me. I'm really thankful for your help. I couldn't figure it out by myself. I somehow always missed the fact, that data_total is only reset if data_success > 0. Thanks again Christian On Tue, 20 Sep 2011 10:1

Re: [Tinyos-help] CTP receiving duplicates

2011-09-21 Thread wasif masood
check the sent cache size. On Wed, Sep 21, 2011 at 2:49 AM, Newlyn Erratt wrote: > All, > > I am trying to pinpoint the issue with my current program. I am using > TinyOS 2.1.1 and CTP. At the root node of My network I am passing the > packets on and am using the Listen program to see what I a

[Tinyos-help] CTP receiving duplicates

2011-09-20 Thread Newlyn Erratt
All, I am trying to pinpoint the issue with my current program. I am using TinyOS 2.1.1 and CTP. At the root node of My network I am passing the packets on and am using the Listen program to see what I am receiving. The problem I am seeing is that I receive a number of packets with only the etx

Re: [Tinyos-help] CTP updateRouteTask() behaivior if parent gets

2011-09-19 Thread Christian
Thank you very much for your kind reply, I think, I'm on the wrong train with my assumptions. However, I can not spot my mistake on my own. Please help me understand. > If more than MAX_PKT_GAP beacons are lost, the code will reinitialize > the link information. The code is in the same file. If

Re: [Tinyos-help] CTP - updateRouteTask

2011-09-17 Thread Omprakash Gnawali
On Tue, Sep 6, 2011 at 5:12 AM, Francisco J. wrote: > Hello, im working with CTP and have a question about it. > > In the task 'updateRouteTask' implemented in the file > 'ctpRoutingEngineP.nc', the first part the node scan each row in the > neighbor table: > >     /* Find best path in table,

Re: [Tinyos-help] CTP updateRouteTask() behaivior if parent gets

2011-09-17 Thread Omprakash Gnawali
On Fri, Sep 9, 2011 at 11:57 AM, Christian wrote: > Dear TinyOS community, > > I have a problem understanding, how CTP's updateRouteTask() works, if > the 4-Bit Link Estimator is used. > > Consider the following example: > Node 2 with costs 70 is currently using node 1 (costs 20) as parent. > He c

[Tinyos-help] CTP updateRouteTask() behaivior if parent gets

2011-09-11 Thread Christian
Dear TinyOS community, I have a problem understanding, how CTP's updateRouteTask() works, if the 4-Bit Link Estimator is used. Consider the following example: Node 2 with costs 70 is currently using node 1 (costs 20) as parent. He could also choose node 3, that has costs 60 over a link of costs 1

[Tinyos-help] CTP - updateRouteTask

2011-09-06 Thread Francisco J.
Hello, im working with CTP and have a question about it. In the task 'updateRouteTask' implemented in the file 'ctpRoutingEngineP.nc', the first part the node scan each row in the neighbor table: /* Find best path in table, other than our current */ for (i = 0; i < routingTableAct

[Tinyos-help] CTP implementation with LPL

2011-06-15 Thread Hamid Rafiei
Hi, I wonder if there is an implementation for CTP + LPL somewhere in the CVS or anywhere else, I checked out TestNetworkLpl in tinyos-2.x/apps/tests but it seems there should be also some modifications to CTP itself, per packet transmission, Also as I have understood LPL is not supported by TOSSI

Re: [Tinyos-help] CTP protocol implementation in TOSSIM

2011-05-19 Thread Omprakash Gnawali
1 at 9:29 AM, Saif Ahmad wrote: >> >> >> -- Forwarded message -- >> From: Omprakash Gnawali >> Date: Fri, May 13, 2011 at 9:12 AM >> Subject: Re: [Tinyos-help] CTP protocol implementation in TOSSIM >> To: Saif A >> Cc: tinyos-hel

Re: [Tinyos-help] CTP protocol implementation in TOSSIM

2011-05-13 Thread Saif Ahmad
3, 2011 at 9:12 AM > Subject: Re: [Tinyos-help] CTP protocol implementation in TOSSIM > To: Saif A > Cc: tinyos-help@millennium.berkeley.edu > > > On Sat, May 7, 2011 at 11:04 PM, Saif A wrote: > > > > I am a newbie at TOSSIM and would like to simulate the CTP proto

Re: [Tinyos-help] CTP protocol implementation in TOSSIM

2011-05-12 Thread Omprakash Gnawali
On Sat, May 7, 2011 at 11:04 PM, Saif A wrote: > > I am a newbie at TOSSIM and would like to simulate the CTP protocol. Can > somebody please kindly provide a step-by-step procedure on how to get > started with simulating CTP. I have already gone through the TOSSIM tutorial > but what next now? T

Re: [Tinyos-help] CTP protocol implementation in TOSSIM

2011-05-07 Thread Saif A
I am a newbie at TOSSIM and would like to simulate the CTP protocol. Can somebody please kindly provide a step-by-step procedure on how to get started with simulating CTP. I have already gone through the TOSSIM tutorial but what next now? -- View this message in context: http://old.nabble.com/

Re: [Tinyos-help] CTP+LPL+CC240 Security

2011-04-28 Thread Damian Rusinek
Try to turn off LPL and check if there is any difference - maybe security increases the consumption, but it is really huge difference. 2011/4/28 Rubenalia > Hi Damian, > > I know that Avrora doesn't have all CC2420Security characteristics > implemented, but it should show more or less the same r

Re: [Tinyos-help] CTP+LPL+CC240 Security

2011-04-28 Thread Rubenalia
Hi Damian, I know that Avrora doesn't have all CC2420Security characteristics implemented, but it should show more or less the same results with both apps. i mean, i suppose the overhead packet for security header should increase the energy consumption (and this is what i want to study) but, for i

Re: [Tinyos-help] CTP+LPL+CC240 Security

2011-04-28 Thread Damian Rusinek
Hi. Looks like you are doing something similar to what I am doing :) When I used Packet monitor in Avrora with encryption enabled, it gave me weird result - some weird symbols and pc speaker singing :) I guess that avrora may have problems with simulating apps which use encryption. PS. Hadware s

[Tinyos-help] CTP+LPL+CC240 Security

2011-04-28 Thread Rubenalia
Hi all, I develop an application that sense temperature and send its value throught radio CC2420chip (MicaZ plattform). I'm using CTP+LPL and testing it in Avrora. I use energy monitor and I can check that it's doing its work properly, I mean, the app puts the radio chip in sleep mode during almos

[Tinyos-help] CTP and LPL

2011-04-25 Thread sofia aparicio
Hello, I am sending a message every 5 minutes with mica2 motes and I use CTP. Since I would like to reduce the power consumption. I want to know which values should I choose to use the LPL: CFLAGS += -DLOW_POWER_LISTENING CFLAGS += -DLPL_DEF_LOCAL_WAKEUP=512 CFLAGS += -DLPL_DEF_REMOTE_W

Re: [Tinyos-help] CTP: meaning of ETX value and how to identify root nodes

2011-03-28 Thread Omprakash Gnawali
On Wed, Mar 16, 2011 at 5:52 AM, Matthias Schwamborn wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi all, > > I've been looking into the TinyOS 2.1.1 CTP (lib/net/ctp) and Link > Estimator (lib/net/le) implementation in order to understand how ETX > values are calculated. > > If I

Re: [Tinyos-help] CTP with Multiple Roots

2011-03-23 Thread Philip Levis
On Mar 21, 2011, at 1:57 AM, wasif masood wrote: > > Hi all, > > Can someone tell me whether CTP can maintain multiple roots in its current > implementation? > > BR, > Wasif Masood Yes. A node will automatically choose to route towards the root that has the lowest cost path. Phil

[Tinyos-help] CTP with Multiple Roots

2011-03-21 Thread wasif masood
Hi all, Can someone tell me whether CTP can maintain multiple roots in its current implementation? BR, Wasif Masood ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] CTP: meaning of ETX value and how to identify root nodes

2011-03-16 Thread Matthias Schwamborn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I've been looking into the TinyOS 2.1.1 CTP (lib/net/ctp) and Link Estimator (lib/net/le) implementation in order to understand how ETX values are calculated. If I understand it correctly, the ETX stored in both CTP routing and data packets a

Re: [Tinyos-help] CTP timeout-related questions

2011-03-14 Thread David
Thanks for those replies: I have a better understanding now of how the CTP+LPL timeouts work. Fyi: I am seeing about 5-6 hour delays in re-establishing the mesh network when there's a problem Here's the use case: - 2 motes, pretty far away from the basestation, but the signal is able to get thro

Re: [Tinyos-help] CTP timeout-related questions

2011-03-12 Thread Omprakash Gnawali
On Sat, Mar 12, 2011 at 8:51 PM, Philip Levis wrote: > > On Mar 7, 2011, at 2:02 AM, David wrote: ... >> If the motes are unable to contact the basestation for a long time >> (eg: hours/days), but then later the basestation becomes available - >> then how long typically would it take for the netwo

Re: [Tinyos-help] CTP timeout-related questions

2011-03-12 Thread Philip Levis
On Mar 7, 2011, at 2:02 AM, David wrote: > Hi there, > > I've started using CTP+LPL in a project (thanks for the earlier > suggestion), and have a few questions about the network behavior when > the basestation mote is offline/unavailable. > > (in this mail, I assume a very basic setup, where t

Re: [Tinyos-help] CTP on Motelab

2011-03-09 Thread Massimiliano Raciti
Hi, I tried to change the code as suggested in the link, and now finally the nodes send data to the sink. It is strange that after one year the problem is still not fixed. Thanks again for your help. Massimiliano On Tue, Mar 8, 2011 at 8:57 PM, Manjunath Doddavenkatappa wrote: > > Sometime back,

Re: [Tinyos-help] CTP on Motelab

2011-03-08 Thread Manjunath Doddavenkatappa
Sometime back, 2.1.1 had problems on Motelab because of the problm described here: http://olafland.wordpress.com/2010/06/21/tinyos-2-x-and-motelab/ However, I am not sure whether the problem exists still. Manjunath D ###

[Tinyos-help] CTP on Motelab

2011-03-08 Thread Massimiliano Raciti
Dear all, I'm trying to run TestNetworkLPL, from the last tinyos 2.x code, on Motelab. Running the code as it is, setting node 103 as sink, the nodes do not exchange any packet. I have done many attemps setting different local/remote wakeup interval, but nothing has changed. Does anybody have some

[Tinyos-help] CTP timeout-related questions

2011-03-07 Thread David
Hi there, I've started using CTP+LPL in a project (thanks for the earlier suggestion), and have a few questions about the network behavior when the basestation mote is offline/unavailable. (in this mail, I assume a very basic setup, where the motes can normally all reach the basestation directly

Re: [Tinyos-help] CTP timeout-related questions

2011-03-07 Thread David
Also, a quick amendment to the one question: > > 4. Time for CTP network to re-establish. > > If the motes are unable to contact the basestation for a long time > (eg: hours/days), but then later the basestation becomes available - > then how long typically would it take for the network to re-esta

Re: [Tinyos-help] CTP adaptive beaconing

2011-02-04 Thread Philip Levis
On Feb 4, 2011, at 9:35 AM, Xiaohui Liu wrote: > Hi, > > I think there is a mistake in my previous email, t should be within > [currentInterval / 2, currentInterval], sorry about that. > > But I'm still not sure What "tHasPassed" means. Can anyone helps with that? Trickle picks a time t in t

Re: [Tinyos-help] CTP adaptive beaconing

2011-02-04 Thread Xiaohui Liu
Hi, I think there is a mistake in my previous email, t should be within [currentInterval / 2, currentInterval], sorry about that. But I'm still not sure What "tHasPassed" means. Can anyone helps with that? On Fri, Feb 4, 2011 at 12:15 PM, Xiaohui Liu wrote: > Hi everyone, > > In CTP router, I

[Tinyos-help] CTP adaptive beaconing

2011-02-04 Thread Xiaohui Liu
Hi everyone, In CTP router, I have the following questions regarding the adaptive beaconing, please see comments inline. void chooseAdvertiseTime() { t = currentInterval; t /= 2; t += call Random.rand32() % t; * // t is within [currentInterval / 2, currentInterval *

Re: [Tinyos-help] CTP under high data rate?

2011-01-05 Thread 蔡沅峰
We used tinyos 2.1.1-3, which release in April. The hardware we use is telosb with CC2420 radio. By the way, we've download the latest version from google code, but how can we install this latest version? Just replace the tinyos-2.x folder tree with older one? Many thanks. Best regards, Sea

Re: [Tinyos-help] CTP under high data rate?

2011-01-04 Thread Miklos Maroti
Hi Sean, Can you try out the latest SVN repository from google code? (By the way, I think the issue Fabrice mentioned will not improve CTP) Best, Miklos 2011/1/4 Fabrice Dossin : > Dear, > Which hardware and which tinyos version do you use ? I was having such > problem with IRIS motes. > I have

Re: [Tinyos-help] CTP under high data rate?

2011-01-04 Thread Fabrice Dossin
Dear, Which hardware and which tinyos version do you use ? I was having such problem with IRIS motes. I have finally switched to another routing algorithm but I was still experiencing issues like this. Finally it was found as a bug inside the rf230 driver and was fixed on the trunk repository. I'v

[Tinyos-help] CTP under high data rate?

2011-01-03 Thread 蔡沅峰
Dear all, We’ve recently tested the performance of CTP under high data rate scenario, though it is known that CTP is suitable under low data rate situation. The data rate is 5 packets per seconds (80 bytes for payload) and there are at most 8 sources and 12 relays in our testbed. We found in our ex

Re: [Tinyos-help] CTP: CC2420Packet.getPower()

2010-12-15 Thread Yusnaidi Md Yusof
acket.setPower(), thus to read the transmission power settings for >> the received packet, I need to use CC2420Packet.getPower(), is it? Or, >> getRssi() also gives a similar meanings? >> >> thanks >> >> Yusnaidi >> >> >>> -

Re: [Tinyos-help] CTP: CC2420Packet.getPower()

2010-12-13 Thread Doug Carlson
;> Message: 2 >> Date: Fri, 10 Dec 2010 12:23:18 -0500 >> From: Doug Carlson >> Subject: Re: [Tinyos-help] CTP: CC2420Packet.getPower() >> To: tinyos-help@millennium.berkeley.edu >> Message-ID: >> >> Content-Type: text/plain; charset="iso-8859

[Tinyos-help] CTP: CC2420Packet.getPower()

2010-12-13 Thread Yusnaidi Md Yusof
settings for the received packet, I need to use CC2420Packet.getPower(), is it? Or, getRssi() also gives a similar meanings? thanks Yusnaidi > -- > > Message: 2 > Date: Fri, 10 Dec 2010 12:23:18 -0500 > From: Doug Carlson > Subject: Re:

Re: [Tinyos-help] CTP: CC2420Packet.getPower()

2010-12-10 Thread Doug Carlson
Yusnaidi, See the CC2420Packet documentation ( http://www.tinyos.net/tinyos-2.1.0/doc/nesdoc/telosb/ihtml/tos.chips.cc2420.interfaces.CC2420Packet.html). You are looking for CC2420Packet.getRssi(). get/set power are for transmission power, getRssi will give you the received signal strength of a re

[Tinyos-help] CTP: CC2420Packet.getPower()

2010-12-10 Thread Yusnaidi Md Yusof
Hi All, I am so stucked to read the power of the received packet. I am using CTP protocol and sending the packet using Send.send(). I have tried with the AM communication (my other test that not using CTP protocol), and in that test I send packets using AMSend.send(). I set certain power using CC

Re: [Tinyos-help] CTP: ETX values vs. LPL wake-up interval

2010-11-19 Thread Manjunath Doddavenkatappa
Dear Sir, Please find the file at the following link. The file contains PRR vs. LPL_wakeup_interval observations. Please skim through the details provided below each of the tables in the file. http://www.comp.nus.edu.sg/~doddaven/lpl.pdf Sincerely, Manjunath D

Re: [Tinyos-help] CTP not reporting NET_C_FE_DST_MSG and NET_C_TREE_RCV_BEACON

2010-11-19 Thread Morten Tranberg Hansen
Ok, so lets conclude. Assuming a reliable logging system DST_MSG is not needed if one logs when the max payload length test fails and RCV_BEACON might overload the logging system in dense networks. I guess what you need to decide is whether you want tinyos-main to log when the max payload length

Re: [Tinyos-help] CTP header field

2010-11-19 Thread Giuseppe Cardone
Hi. Please refrain from sending the same question multiple times to the mailing list in such a short timespan. On Friday 19 November 2010 15:58:55 wasif masood wrote: > There is no explicit declaration for data in CTP header,yet forwarding > works, can someone please please explaiin this

[Tinyos-help] CTP header field

2010-11-19 Thread wasif masood
There is no explicit declaration for data in CTP header,yet forwarding works, can someone please please explaiin this typedef nx_struct { nx_ctp_options_toptions; nx_uint8_t thl;// tried_hopcount nx_uint16_t etx; nx_am_addr_t origin; nx_uint8_

[Tinyos-help] CTP header field

2010-11-19 Thread wasif masood
There is no explicit declaration for data in CTP header,yet forwarding works, can someone please please explaiin this typedef nx_struct { nx_ctp_options_toptions; nx_uint8_t thl;// tried_hopcount nx_uint16_t etx; nx_am_addr_t origin; nx_uint8

Re: [Tinyos-help] CTP not reporting NET_C_FE_DST_MSG and NET_C_TREE_RCV_BEACON

2010-11-19 Thread Omprakash Gnawali
On Thu, Nov 18, 2010 at 2:39 PM, Morten Tranberg Hansen wrote: > Oh I didn't realize you were talking about the RCV_MSG event.  Yeah the only > unlogged event between the RCV_MSG event and a possible DST_MSG event at the > root would be if the max payload length test fails.  I'm not sure when/if >

Re: [Tinyos-help] CTP not reporting NET_C_FE_DST_MSG and NET_C_TREE_RCV_BEACON

2010-11-18 Thread Morten Tranberg Hansen
Oh I didn't realize you were talking about the RCV_MSG event. Yeah the only unlogged event between the RCV_MSG event and a possible DST_MSG event at the root would be if the max payload length test fails. I'm not sure when/if this test fails, but maybe it should be logged for correctness. Morten

Re: [Tinyos-help] CTP not reporting NET_C_FE_DST_MSG and NET_C_TREE_RCV_BEACON

2010-11-18 Thread Philip Levis
On Nov 17, 2010, at 8:36 PM, Morten Tranberg Hansen wrote: > I argue that the application, which is signaled receive from the ctp > forwarding engine, should not necessarily have to tell anybody that it > received this event, and hence CTP should debug the NET_C_FE_DST_MSG. In > case the appl

Re: [Tinyos-help] CTP not reporting NET_C_FE_DST_MSG and NET_C_TREE_RCV_BEACON

2010-11-17 Thread Morten Tranberg Hansen
I argue that the application, which is signaled receive from the ctp forwarding engine, should not necessarily have to tell anybody that it received this event, and hence CTP should debug the NET_C_FE_DST_MSG. In case the application, whichever one is used, decides to report the receive event (thi

Re: [Tinyos-help] CTP: ETX values vs. LPL wake-up interval

2010-11-17 Thread Philip Levis
I don't think this quite answers my question: it was whether, on using setLocalWakeupInterval(), you see a change in PRR on simple AM transmissions. I.e., is this a general link layer issue, or an interaction between the link layer and CTP? My guess is that it is the former, but evidence would h

Re: [Tinyos-help] CTP not reporting NET_C_FE_DST_MSG and NET_C_TREE_RCV_BEACON

2010-11-17 Thread Philip Levis
On Nov 17, 2010, at 6:38 PM, Morten Tranberg Hansen wrote: > On Thu, Nov 18, 2010 at 12:00 PM, Philip Levis wrote: > Why is the current logic for receive() dependent on the application? > > > The application would either have to send the NET_C_FE_DST_MSG event through > the CollectionDebug in

Re: [Tinyos-help] CTP not reporting NET_C_FE_DST_MSG and NET_C_TREE_RCV_BEACON

2010-11-17 Thread Morten Tranberg Hansen
On Thu, Nov 18, 2010 at 12:00 PM, Philip Levis wrote: > Why is the current logic for receive() dependent on the application? > > The application would either have to send the NET_C_FE_DST_MSG event through the CollectionDebug interface or report the reception of a data packet in some other way.

Re: [Tinyos-help] CTP not reporting NET_C_FE_DST_MSG and NET_C_TREE_RCV_BEACON

2010-11-17 Thread Philip Levis
On Nov 17, 2010, at 5:34 PM, Morten Tranberg Hansen wrote: > Thats what I thought were the arguments. Personally I like to debug CTP > independent of the application, and hence find the arrived event useful, Why is the current logic for receive() dependent on the application? > and for debu

Re: [Tinyos-help] CTP not reporting NET_C_FE_DST_MSG and NET_C_TREE_RCV_BEACON

2010-11-17 Thread Morten Tranberg Hansen
Thats what I thought were the arguments. Personally I like to debug CTP independent of the application, and hence find the arrived event useful, and for debugging purposes and less dense networks I still argue that the receive beacon is useful. Maybe these could be added optionally with an ifdef?

Re: [Tinyos-help] CTP not reporting NET_C_FE_DST_MSG and NET_C_TREE_RCV_BEACON

2010-11-17 Thread Philip Levis
On Nov 17, 2010, at 4:45 PM, Morten Tranberg Hansen wrote: > Hi Om, > > I've always wondered why CTP does not report arrived messages and received > beacons. Over time I've found these events very useful when debugging CTP. > > Is there a reason for not reporting these events? If not, see pr

[Tinyos-help] CTP not reporting NET_C_FE_DST_MSG and NET_C_TREE_RCV_BEACON

2010-11-17 Thread Morten Tranberg Hansen
Hi Om, I've always wondered why CTP does not report arrived messages and received beacons. Over time I've found these events very useful when debugging CTP. Is there a reason for not reporting these events? If not, see proposed changes below. Morten. CtpForwardingEngineP.nc @@ -712,13 +712,17

Re: [Tinyos-help] CTP: ETX values vs. LPL wake-up interval

2010-11-16 Thread Manjunath Doddavenkatappa
Dear Sir, The problem and its cause can be summarized as follows. In the case of CTP, I guess it is required to set LPL variables (local and remote sleep intervals) from the Makefile. Otherwise, I guess no preamble is sent before transmitting routing beacons thus resulting in unexpected

Re: [Tinyos-help] CTP: CtpForwardingEngineP component error

2010-11-16 Thread Miklos Maroti
Excellent, great news. Best, Miklos On Tue, Nov 16, 2010 at 5:56 PM, Dongyu Yang wrote: > Hello! > >     I fine this is cased by the component LowPowerListeningLayerP, and this > has been fixed by mmaroti on Nov 13, 2010, Revision: r5220. And when I > update the LowPowerListeningLayerP, it is OK!

Re: [Tinyos-help] CTP: CtpForwardingEngineP component error

2010-11-16 Thread Dongyu Yang
Hello! I fine this is cased by the component LowPowerListeningLayerP, and this has been fixed by mmaroti on Nov 13, 2010, Revision: r5220. And when I update the LowPowerListeningLayerP, it is OK! Thanks for you attention! Best regards! 2010/11/16 Philip Levis > > On Nov 1, 2010, at 6:4

Re: [Tinyos-help] CTP: CtpForwardingEngineP component error

2010-11-15 Thread Philip Levis
On Nov 1, 2010, at 6:46 PM, Dongyu Yang wrote: > Hello! > > The return value is EBUSY. The AM layer do not promise signal > AMSend.sendDone > event, if the return value is not SUCCESS when call AMSend.send(). > Because in the component AMQueueImplP, when call Send.send() it may > retu

Re: [Tinyos-help] CTP neighbor eviction procedure

2010-11-15 Thread Philip Levis
On Nov 1, 2010, at 2:03 PM, Omprakash Gnawali wrote: > On Mon, Nov 1, 2010 at 2:52 AM, wasif masood wrote: >> >> Yes, I think it would be troublesome if one neighbor completely vanishes >> from the vicinity of a node because in that case node will always be >> transmitting 3 byte additional ove

Re: [Tinyos-help] CTP: ETX values vs. LPL wake-up interval

2010-11-15 Thread Philip Levis
On Nov 7, 2010, at 3:40 AM, Manjunath Doddavenkatappa wrote: > > Dear Dr. Gnawali, > > Sorry to get back to you so late, we had a paper deadline. > > Everything works fine if I set LPL variables from the Makefile as in > TestNetworkLpl. Problems arise only on trying to set LPL variables from

[Tinyos-help] CTP header Structure

2010-11-11 Thread wasif masood
Hi, I am working over CTP may be someone can answer some simple questions of mine which are as follows: 1)- In the ctp_data_header, there is no specific filed for data, when we receive a msg from above it simply do getHeader and starts overriting that msg. So why does the data not get currupted b

Re: [Tinyos-help] CTP: ETX values vs. LPL wake-up interval

2010-11-07 Thread Manjunath Doddavenkatappa
Dear Dr. Gnawali, Sorry to get back to you so late, we had a paper deadline. Everything works fine if I set LPL variables from the Makefile as in TestNetworkLpl. Problems arise only on trying to set LPL variables from the program using "setLocalWakeupInterval()". Just to verify in the later

Re: [Tinyos-help] CTP: CtpForwardingEngineP component error

2010-11-01 Thread Dongyu Yang
Hello! The return value is EBUSY. The AM layer do not promise signal AMSend.sendDone event, if the return value is not SUCCESS when call AMSend.send(). Because in the component AMQueueImplP, when call Send.send() it may return EBUSY in two place, as show below: generic module AMQueueImpl

Re: [Tinyos-help] CTP neighbor eviction procedure

2010-11-01 Thread Omprakash Gnawali
On Mon, Nov 1, 2010 at 2:52 AM, wasif masood wrote: > > Yes, I think it would be troublesome if one neighbor completely vanishes > from the vicinity of a node because in that case node will always be > transmitting 3 byte additional overhead in terms of the reverse link > neighbour quality. Good

Re: [Tinyos-help] CTP neighbor eviction procedure

2010-11-01 Thread wasif masood
Yes, I think it would be troublesome if one neighbor completely vanishes from the vicinity of a node because in that case node will always be transmitting 3 byte additional overhead in terms of the reverse link neighbour quality. On Fri, Oct 29, 2010 at 8:59 PM, Omprakash Gnawali wrote: > On Thu

Re: [Tinyos-help] CTP: CtpForwardingEngineP component error

2010-10-29 Thread Omprakash Gnawali
On Sat, Oct 23, 2010 at 12:25 AM, Dongyu Yang wrote: >  I have tested this: when one Node (A) happened this phenomenon, I reduce > the dissemination rate > to once ever 10 seconds, and stop the other Nodes, this phenomenon exist > still, the Node (A) can > only receive the dissemination command, b

Re: [Tinyos-help] CTP neighbor eviction procedure

2010-10-29 Thread Omprakash Gnawali
On Thu, Oct 28, 2010 at 6:16 AM, wasif masood wrote: > > > I am wondering how CTP evicts a complelety dead neighbor? because the normal > procedure is this: > > 1- > if (curr_seq - pre_seq > 10) >   remove the neighbor > > if(nieghbortable full) >   remove the most loss neighbor > > now what will

[Tinyos-help] CTP neighbor eviction procedure

2010-10-28 Thread wasif masood
I am wondering how CTP evicts a complelety dead neighbor? because the normal procedure is this: 1- if (curr_seq - pre_seq > 10) remove the neighbor if(nieghbortable full) remove the most loss neighbor now what will happen, if there is still some space in NeighborTable and its not possible to

Re: [Tinyos-help] CTP: CtpForwardingEngineP component error

2010-10-22 Thread Omprakash Gnawali
On Fri, Oct 22, 2010 at 9:37 PM, Dongyu Yang wrote: >> >> Hello! >> I set up one network containing four Node and one Root, and use "drip" to >> disseminate command, and use "ctp" to collect data.The Root disseminates >> command every 200 ~ 700 ms (randomly), and the Node use "ctp" to send >> data

[Tinyos-help] CTP: CtpForwardingEngineP component error

2010-10-22 Thread Dongyu Yang
-- Forwarded message -- From: Philip Levis Date: 2010/10/23 Subject: Re: [Tinyos-devel] CTP: CtpForwardingEngineP component error To: Dongyu Yang Cc: tinyos-de...@millennium.berkeley.edu Please send questions to tinyos-help. Phil On Oct 22, 2010, at 10:12 PM, Dongyu Yang wrote

Re: [Tinyos-help] CTP: ETX values vs. LPL wake-up interval

2010-10-22 Thread Omprakash Gnawali
Are you using TestNetworkLpl and changing the flags in the Makefile to control various intervals? If not, you should tell me how to replicate your problem starting with TestNetworkLpl. - om_p On Thu, Oct 21, 2010 at 11:01 PM, Manjunath Doddavenkatappa wrote: > > Generally, yes. As ETX increases

Re: [Tinyos-help] CTP: ETX values vs. LPL wake-up interval

2010-10-21 Thread Manjunath Doddavenkatappa
Generally, yes. As ETX increases lossses also increase. I can observe the fact that RetxmitTimer in CtpForwardingEngine being fired quite a few times before sucessfully transmitting every packet. But, only a few times this does not hold with packets getting through although ETX remains at a

Re: [Tinyos-help] CTP: ETX values vs. LPL wake-up interval

2010-10-21 Thread Omprakash Gnawali
On Tue, Oct 19, 2010 at 1:04 AM, Manjunath Doddavenkatappa wrote: > > Dear All, > >   We are not able to figure out a reason why ETX values in CTP increases as > wake-up interval of the LPL (BoXMaC-One) increases. We have a simple setup > of a sender and a root node placed adjacent to each other.

[Tinyos-help] CTP: ETX values vs. LPL wake-up interval

2010-10-19 Thread Manjunath Doddavenkatappa
Dear All, We are not able to figure out a reason why ETX values in CTP increases as wake-up interval of the LPL (BoXMaC-One) increases. We have a simple setup of a sender and a root node placed adjacent to each other. Nodes use maximum power of 0 dBm. 1) We are using IPI of 15s. We repe

Re: [Tinyos-help] CTP unexpected ETX values

2010-10-13 Thread Omprakash Gnawali
On Wed, Oct 13, 2010 at 4:53 PM, Manjunath Doddavenkatappa wrote: > > Dear All, > >        Using CTPInfo.getETX(), I notice unexpected ETX > values. For example, in a setup of a root node and a child placed adjacent to > each > other, I see an ETX value of 10 always. Although there are no losses

[Tinyos-help] CTP unexpected ETX values

2010-10-13 Thread Manjunath Doddavenkatappa
Dear All, Using CTPInfo.getETX(), I notice unexpected ETX values. For example, in a setup of a root node and a child placed adjacent to each other, I see an ETX value of 10 always. Although there are no losses (just to confirm that there are no losses, I changed MAX_RETRIES to zero, r

[Tinyos-help] CTP header field

2010-09-20 Thread wasif masood
following is a field in ctp header msg, does anyone know what sort of declaration is this? nx_uint8_t (COUNT(0) data)[0]; // Deputy place-holder, field will probably be removed when we Deputize Ctp -- Wasif Masood ___ Tinyos-help mailing list Tinyos-h

Re: [Tinyos-help] CTP simulation

2010-08-25 Thread Philip Levis
On Aug 24, 2010, at 8:19 PM, Omprakash Gnawali wrote: > On Tue, Aug 24, 2010 at 3:21 PM, wasif masood > wrote: >> >> the only random values in test.py are related to bootuo time and I >> don't how >> this value is going to effect the outcome. > > > Those random values might change the order

Re: [Tinyos-help] CTP simulation

2010-08-24 Thread Omprakash Gnawali
On Tue, Aug 24, 2010 at 3:21 PM, wasif masood wrote: > > the only random values in test.py are related to bootuo time and I don't how > this value is going to effect the outcome. Those random values might change the order in which nodes come up and start sending messages. That can change the tre

Re: [Tinyos-help] CTP simulation

2010-08-24 Thread wasif masood
the only random values in test.py are related to bootuo time and I don't how this value is going to effect the outcome. On Tue, Aug 24, 2010 at 8:00 PM, Omprakash Gnawali wrote: > random -- Wasif Masood ___ Tinyos-help mailing list Tinyos-help@mill

  1   2   3   >