On Tue, Mar 3, 2009 at 18:17, Omprakash Gnawali <[email protected]> wrote: > On Tue, Mar 3, 2009 at 4:51 AM, Martin van de Goor > <[email protected]> wrote: >> Hi all, >> >> In TEP 123 it is said that CTP is designed for relatively low traffic >> rates. Up to what traffic rates has it been tested? >> In the Four-Bit Wireless Link Estimation paper I can only find that >> "The workload each node offers is a constant-rate stream of packets >> sent to a sink." >> In my setup, five (regular) packets are sent each second by one node. >> These five packets are received by other nodes, aggregated into one >> packet at each node, and sent using CTP. >> The reason is that sometimes a node crashes and I'm trying to figure >> out whether it is my code or CTP not being suited for this purpose. > > We have not done that specific kind of aggregation on top of CTP. But > we would need to know a lot more about your application (e.g. code) to > know if it is the cause of crash. > > - om_p >
I have written the aggregation part. I have described my setup below, and attached the code of the Intercepter. Would you mind answering my original question: Up to what traffic rates has CTP been tested? I am using IRIS motes, the latest TinyOS 2.x cvs version, and Windows/Cygwin. The goal of the application is to obtain distance estimates (based on RSSI) between the Sender component and other nodes. This information should be forwarded to the Base node using the Collection Tree Protocol. There are three components: - Sender: sends five messages every second using AMSend - Intercepter: receives (at most) five Sender packets, requests RSSI for each packet, sends one CTP message (500 ms after receiving first packet) Also sends a "heartbeat" every 30 seconds to indicate it is still up and running. - Base: Forwards packets between the UART and radio. The base is the root of the Collection tree. Intercepter sometimes stop sending the heartbeat (after a random amount of time, for example 10 minutes). Rebooting fixes the problem temporarily. Martin
IntercepterAppC.nc
Description: Cdf file
IntercepterC.nc
Description: Cdf file
ApplicationDefinitions.h
Description: Binary data
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
