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

2008-06-27 Thread Philipp Küderli
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 the messages to the serial port to my Java application, which uses for my d

[Tinyos-help] Multiple receive when using CollectionC

2008-07-08 Thread Philipp Küderli
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. Unfortunately, I always receive the packages many times, as you can see below. The sen

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

2008-07-08 Thread Philipp Küderli
I know know that there is a relation to MAX_RETRIES in CtpForwardingEngine.h There is written: /* * The number of times the ForwardingEngine will try to * transmit a packet before giving up if the link layer * supports acknowledgments. If the link layer does * not support acknowledgments it s

[Tinyos-help] CC2420ActiveMessageC and CC2420CsmaC dependency loop?

2008-09-05 Thread Philipp Küderli
Hi, I am confused about the wiring of these two components. CC2420ActiveMessageC uses CC2420CsmaC and CC2420CsmaC uses CC2420ActiveMessageC I wonder how this fits into the network layer architecture? I mean the second case for me means that a lower network protocol makes use of an upper one.

[Tinyos-help] DSN sequence number in cc2420_header_t

2008-09-05 Thread Philipp Küderli
Hello, we have the radio stack where we have the UniqueSend component. This uses the DSN field. Now what if I renounce on the uniqueness? The field DNS is most likely still sent inside the header. So why this layer structure of the radio stack if the message formats are not layered? Actually I

[Tinyos-help] Count Packet Collisions

2008-09-08 Thread Philipp Küderli
Hello, I have synchronized timers on the sensors. When they send, all the sensors would send at a time. This would produce collisions between the packages. I would like to measure how many collisions there are. I thought, I could do this in TransmitP, if I introduce a counter somewhere. But I

[Tinyos-help] BaseStationP and Atomic Sections

2008-09-30 Thread Philipp Küderli
Hi, why does the example implementation in tinyos-2.x/apps/BaseStation use atomic sections? I mean there is no async code... Thanks ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/lis