Re: [Tinyos-help] SMAC implementation

2008-09-29 Thread Omprakash Gnawali
On Mon, Sep 29, 2008 at 12:51 AM, milos rovcanin [EMAIL PROTECTED] wrote: Hi! Here is my question: how can I implement SMAC protocol on a mote? I am writing an application that should work in a network which is suppose to operate under SMAC. Am I suppose to wire SMAC to my application or what?

Re: [Tinyos-help] about two packet with the same originSeqNo in the CTP header

2008-09-28 Thread Omprakash Gnawali
On Sat, Sep 27, 2008 at 8:02 PM, jiwen zhang [EMAIL PROTECTED] wrote: Hello Omprakash : Recently , I am confronted with a problem about CTP , in my application , it send the data to root periodcally , but i find it send the same data two times every time , and the packets with the same

Re: [Tinyos-help] question about data aggregation when information of children nodes are not available

2008-09-24 Thread Omprakash Gnawali
2008/9/24 白惠文 [EMAIL PROTECTED]: Hi, I have a question about the routing tree protocol and the collection tree protocol in TinyOS. It seems we can not get a list of the children nodes of a inner node. If that's the case, how do we use these components for an application with data

Re: [Tinyos-help] CollectionC

2008-09-23 Thread Omprakash Gnawali
On Tue, Sep 23, 2008 at 3:36 AM, Alfonso Cardell [EMAIL PROTECTED] wrote: Hi, I'm doing an aplication with magnetometers over tmote plataform and I would like to know if CollectionC allow sends packets from master (base node) to other node (for example, send a packet for tell it that

Re: [Tinyos-help] Collection protocol with different payload formats

2008-09-23 Thread Omprakash Gnawali
On Thu, Sep 18, 2008 at 3:20 AM, Lei Mlapom [EMAIL PROTECTED] wrote: Dear all: I am working with the collection protocol in tinyos2. I want to send different payload formats alternatively in the same micaz mote.I have read that one collection_id_t generally have the same payload format so Do

Re: [Tinyos-help] replacement for CollectionExample in 2.1

2008-09-23 Thread Omprakash Gnawali
On Tue, Sep 23, 2008 at 9:07 AM, Avinash Sridharan [EMAIL PROTECTED] wrote: There used to be a CollectionExample app in 2.0.2, to explain the usage of CTP in 2.x. I can't find such an app in 2.1 . Is there an alternative app that is provided ? MultihopOscilloscope. - om_p

Re: [Tinyos-help] Packet Loss/Radio On-Off/ACK's for Broadcast packets

2008-09-14 Thread Omprakash Gnawali
On Fri, Sep 12, 2008 at 11:12 AM, Gaurav Chandwani [EMAIL PROTECTED] wrote: Hi All, Thanks Om and Razvan for the LPL papers, would go through them ... Chetan, i have tried multiple permutations and combinations in my network with maximum number of nodes being 30. Single-Hop -

Re: [Tinyos-help] CTP rtx

2008-09-11 Thread Omprakash Gnawali
On Tue, Sep 9, 2008 at 9:19 AM, Nahr ... [EMAIL PROTECTED] wrote: Hi, Please how could I compute the total number of transmissions in the network for each unique delivered packet? In CtpForwardingEngineP.nc, search for the line that has NET_C_FE_SENDDONE_WAITACK. That line logs each

Re: [Tinyos-help] Packet Loss/Radio On-Off/ACK's for Broadcast packets

2008-09-11 Thread Omprakash Gnawali
On Thu, Sep 11, 2008 at 9:02 AM, Gaurav Chandwani [EMAIL PROTECTED] wrote: Hi All, I am facing a strange packet loss behaviour in my network which is affecting my final project. I would like to ask a few questions for the same. TestBed: 15 motes running the simple apps/RadioCountToLeds

Re: [Tinyos-help] Intercept interface one question

2008-09-11 Thread Omprakash Gnawali
On Thu, Sep 4, 2008 at 7:23 AM, Funofnet funofnet [EMAIL PROTECTED] wrote: Hi all ! I will be very thankful if someone explain to me intercept interface. As it is mentioned: The intercept interface signals that a message has been received, which is supposed to be forwarded to another

Re: [Tinyos-help] Re : Intercept interface one question

2008-09-11 Thread Omprakash Gnawali
On Thu, Sep 11, 2008 at 1:49 PM, funofnet Funofnet [EMAIL PROTECTED] wrote: But I think that it is theoretically True (intercept.forward returns FALSE if a node snoop a packet). Because I tested that by adding a debug msg in the forwarding engine of the CTP protocol at this line:

Re: [Tinyos-help] Packet Loss/Radio On-Off/ACK's for Broadcast packets

2008-09-11 Thread Omprakash Gnawali
On Thu, Sep 11, 2008 at 3:15 PM, Gaurav Chandwani [EMAIL PROTECTED] wrote: Hi Omprakash, Are you suggesting me to put LPL in the RadioCountToLeds code and not use Radio On/Off ? Does LPL save more battery than switching off the radio while its not transmitting ? can you give some

[Tinyos-help] your experience with net2 protocols (CTP/Deluge/Drip/DIP)

2008-09-09 Thread Omprakash Gnawali
I wanted to get feedback from the TinyOS community on how different people are using the net2 protocols - CTP/MultihopLQI/Deluge/Drip/DIP. In what kind of scenarios/research or prototyping projects/platforms have you used these protocols? Did you have to modify these protocols to make it work

