Skip to content
Snippets Groups Projects
Commit e5ada87b authored by Dónal Murray's avatar Dónal Murray
Browse files

Add example for dumping data to file

parent d6507540
Branches
No related merge requests found
......@@ -184,4 +184,17 @@ then in another terminal, run a hevserver with the argument `--use-dump-data`:
```
Note that the version of the dumpfile must match the protocol version used by
the hevserver.
\ No newline at end of file
the hevserver.
## Dumping to file using the hevserver
The HEVServer has an option to dump a certain number of packets to file,
which can later be read by the `ArduinoEmulator.py` script.
To make a dump run:
```bash
./hevserver.py --dump 10000 -o share/new.dump
```
Using the hevserver is preferred over using the CommsLLI as the former will
pass battery data to the microcontroller, while the latter will not.
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment