From f647d78463c1250ce9c99af664615fafccf5e959 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Tue, 7 Apr 2026 19:02:45 +0200 Subject: New upstream version 3.0.0 --- Network/wsprnet.cpp | 686 ++++++++++++++++++++++++++-------------------------- 1 file changed, 343 insertions(+), 343 deletions(-) mode change 100755 => 100644 Network/wsprnet.cpp (limited to 'Network/wsprnet.cpp') diff --git a/Network/wsprnet.cpp b/Network/wsprnet.cpp old mode 100755 new mode 100644 index ec4ed9e4..903c8236 --- a/Network/wsprnet.cpp +++ b/Network/wsprnet.cpp @@ -1,343 +1,343 @@ -// Interface to WSPRnet website -// -// by Edson Pereira - PY2SDR - -#include "wsprnet.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "moc_wsprnet.cpp" - -namespace -{ - char const * const wsprNetUrl = "http://wsprnet.org/post/"; - //char const * const wsprNetUrl = "http://127.0.0.1:5000/post/"; - - // - // tested with this python REST mock of WSPRNet.org - // - /* -# Mock WSPRNet.org RESTful API -from flask import Flask, request, url_for -from flask_restful import Resource, Api - -app = Flask(__name__) - -@app.route ('/post/', methods=['GET', 'POST']) -def spot (): - if request.method == 'POST': - print (request.form) - return "1 spot(s) added" - -with app.test_request_context (): - print (url_for ('spot')) - */ - - // regexp to parse FST4W decodes - QRegularExpression fst4_re {R"( - (?