Re: [Tinyos-help] CTP parent switching

2008-08-30 Thread Omprakash Gnawali
On Thu, Aug 28, 2008 at 1:14 AM, Michiel Konstapel [EMAIL PROTECTED] wrote: Following up on my message about the link estimator, I was also wondering about CTP's parent switching threshold. As is, CTP will switch parents if the new parent offers a path ETX that is 1.5 hops better than its

Re: [Tinyos-help] LinkEstimator, link qualities, ETX

2008-08-29 Thread Omprakash Gnawali
On Thu, Aug 28, 2008 at 1:06 AM, Michiel Konstapel [EMAIL PROTECTED] wrote: ... Our thinking was that instead of initializing the qualities and ETX to zero, wouldn't it be better to set them halfway? That way, it is encoded that the quality of the link is unknown, and could go either way. An

Re: [Tinyos-help] Does CTP work on Mica2 ?

2008-08-27 Thread Omprakash Gnawali
with TestNetwork further and keep the group posted. Regards, Zainul. On Mon, Aug 25, 2008 at 8:28 AM, Omprakash Gnawali [EMAIL PROTECTED] wrote: On Sun, Aug 24, 2008 at 1:39 PM, Zainul M Charbiwala [EMAIL PROTECTED] wrote: ... 3. What is this exchange ? Is this a link layer acknowledgment

Re: [Tinyos-help] ctp details

2008-08-25 Thread Omprakash Gnawali
On Mon, Aug 25, 2008 at 7:17 AM, João Paulo Amaro da Costa Luz Carneiro [EMAIL PROTECTED] wrote: Hi, Where can I find more details about the ctp? I read both the tutorial and teps but I would like to find out more details such as: In a network with multiple roots: - how is a sender informed

Re: [Tinyos-help] Does CTP work on Mica2 ?

2008-08-25 Thread Omprakash Gnawali
On Sun, Aug 24, 2008 at 1:39 PM, Zainul M Charbiwala [EMAIL PROTECTED] wrote: ... 3. What is this exchange ? Is this a link layer acknowledgment ? 0 0:00:22.368266 74.74.AA.AA.AA.AA.AA.AA.AA.AA.AA.AA.AA.AB.BA.83 6.666 ms 1 0:00:22.368697

Re: [Tinyos-help] Just a simple verification about data_total

2008-08-17 Thread Omprakash Gnawali
On Fri, Aug 15, 2008 at 1:30 PM, Nahr ... [EMAIL PROTECTED] wrote: but to be now more exact : data_total is declared in the tinyos-2.x\tos\lib\net\4bitle\LinkEstimator.h and it is used by linkestimatorP.nc file placed in both 4bitle and le folder. I remarked that it (variable data_total) is

Re: [Tinyos-help] Just a simple verification about data_total

2008-08-15 Thread Omprakash Gnawali
On Thu, Aug 14, 2008 at 1:44 PM, Nahr ... [EMAIL PROTECTED] wrote: 2008/8/14, Omprakash Gnawali [EMAIL PROTECTED]: On Thu, Aug 14, 2008 at 4:38 AM, Nahr ... [EMAIL PROTECTED] wrote: Hi all, I would like just to verify if the variable data_total is equal to total distinct packet

Re: [Tinyos-help] Just a simple verification about data_total

2008-08-14 Thread Omprakash Gnawali
On Thu, Aug 14, 2008 at 4:38 AM, Nahr ... [EMAIL PROTECTED] wrote: Hi all, I would like just to verify if the variable data_total is equal to total distinct packet sent or total transmissions (including data retransmission). What file? - om_p ___

Re: [Tinyos-help] ZigBee in current T2 cvs

2008-08-13 Thread Omprakash Gnawali
On Tue, Jul 29, 2008 at 8:41 AM, Andrey Gursky [EMAIL PROTECTED] wrote: Hi! There were some discussions in devel about zigbee but it seems there were no cvs checkins of patchs in order the current implementation could work with micaz. Are they not good enough? ZigBee team is reorganizing.

Re: [Tinyos-help] Implementation of CompareBit interface

2008-08-12 Thread Omprakash Gnawali
On Mon, Aug 11, 2008 at 5:58 PM, Tao Liu [EMAIL PROTECTED] wrote: Hi Omprakash, Thanks very much for the reply. I also have a small irrelevant question here. I am doing some experiments about the performance of the new 4bit link estimator using tmotes, which use Chipcon CC2420 radio chip. I

Re: [Tinyos-help] Neighbours get deleted in cldp

2008-08-12 Thread Omprakash Gnawali
You are better of contacting Youngjin Kim at USC. - om_p On Tue, Aug 12, 2008 at 5:27 PM, Pratibha S [EMAIL PROTECTED] wrote: Hi, Im running cldp_gfr code. Im using a 8-node mesh topology(all nodes are connected to all). When I run the code, even though the neighbours are getting allocated

Re: [Tinyos-help] Implementation of CompareBit interface

2008-08-11 Thread Omprakash Gnawali
On Mon, Aug 11, 2008 at 5:10 PM, Tao Liu [EMAIL PROTECTED] wrote: Hi all, I am studying the 4bitle link estimator in the TinyOS 2. In the tos/lib/net/4bitle/LinkEstimatorP.nc (line 647), the 4bit estimator signals the CompareBit.shouldInsert() event when it received a beacon message from a

