A TinyOS multi-mote sensing network based on flooding