Enabling Rich Applications And Reliable Data Collection In Embedded Wireless Networks With Low-Footprint Devices