Re: [Tinyos-help] collection, multiple roots, multiple id's - help

2008-08-03 Thread Omprakash Gnawali
On Sat, Aug 2, 2008 at 3:13 AM, De-MonHell [EMAIL PROTECTED] wrote: sorry for the previous email (it was in italian but was only a draft that i wanted to save as reminder but i've sent it indeed.) yesterday i've started dig into the collection module and i've seen exactly what you told me

Re: [Tinyos-help] eetx value doesn't increase for neighbors

2008-08-01 Thread Omprakash Gnawali
On Fri, Aug 1, 2008 at 3:05 AM, Philippe BAYLE [EMAIL PROTECTED] wrote: Thanks for your answer, I thought that etx value should increase once the link becomes bad...? What I understand now is that the link eetx is only increased for the parent motes, not for the neighborsunless you send

Re: [Tinyos-help] collection, multiple roots, multiple id's - help

2008-08-01 Thread Omprakash Gnawali
On Fri, Aug 1, 2008 at 1:06 AM, De-MonHell [EMAIL PROTECTED] wrote: yeah, i made a typo in my question (more than one, i see), but you've right understood however. now i have another question: doing as you suggest to me, it's better to work on a modified version of the already existing

Re: [Tinyos-help] Implementation of CTP - SentCache

2008-07-31 Thread Omprakash Gnawali
On Thu, Jul 31, 2008 at 7:01 AM, Oliver Frietsch [EMAIL PROTECTED] wrote: Hello list, I'm currently working on a special-purpose derivate of CTP and therefore read all the source code to get an overview. One point that is totally unclear to me is in CtpForwardingEngineP (most recent CVS

Re: [Tinyos-help] eetx value doesn't increase for neighbors

2008-07-31 Thread Omprakash Gnawali
On Thu, Jul 31, 2008 at 8:50 AM, Philippe BAYLE [EMAIL PROTECTED] wrote: Hi all, I am working on tinyos 2.x (not the latest CVS release). I am currently doing modifications on CtpRoutingEngineP.nc file in order to choose a parent considering severals parameters such as congestion and energy

Re: [Tinyos-help] collection, multiple roots, multiple id's - help

2008-07-31 Thread Omprakash Gnawali
On Thu, Jul 31, 2008 at 4:05 AM, De-MonHell [EMAIL PROTECTED] wrote: hi all. THE EXAMPLE: i have 4 motes: 0,1,3,4 (these are their TOS_NODE_ID) Inside them i have basically the same application that use a single collection with AREA_ID as colllection id BUT: node 0 and 1 have a enum inside

Re: [Tinyos-help] Multihop in TinyOS 2.x

2008-07-28 Thread Omprakash Gnawali
On Mon, Jul 28, 2008 at 1:33 AM, afuba edwin [EMAIL PROTECTED] wrote: Hi all, I was wondering if there is a multihop communication component in TinyOS 2.x like the GenericCommPromiscuous in TinyOS 1.x. Can anyone please help ? Please take a look at CTP, which replaces Multihop communication

Re: [Tinyos-help] help please : turn off mote packet loss rate ?

2008-07-26 Thread Omprakash Gnawali
On Fri, Jul 25, 2008 at 3:22 PM, fatima zohra [EMAIL PROTECTED] wrote: 2008/7/25 Omprakash Gnawali [EMAIL PROTECTED]: On Fri, Jul 25, 2008 at 7:37 AM, fatima zohra [EMAIL PROTECTED] wrote: 2008/7/25 Omprakash Gnawali [EMAIL PROTECTED]: On Wed, Jul 23, 2008 at 11:45 AM, fatima zohra

Re: [Tinyos-help] Collection ack retransmission

2008-07-25 Thread Omprakash Gnawali
On Thu, Jul 24, 2008 at 11:32 PM, Nahr ... [EMAIL PROTECTED] wrote: 2008/5/13 Nahr ... [EMAIL PROTECTED]: Thank you very much. yes yes colection concerns routing not link layer. Cheers, Nahr Elk 2008/5/13, Omprakash Gnawali [EMAIL PROTECTED]: On Mon, May 12, 2008 at 12:27 PM, Nahr

Re: [Tinyos-help] help please : turn off mote packet loss rate ?

2008-07-25 Thread Omprakash Gnawali
On Wed, Jul 23, 2008 at 11:45 AM, fatima zohra [EMAIL PROTECTED] wrote: 2008/7/23 Omprakash Gnawali [EMAIL PROTECTED]: If you put sequence numbers in the packet, you can find out which packets were not received. For example, you sent sequence numbers 1 through 10 but and received

Re: [Tinyos-help] help please : turn off mote packet loss rate ?

2008-07-25 Thread Omprakash Gnawali
On Fri, Jul 25, 2008 at 7:37 AM, fatima zohra [EMAIL PROTECTED] wrote: 2008/7/25 Omprakash Gnawali [EMAIL PROTECTED]: On Wed, Jul 23, 2008 at 11:45 AM, fatima zohra [EMAIL PROTECTED] wrote: 2008/7/23 Omprakash Gnawali [EMAIL PROTECTED]: If you put sequence numbers in the packet

Re: [Tinyos-help] help please : turn off mote packet loss rate ?

2008-07-23 Thread Omprakash Gnawali
On Wed, Jul 23, 2008 at 12:13 AM, fatima zohra [EMAIL PROTECTED] wrote: Thanks Omprakash for your reply, may be i miss something... so this is the whole situation. i am using a protocol which sends periodic messages ( so i can calculate the number of the packets sent bu each node), however,

Re: [Tinyos-help] help please : turn off mote packet loss rate ?

2008-07-22 Thread Omprakash Gnawali
On Mon, Jul 21, 2008 at 1:05 PM, fatima zohra [EMAIL PROTECTED] wrote: ... 2) i want to know also, if there is any way to calculate packet loss rate ? You can send a sequence of packets and calculate the number of packets that were not received. - om_p

