Commit Graph

9 Commits

Author SHA1 Message Date
Will Greenberg
c3d6227243 index.html: periodically update system stats 2024-01-05 10:55:16 -08:00
Will Greenberg
fe0e84ba18 wavehunter: adds static server, system stats
This commit does a couple things:

1. breaks out the pcap streaming logic into its own module
2. bundles wavehunter/static files into the binary for easy distribution
3. serves those static files
4. serves dynamic json representing system and diag stats

I also threw together the world's ugliest website to display all this.
2024-01-04 19:41:19 -08:00
Will Greenberg
7037928a6e wavehunter: add route to serve qmdl file
This is easier than pulling files via adb
2024-01-03 11:29:58 -08:00
Will Greenberg
84f2fc1751 wavehunter: add some debug logging for blocking calls
This may come in handy if the read/write loop ever gets stuck.
2024-01-03 11:29:58 -08:00
Will Greenberg
13e0ed2679 Appease clippy 2024-01-03 11:29:58 -08:00
Will Greenberg
65b41bd541 wavehunter: add debug mode
This just runs the server off of a QMDL file, so we can run/test
the server locally w/o the Qualcomm hardware
2024-01-03 11:29:58 -08:00
Will Greenberg
aa0f044b8a wavehunter: split out code into different modules 2024-01-03 11:29:58 -08:00
Will Greenberg
f4caac147b Renaming wavehunter -> orca 2024-01-03 11:29:58 -08:00
Will Greenberg
e20fe92213 Refactor lib/binary into separate crates 2024-01-03 11:29:58 -08:00