Hi Martin, > 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.
Try compiling your application with the TASKLET_IS_TASK defined (especially the ones that base that does radio and UART communication), and let is know if that fixes the problem. Miklos _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