Re: [Tinyos-help] Discovering Neighbors

2008-07-16 Thread Omprakash Gnawali
On Wed, Jul 16, 2008 at 5:40 AM, Nahr ... [EMAIL PROTECTED] wrote: Hi all. I remarked in CTP protocol that a node discovers its neighbors from received messages. But there is a case in which my neighbor could see me so I can receive his messages but him not so he can't receive msg from me

Re: [Tinyos-help] Network Protocols

2008-07-14 Thread Omprakash Gnawali
On Sun, Jul 13, 2008 at 7:45 PM, Varun Jain [EMAIL PROTECTED] wrote: Hi TinyOS users, I want to deliver control data to a particular addressed node in the network from the BaseStation. I have already tested Collection which sends the data upto a tree root whereas Dissemination sends small

Re: [Tinyos-help] about CTP

2008-07-11 Thread Omprakash Gnawali
2008/7/10 jiwen zhang [EMAIL PROTECTED]: Hello om_p : yes , you are right , when the user send the data , he does not put the data at the beginning of the payload of the message_t , but an offset whose length is the size of the ctp_header . i understand . another question : maybe

Re: [Tinyos-help] about CTP

2008-07-10 Thread Omprakash Gnawali
On Wed, Jul 9, 2008 at 8:15 PM, jiwen zhang [EMAIL PROTECTED] wrote: Hello Omprakash : I have a question about the code in the file CtpForwardingEngineP.nc In the implementation of Send.send , you use hdr = getHeader(msg) to make hdr point to the payload field of the msg in order to

Re: [Tinyos-help] sending and receiving

