1. Plug in BattOr USB
2. Run ./battor_agent
3. Enter "StartTracing"
4. Wait 10 seconds
5. ***Unplug BattOr USB***
6. Plug in BattOr
7. Enter "StopTracing"
Currently this results in a Fatal Error.
Some users of the BattOr will want to monitor the power of a device while the device is mobile (e.g., a smartphone). In order to do this they will disconnect the BattOr from the USB while they are collecting the data.
Perhaps we should add some sort of check to see if the serial connection is still open before we run each of the command line commands, and if not we should open the serial connection again.
Comment 1 by charliea@google.com
, Mar 4 2016