Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swharden/wsprsharp
.NET Standard library for encoding/decoding messages using the WSPR protocol
https://github.com/swharden/wsprsharp
amateur-radio qrp wspr
Last synced: about 1 month ago
JSON representation
.NET Standard library for encoding/decoding messages using the WSPR protocol
- Host: GitHub
- URL: https://github.com/swharden/wsprsharp
- Owner: swharden
- License: mit
- Created: 2021-03-21T19:21:56.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-10-17T11:44:31.000Z (about 1 year ago)
- Last Synced: 2024-05-29T17:17:04.371Z (7 months ago)
- Topics: amateur-radio, qrp, wspr
- Language: HTML
- Homepage: https://swharden.com/software/wspr-code-generator/
- Size: 518 KB
- Stars: 8
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WsprSharp
[![CI](https://github.com/swharden/WsprSharp/actions/workflows/ci.yaml/badge.svg)](https://github.com/swharden/WsprSharp/actions/workflows/ci.yaml)
**WsprSharp is a .NET Standard library for encoding and decoding messages using the [WSPR](https://en.wikipedia.org/wiki/WSPR_(amateur_radio_software)) protocol.** This repository contains extra tools and documentation related to WSPR.
This image shows a WSPR transmission captured in a [FSKview](https://swharden.com/software/FSKview) spectrogram. By typing the decoded information into the WSPR Inspector we can see what the full WSPR transmission looks like and inspect the contents of the message and transmitted packet.
## WSPR Code Generator (online)
[**WSPR Code Generator**](https://swharden.com/software/wspr-code-generator/) is a web application for generating WSPR transmission levels from user-provided callsign, location, and power information. This tool may be helpful for people interested in pre-programming a microcontroller with the frequency information needed to repeatedly transmit their station information using WSPR.
* **Try it in your browser!** https://swharden.com/software/wspr-code-generator/
## WSPR Inspector
**WSPR Inspector** is a small Windows application designed to visualize how changes to the WSPR inputs affect the message and frequency of the transmission.
* **Download:** WsprInspector.zip from the [Releases page](https://github.com/swharden/WsprSharp/releases)
## Generate WSPR Messages with Code
### Quickstart.cs
```cs
using WsprSharp;
WsprTransmission wspr = new("AJ4VD", "EL89", 3);Console.WriteLine("Message:");
Console.WriteLine(string.Join(" ", wspr.Message));Console.WriteLine("Frequencies:");
Console.WriteLine(string.Join(" ", wspr.Levels));
```### Output
```
Message:
71 59 134 235 146 112 192Frequencies:
1 3 2 0 2 2 2 2 3 0 2 0 3 1 3 2 0 0 1 2 2 3 0 1 1 3 3 0 0 0 2 0 2
0 1 0 0 3 0 3 0 2 0 0 0 2 1 2 1 3 2 2 3 3 2 1 2 0 2 3 1 0 1 2 2 0
2 1 1 0 1 0 1 0 1 0 1 2 2 1 0 2 1 2 1 3 0 0 0 3 1 2 3 0 1 0 2 2 1
0 2 0 2 2 1 2 0 3 2 2 3 1 1 2 3 3 2 0 1 3 2 1 0 2 2 3 1 3 0 0 2 0
2 1 0 3 2 0 1 3 0 2 2 0 2 0 2 3 1 2 3 0 1 3 0 2 2 3 3 0 0 0
```## Authors
WsprSharp began as a [Visual Basic project](dev/WsprNetVB) for .NET Framework written by [Jeff J Weinmann](mailto:[email protected]) (W8ZLW). In 2021 [Scott W Harden](https://swharden.com/) (AJ4VD) uploaded it to GitHub (with permission) under an MIT license, added tests, and translated it to a C# library targeting .NET Standard.