2008-07-09 Thread Omprakash Gnawali
On Wed, Jul 9, 2008 at 4:11 AM, funofnet Funofnet [EMAIL PROTECTED] wrote: Hi Mr Omprakash, I found that : If I place two motes one as a sender the second as a receiver, the sender will send packet only if it has received an ack of the last packet sent (isn't it ?) so how could I eliminate

Re: [Tinyos-help] Re : sending and receiving

2008-07-09 Thread Omprakash Gnawali
On Wed, Jul 9, 2008 at 4:52 AM, funofnet Funofnet [EMAIL PROTECTED] wrote: First thank you very much. Yes I am using CTP components but I guess from your last mail that I could do not use it if I have just two nodes. (CTP is a routing protocol so logically we use routing only when we have 3

Re: [Tinyos-help] Multiple receive when using CollectionC

2008-07-08 Thread Omprakash Gnawali
On Tue, Jul 8, 2008 at 6:31 AM, Philipp Küderli [EMAIL PROTECTED] wrote: Hi, I use CollectionSenderC and CollectionC of the ctp package to send my data to the sink node. I just use a timer to send a message each second and the node with id zero receives it. I only use two sensors.

Re: [Tinyos-help] Multihop in TOS 2.0

2008-07-08 Thread Omprakash Gnawali
On Tue, Jul 8, 2008 at 12:36 PM, Mr Meddage Saliya Ranal Fernando [EMAIL PROTECTED] wrote: Dear all, Is there a multihop application in TOS 2.0 for telosb motes? Because I tried Antitheft it is only for Mica motes. You can also look at MultihopOscilloscope and tests/TestNetwork for examples

Re: [Tinyos-help] about Broadcast component in tinyos2.x

2008-07-02 Thread Omprakash Gnawali
On Wed, Jul 2, 2008 at 12:51 AM, jiwen zhang [EMAIL PROTECTED] wrote: Hello David : I see there is Broadcast component in tinyos1.x in tos\lib\Broadcast, is there the similar component in tinyos2.x ? i want to use it , but i don't find . why is it taken out ? You should look into

Re: [Tinyos-help] Begginer in tinyos an tenet.

2008-07-02 Thread Omprakash Gnawali
On Mon, Jun 30, 2008 at 5:34 AM, Érico Lemos [EMAIL PROTECTED] wrote: Hi, Can I test tenet without a mote ?? Yes. There is a support for emstar emulation now. You should read this document to learn how:

Re: [Tinyos-help] Forwarding CTP Messages to the Serial Port

2008-06-27 Thread Omprakash Gnawali
On Fri, Jun 27, 2008 at 2:35 AM, Philipp Küderli [EMAIL PROTECTED] wrote: Hi, I use the CTP CollectionC to forward my data to the sink. Then I want to send the data to the PC using the serial port. When I use AMSend for normal sending or the CollectionC in the lqi package, I just can forward

Re: [Tinyos-help] MultiHopOscilloscope Packet Loss

2008-06-25 Thread Omprakash Gnawali
On Wed, Jun 25, 2008 at 7:09 AM, Gaurav Chandwani [EMAIL PROTECTED] wrote: Hi All, ... I saw a strange behaviour using SerialForwarder - When the application is running for some hours, sometimes, i dont receive messages from a particular node for some minutes and then it comes back again.

Re: [Tinyos-help] MultiHopOscilloscope Packet Loss

2008-06-25 Thread Omprakash Gnawali
On Wed, Jun 25, 2008 at 8:27 AM, Gaurav Chandwani [EMAIL PROTECTED] wrote: Hi Omprakash, Thanks for the quick reply. Viable path - I see the node lost behaviour even with nodes that are directly connected(no hop, very close) to the root node. Do you mean something else by viable path ?

Re: [Tinyos-help] Dissemination and Collection protocols...

2008-06-24 Thread Omprakash Gnawali
On Tue, Jun 24, 2008 at 5:22 AM, Varun Jain [EMAIL PROTECTED] wrote: Hi, I am trying to implement the multi hop protocols for which I was implementing the 'AntiTheft' application. I am able to achieve Dissemination as I can change the 'interval' via the AntiTheft Gui. But while doing the

Re: [Tinyos-help] questions about CTP

2008-06-21 Thread Omprakash Gnawali
On Sat, Jun 21, 2008 at 1:52 AM, jiwen zhang [EMAIL PROTECTED] wrote: Hello Omprakash : Yes , i don't instantiate a CollectionSenderC , because my applications is similar to AntiTheft , and i don't need the component CollectionSenderC in the Root application . Does these warnings

Re: [Tinyos-help] questions about CTP

2008-06-21 Thread Omprakash Gnawali
On Sat, Jun 21, 2008 at 2:13 AM, jiwen zhang [EMAIL PROTECTED] wrote: Hello Omprakash : i think the last four commands (numNeighbors() , getNeighborLinkQuality(uint8_t neighbor),getNeighborRouteQuality(uint8_t neighbor) and getNeighborAddr(uint8_t neighbor)) are provided for the users of

Re: [Tinyos-help] how-to use MultiHopRouter

2008-06-21 Thread Omprakash Gnawali
On Sat, Jun 21, 2008 at 8:57 AM, Juri Lelli [EMAIL PROTECTED] wrote: Hi, I want to use the MultiHopRouter library component. I've read the tutorial and I've watched to Surge application, but I can't understand how can I use the multi hop feature in my application. Where can I find more help?

Re: [Tinyos-help] questions about CTP

2008-06-20 Thread Omprakash Gnawali
On Thu, Jun 19, 2008 at 12:07 AM, jiwen zhang [EMAIL PROTECTED] wrote: ... today , i write an application using CTP , when i compile it , it can be compiled successfully , but gives some warnings like : /home/Administrator/local2/src/tinyos-2.x/tos/lib/net/ctp/CtpForwardingEngineP.n c: In

Re: [Tinyos-help] questions about CTP

2008-06-20 Thread Omprakash Gnawali
On Thu, Jun 19, 2008 at 12:07 AM, jiwen zhang [EMAIL PROTECTED] wrote: ... so i think the implementation of CtpInfo.getNeighborRouteQuality should change into : command uint16_t CtpInfo.getNeighborRouteQuality(uint8_t n) { return (n routingTableActive)? evaluateEtx(call

Re: [Tinyos-help] questions about CTP

2008-06-18 Thread Omprakash Gnawali
On Tue, Jun 17, 2008 at 5:42 AM, jiwen zhang [EMAIL PROTECTED] wrote: Hello Omprakash : maybe i don't express my problems distinctly . 1 . the field etx in the struct route_info_t . Is it the current node's ETX through it's parent ? or is it the parent's ETX ? That neighbor's ETX or

Re: [Tinyos-help] Protocols for tinyos2.x

2008-06-16 Thread Omprakash Gnawali
On Mon, Jun 16, 2008 at 7:41 AM, [EMAIL PROTECTED] wrote: I would like to know if any of you know of any protocols for tinyos 2.x which I could download to test and study here. Most of the ones that I found are for tinyos 1.x, I've found something named like dymo for tinyos 2.x, but when I

Re: [Tinyos-help] questions about CTP

2008-06-16 Thread Omprakash Gnawali
On Sun, Jun 15, 2008 at 8:54 PM, jiwen zhang [EMAIL PROTECTED] wrote: Hello Omprakash : I have some questions about the interface CtpInfo . Firstly , i am puzzled to the meaning of some fields in routetable. in the structure routing_table_entry (TreeRouting.h), there are some

Re: [Tinyos-help] Ctp Problem with micaz

2008-06-10 Thread Omprakash Gnawali
On Tue, Jun 10, 2008 at 12:08 AM, Yiannis Yiakoumis [EMAIL PROTECTED] wrote: OK, I will and let you know when I have any news. By the way, is address filtering platform specific, or something that could work on telosb and not in micaz? It should work on both the platforms but I suspect that

Re: [Tinyos-help] Ctp Problem with micaz

2008-06-09 Thread Omprakash Gnawali
On Mon, Jun 9, 2008 at 10:33 PM, Yiannis Yiakoumis [EMAIL PROTECTED] wrote: Hi all, I run into problems using ctp in micaz. I use TestNetwork application installed in micaz. Root node seems to work ok, sending beacons with itself as parent and etx=0. But the receivers even though they get

Re: [Tinyos-help] CollectionSenderC.send(...) does not signal sendDone(error_t)

2008-06-06 Thread Omprakash Gnawali
On Fri, Jun 6, 2008 at 3:35 AM, Nicola Wegner [EMAIL PROTECTED] wrote: 2008/6/6 Paul Stickney [EMAIL PROTECTED]: [...] I don't have in-depth enough knowledge about the Collection implementations, but I suspect that (in priority of where I'd start looking) 1) No route is being found and it's

Re: [Tinyos-help] CTP clarification

2008-06-05 Thread Omprakash Gnawali
On Wed, Jun 4, 2008 at 11:36 PM, Varun Jain [EMAIL PROTECTED] wrote: Hello TinyOS users, I have read all the papers and comparisons cited in the earlier posts for CTP. CTP is meant to be Collecting data from various motes lying in the field and send the data to a central BaseStation. As

Re: [Tinyos-help] why we need a MessagePool in forward() function in CTPForwardingEngine ?

2008-06-05 Thread Omprakash Gnawali
On Thu, Jun 5, 2008 at 3:04 PM, 贾鹏 [EMAIL PROTECTED] wrote: Hi there, I' m scrutinizing the CTPForwardingEngine now, I'm little confused by the function forward(); I realize the QEntryPool is necessary, for it will put a new recieved packet into the queue. But I cannot understand the

Re: [Tinyos-help] something wrong happened in CC1000 driver in tinyos-2.x tree of cvs version

2008-06-03 Thread Omprakash Gnawali
I looked into this a little bit and it seems like this bug was introduced when we put code that sets the white bit in the metadata. The problem is in packetReceiveDone(), we are checking if the radio is in RECEIVED_STATE before setting it to RECEIVED_STATE. The radio would be in RX_STATE and

Re: [Tinyos-help] How to use LinkEstimatorDummyP

2008-05-29 Thread Omprakash Gnawali
2008/5/28 funofnet Funofnet [EMAIL PROTECTED]: Hi, I want to use this module so which components should I add or modify in CTP folder? Ideally you would change ListEstimatorP to LinkEstimatorDummyP in CtpP.nc. But LinkEstimatorDummyP.nc might not support the latest LinkEstimator interface. I

Re: [Tinyos-help] Multihop network basics

2008-05-29 Thread Omprakash Gnawali
On Thu, May 29, 2008 at 12:06 AM, Dima Kogan [EMAIL PROTECTED] wrote: Hi. I would like to set up a multihop, power efficient network with TinyOS. I have basic CTP working, but I would like to get answers to a few simple and general questions before I get in too deep. 1. It seems like CTP is

Re: [Tinyos-help] Multihop network basics

2008-05-29 Thread Omprakash Gnawali
On Thu, May 29, 2008 at 1:46 PM, Dima Kogan [EMAIL PROTECTED] wrote: Thanks for your reply, Omprakash. I've just looked at the MAC protocol you mentioned, SCP-MAC, and also S-MAC and B-MAC. I'm a bit unclear on what these are. Are these point-to-point or multi-hop protocols? The papers imply

Re: [Tinyos-help] Re : threshold link estimator

2008-05-28 Thread Omprakash Gnawali
2008/5/28 funofnet Funofnet [EMAIL PROTECTED]: Hi, Thank you very much Mr Omprakash and excuse me for insistance, but concerning MintRoute why is the threshold equals to 384 Remember, the way MintRoute and 4bitle compute the estimates are not exactly the same which is why the threshold is

Re: [Tinyos-help] Re

2008-05-28 Thread Omprakash Gnawali
On Wed, May 28, 2008 at 12:56 PM, funofnet Funofnet [EMAIL PROTECTED] wrote: Hi, I am greatly thankful for your replies, but what I need to know how could I specify an accurate threshold for any estimator (espacially wmewma and prr). Is there a formula to apply ?. You can do experiments to

Re: [Tinyos-help] Routing

2008-05-22 Thread Omprakash Gnawali
On Thu, May 22, 2008 at 9:03 AM, Maria Taramigkou [EMAIL PROTECTED] wrote: Hello!! Is there an implemented algorithm for routing in tinyos-1.x?I want to implement routing for Oscilloscope.Which protocol is it preferable to use?There are MultihopLQI, Route,MintRoute... Thank you in advance!!

Re: [Tinyos-help] Tracking routes in CTP

2008-05-21 Thread Omprakash Gnawali
2008/5/21 Antonio Prados Vilchez [EMAIL PROTECTED]: Hi TinyOS users!! Is there any way to know the route that a packet has followed in a Collection Tree? I want to track the hops of the communication between the motes and the root of the tree. I'm using CTP and MICA2 motes. If all the motes

Re: [Tinyos-help] Problem with MultiHopOscilloscope

2008-05-20 Thread Omprakash Gnawali
On Tue, May 20, 2008 at 1:26 AM, Antonio Prados Vilchez [EMAIL PROTECTED] wrote: Hi TinyOS users!! I'm trying to understand how Collection Tree Protocol works. MultiHopOscilloscope would help me to do that, so I have downloaded it into three MICA2 motes. The problem is that it doesn't work. I

Re: [Tinyos-help] Q about CTP protocol

2008-05-20 Thread Omprakash Gnawali
On Mon, May 19, 2008 at 1:14 PM, gaurav mathur [EMAIL PROTECTED] wrote: Hi, CTP provides Intercept interface, I am not getting how to use event Intercept.forward. Please give me a sample code demonstrating Intercept.forward event. I do not have an example but maybe you can ask Dimas:

Re: [Tinyos-help] some thing what shouldn't be in footer-neighborList

2008-05-20 Thread Omprakash Gnawali
On Tue, May 20, 2008 at 12:26 AM, funofnet Funofnet [EMAIL PROTECTED] wrote: Hi, this is where I suspect the bug : LinkEstimatorP.nc ** j = 0; newPrevSentIdx = 0; NEIGHBOR_TABLE_SIZE = 10 // I added to have all the constants mentionned for (i = 0; i

Re: [Tinyos-help] LinkEstimatorDummyP

2008-05-19 Thread Omprakash Gnawali
I removed this file from the repository - it was used to test CTP without a live link estimator. - om_p On Mon, May 19, 2008 at 10:26 AM, funofnet Funofnet [EMAIL PROTECTED] wrote: Hi, I have a question about this module : what is its utility and its relation ship with LinkEstimatorP.nc,

Re: [Tinyos-help] Collection ack retransmission

2008-05-12 Thread Omprakash Gnawali
On Mon, May 12, 2008 at 12:27 PM, Nahr ... [EMAIL PROTECTED] wrote: Hi, I just want to know how much a node retransmit a not acked msg and how long? for exemple A sends msg to B B receive the msg and sends Ack :( ack is lost. 1. How long A wait the msg ack? Collection does not send an

Re: [Tinyos-help] How to send data from one node to multiple (and visaversa)

2008-05-09 Thread Omprakash Gnawali
On Fri, May 9, 2008 at 5:01 AM, Nick Verbaendert [EMAIL PROTECTED] wrote: Hi, I have a question about connecting 1 node to multiple nodes. * I have a network of 5 telosb nodes: * 3 anchor nodes (I know the x and y values) , lets call them A1, A2 and A3 * 1 blind node (x and y are

Re: [Tinyos-help] packets received packets sent ?????

2008-05-09 Thread Omprakash Gnawali
On Fri, May 9, 2008 at 7:27 AM, Nahr ... [EMAIL PROTECTED] wrote: Hi, I am steel facing bizarre things. How could a receiver receive more than the packet sent ?? // void sendMessage() { if (call Send.send(packet,

Re: [Tinyos-help] How to send data from one node to multiple (and visaversa)

2008-05-09 Thread Omprakash Gnawali
On Fri, May 9, 2008 at 7:49 AM, Nick Verbaendert [EMAIL PROTECTED] wrote: Yes, I already use the Collection protocol in my application, but this chooses the parent id automaticly. Somehow I need to set the parentId of my anchor nodes to the id of the blindnode. e.g. * anchornode1

Re: [Tinyos-help] Routing

2008-05-09 Thread Omprakash Gnawali
On Fri, May 9, 2008 at 8:20 AM, Maria Taramigkou [EMAIL PROTECTED] wrote: Hello!! I would like to ask how hard is to achieve routing using Oscilloscope.I mean, I need to use one mote as a gateway that receives data packets over the radio and transmits them over the serial

Re: [Tinyos-help] Routing

2008-05-09 Thread Omprakash Gnawali
On Fri, May 9, 2008 at 10:23 AM, Maria Taramigkou [EMAIL PROTECTED] wrote: I should have mentioned that I use tinyos-1.x under cygwin.The MultihopOscilloscope application does not exist in tinyos-1.x . You can look at Surge. - om_p ___ Tinyos-help

Re: [Tinyos-help] packets received packets sent ?????

2008-05-09 Thread Omprakash Gnawali
On Fri, May 9, 2008 at 12:40 PM, Nahr ... [EMAIL PROTECTED] wrote: Hi, thank you very much, so if I want to calculate the number of packet received by the root the best way is to calculate the number of packet acked? Is it correct??? It depends on what you are trying to measure. If you

Re: [Tinyos-help] No Route !!!!!!!!!! I will be crazy

2008-05-08 Thread Omprakash Gnawali
On Thu, May 8, 2008 at 9:05 AM, Nahr ... [EMAIL PROTECTED] wrote: Hi, I am using the native EasyCollection app. When I debug the messages of forward engine Always it shows me no route: why??? I lost my day to solve that but in vain. Please help me There might be some problem with

Re: [Tinyos-help] About the performance evaluation of CTP

2008-05-07 Thread Omprakash Gnawali
take a look at this paper: Rodrigo Fonseca, Omprakash Gnawali, Kyle Jamieson, Philip Levis, Four Bit Wireless Link Estimation, In Proceedings of the Sixth Workshop on Hot Topics in Networks (HotNets VI), November 2007 - om_p ___ Tinyos-help mailing list

Re: [Tinyos-help] Protocols

2008-05-07 Thread Omprakash Gnawali
On Wed, May 7, 2008 at 6:08 AM, [EMAIL PROTECTED] wrote: Recently I have started studying some protocols for tinyOS, and I wanted to test some, by installing them in the motes. However, I found some protocols codes only for the TinyOS1.x version, are there any TinyOS2.x protocol codes

Re: [Tinyos-help] Routing

2008-05-07 Thread Omprakash Gnawali
On Wed, May 7, 2008 at 12:07 PM, Maria Taramigkou [EMAIL PROTECTED] wrote: Hello!! I would like to ask how hard is to achieve routing using Oscilloscope.I mean, I need to use one mote as a gateway that receives data packets over the radio and transmits them over the serial port. Any kind of

Re: [Tinyos-help] who sends ack

2008-05-06 Thread Omprakash Gnawali
On Tue, May 6, 2008 at 11:20 AM, Nahr ... [EMAIL PROTECTED] wrote: Hi, I whould like to know please, who sends ack? The root of the tree or the parent of the node I mean the forwarding node? If you are talking about link layer acks, when a receiver receives a packet, it sends an ack to the

Re: [Tinyos-help] Problem about duplicate receiving

2008-05-05 Thread Omprakash Gnawali
2008/5/5 laizhiquan [EMAIL PROTECTED]: hello, all, I'm simulating apps/tests/TestNetwork with Tossim under TinyOS 2.0.2. It's found that there are always duplicate receiving on the root node . Is it because of the mechanism of acknowledgment in the CTP? As I find that nodes

Re: [Tinyos-help] Collection: Loosing Connection to a Node

2008-05-02 Thread Omprakash Gnawali
2008/4/28 Bulut ERSAVAS [EMAIL PROTECTED]: Also, when CTP is used, ETX values are quite large. Even for a single hop, it is about 265. You will notice ETX values as large as 700 with 3-hop routes. However, with no LPL it was usually less than 300 even for 6-hop routes. Can this be due to

Re: [Tinyos-help] LEEP and CTP Routing Frame

2008-05-02 Thread Omprakash Gnawali
On Fri, May 2, 2008 at 9:03 AM, Nahr ... [EMAIL PROTECTED] wrote: Hi, I miss understand the difference between LEEP packet and CTP Routing frame. Also When each of them is sent? CTP Routing frame is sent as a payload of LEEP frame. So they are sent together in a single packet. - om_p

Re: [Tinyos-help] [Tinyos-devel] AM ID guidelines for net2 protocols and other applications

2008-04-30 Thread Omprakash Gnawali
On Tue, Apr 29, 2008 at 7:59 PM, Philip Levis [EMAIL PROTECTED] wrote: On Apr 29, 2008, at 7:41 PM, Matt Welsh wrote: This seems like an unnecessarily large swath of the AM address space for one small working group. It would be better to justify this in terms of your actual needs, rather

Re: [Tinyos-help] Q about tinyos-2.x

2008-04-30 Thread Omprakash Gnawali
On Wed, Apr 30, 2008 at 1:47 AM, gaurav mathur [EMAIL PROTECTED] wrote: Hi, I am programming Tmote Sky using tinyos-2.x. I am using CTP interface. How can I find out sensor node ID of neighboring nodes. You will need to wire to the link estimator, the component that maintains a neighbor

Re: [Tinyos-help] [Tinyos-devel] AM ID guidelines for net2 protocols and other applications

2008-04-30 Thread Omprakash Gnawali
On Wed, Apr 30, 2008 at 10:51 AM, Vlado Handziski [EMAIL PROTECTED] wrote: On Wed, Apr 30, 2008 at 6:52 PM, Matt Welsh [EMAIL PROTECTED] wrote: I think we're on the same page here but there are some details to work out. Anything in tos could be assigned an AM ID range by the net2 WG. The

Re: [Tinyos-help] Q about CTP and AMSenderC

2008-04-29 Thread Omprakash Gnawali
On Tue, Apr 29, 2008 at 3:38 AM, gaurav mathur [EMAIL PROTECTED] wrote: ... I have programmed a node such that it broad casts its node_id in every 2 seconds. This node uses interface AMSenderC to send the packets. I programmed other nodes to make a collection tree. These nodes uses Snoop

Re: [Tinyos-help] Q About MultiHopOscilloscope in tinyos-2.x

2008-04-25 Thread Omprakash Gnawali
On Fri, Apr 25, 2008 at 9:30 AM, gaurav mathur [EMAIL PROTECTED] wrote: 1. I have installed MultiHopeOscilloscope with node id = 0, it means this node will act as root. 2. I attached root node with PC and run Listen application on PC. 3. Without anyother node with MultiHopeOscilloscope

Re: [Tinyos-help] results+EasyCollection+Tossim+network configuration

2008-04-25 Thread Omprakash Gnawali
On Fri, Apr 25, 2008 at 9:23 AM, Nahr ... [EMAIL PROTECTED] wrote: if I defined only one root in EasyCollection application and I used CTP or MultihopLQI as routing protocol. Is it safe to do that? especially it is known that CTP make a set of trees. It is fine have a single root. Also my

Re: [Tinyos-help] Q About MultiHopOscilloscope in tinyos-2.x

2008-04-25 Thread Omprakash Gnawali
On Fri, Apr 25, 2008 at 10:28 AM, gaurav mathur [EMAIL PROTECTED] wrote: Hi, Thanks for reply but it cannot be routing beacons becase LED (which indicates event message_t* Receive.receive(message_t* msg, void *payload, uint8_t len)) is not blinking. If you are so convinced that those are not

[Tinyos-help] AM ID guidelines for net2 protocols and other applications

2008-04-25 Thread Omprakash Gnawali
The TinyOS Networking Protocol Working Group (net2) would like to reserve AM ids whose first bit is 1 (128-255) to be used by Collection/Dissemination/TYMO and other net2 protocols. We recommend that the application developers use AM ids 0..127. If anyone has any problem with this proposal,

<    1   2   3   4   5   6   7   >