Spot UI frames to spothole.app #13

Merged
w1cdn merged 6 commits from spothole into dev 2025-10-22 02:17:12 +00:00
Showing only changes of commit 5cd273a476 - Show all commits

View File

@@ -37,7 +37,7 @@ The compiled executable will be located in the `target/release` directory.
Run the executable with the required arguments:
```bash
mwtchahrd -i <IP> -p <PORT> [-c <CHANNEL>] [-d] [-u]
mwtchahrd -i <IP> -p <PORT> [-c <CHANNEL>] [-d] [-u]
```
### CommandLine Arguments
@@ -56,6 +56,30 @@ mwtchahrd -i <IP> -p <PORT> [-c <CHANNEL>] [-d] [-u]
- `-u, --ui_only`
Only display frames with a UI payload. When this flag is set, frames that are not UI are skipped.
- `-b, --uip <UIP>`
Send UDP to what IP address (e.g. 127.0.0.1) [default: 127.0.0.1].
- `-k, --uport <UPORT>`
Send UDP to what port (e.g. 8000; 55555 disables UDP) [default: 55555].
- `-s, --spotter <SPOTTER>`
Spotter callsign (e.g. W1CDN).
- `-o, --spothole`
Spot UI frames to a Spothole server.
- `-O, --spothole-alt <SPOTHOLE_ALT>`
Provide a different URL than https://spothole.app/api/v1/spot.
- `-f, --freq <FREQ>`
Spotting frequency [default: 14105000].
- `-h, --help`
Print help.
- `-V, --version`
Print version.
## Examples
@@ -83,6 +107,12 @@ Monitor only UI frames:
mwtchahrd -i 127.0.0.1 -p 8000 -u
```
### Spotting to [Spothole.app](https://spothole.app) API
```bash
cargo run -- --ip 192.168.0.6 --port 8000 --spotter W1CDN --spothole --freq 14105000
```
## Code Overview
- **Validation Functions:**