Lightweight Temporal Collection in TinyOS