Hi all, to get acquainted with TinyOS I'm writing a simple echo application: it sends back any message it receives. I'm using two TelosB motes and Tiny OS 2.1 compiled from CVS. The hardware setup is:
echo client PC --- Proxy running Serial Forwarer connected to a BaseStation --- Echo server on TelosB I'm using a Pool<message_t> to buffer messages on the echo server. Everything works and I'm happy with it. As comparison I wrote a simple UDP Echo server using blip, and even if blip has to deal with 6lowpan it still does a great job and actually under relatively high traffic I have a much better round trip time using blip than using my application. I compiled my echo server using the switches: -DENABLE_SPI0_DMA -DCC2420_HW_ACKNOWLEDGEMENTS -DTOSH_DATA_LENGTH=102 I'm not posting my source code since is pretty trivial: it's just a echo server that uses a ring buffer to deal with incoming messages. It's the simplest technique I could think of, and I don't know how blip can have better performance (and I didn't find any obvious trick in the source code). How does blip achieve such high performance? Does it use any trick with buffers to have a performance boost? Any help, tip or hint will be greatly appreciated. Thanks. -- Giuseppe Cardone _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
