Developed by Choong-Soo Lee copyright Worcester Polytechnic Institute 2008 Contact: Mark Claypool (claypool@cs.wpi.edu) +----------------------------+ | Battery Recording Software | +----------------------------+ 1. Overview - Developed using Visual Studio 2005 - Written in Visual C++ - Records Battery Drain Rate and CPU Usage (%) every second 2. Compilation - Open the Visual Studio project file "batteryinfo2.sln" - Compile 3. Program Details - This software will always not do anything for the first 60 seconds. - It will start transmitting or receiving only after the first 60 seconds. - You can control the rate at which you want to send packets at. 4. Usage batteryinfo2.exe : I for Idle, T for Transmit, R for Receive : the length of the experiment in seconds : file to save the trace : size of the packets to transmit (optional. only for Transmit mode) : trasmit rate (packets/second) (optional. only for Transmit mode) For example, to record what the device uses without doing anything for 5 mins, use the command "batteryinfo2.exe I 300 idle.tr" For receiving packets, you need to have another device send packets to the device running this software. You can use mgen or other software to send packets.