A system and method for implementing a wireless sensor network. The system
comprises a plurality of motes, each mote having a sensor and a wireless
communication system for communicating with neighboring motes; a
distributed routing table distributed amongst each of the plurality of
motes; and an update system for periodically updating the distributed
routing table.