Author: Brano Kusy, modified tinyos-2.x/apps/AntiTheft application CS321 warmup project, Basic AntiTheft application ================================================= Description: ------------ A simple application designed to teach tinyos basics. Theft is detected by light level (a dark mote is a mote that has been stolen and placed in a concealed dark place, e.g., a pocket!) and reported by turning on a red LED for some time. Class Assignment: ----------------- Implement theftAction(uint32_t val) function in AntiTheftM.nc. See comment in the body of this function for the required behavior. Requirements: ------------- - one iMote2 mote - one ITS400 sensorboard Usage: ------ 1. cd AntiTheft 2. edit Makefile and make sure that AntiTheftAppC will be compiled COMPONENT=AntiTheftAppC #COMPONENT=AntiTheftAdvancedAppC 3. compile AntiTheftAppC application make imote2 debug 4. connect the imote2 to USB port and press the reset button 5. install AnitTheftAppC application USBLoaderHost.exe -p ./build/imote2/main.bin.out