swharden / WsprSharp

.NET Standard library for encoding/decoding messages using the WSPR protocol

Home Page:https://swharden.com/software/wspr-code-generator/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WsprSharp

CI

WsprSharp is a .NET Standard library for encoding and decoding messages using the WSPR protocol. This repository contains extra tools and documentation related to WSPR.

This image shows a WSPR transmission captured in a 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 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.

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.

Generate WSPR Messages with Code

Quickstart.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 192

Frequencies:
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 for .NET Framework written by Jeff J Weinmann (W8ZLW). In 2021 Scott W Harden (AJ4VD) uploaded it to GitHub (with permission) under an MIT license, added tests, and translated it to a C# library targeting .NET Standard.

About

.NET Standard library for encoding/decoding messages using the WSPR protocol

https://swharden.com/software/wspr-code-generator/

License:MIT License


Languages

Language:HTML 36.2%Language:C# 36.1%Language:Visual Basic .NET 19.2%Language:CSS 8.5%