Replies: 2 comments 1 reply
-
|
Certainly possible, but not sure what the WSPR community would think about this type of "misuse" of the power field :) |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@micked99 It would be better to have just a simple linear conversion instead of tens of if-statements, something like: WSPR should have 7 bits for power (max value is 127), so the above would give max value of 120 at altitude of 15000. The max altitude could be made configurable. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, could it be possible to implements a rough altitude into the wspr db field like something like this, so if its out of line of sight reception it would still be able to have a general idea of float/flight altitude, altitude just an idea, altitudes could easily be altered depending of type of flight, super pressure or latex.
if (alt_meters >= 14600) dbm = 60;
else if (alt_meters >= 14200) dbm = 57;
else if (alt_meters >= 13800) dbm = 53;
else if (alt_meters >= 13400) dbm = 50;
else if (alt_meters >= 13000) dbm = 47;
else if (alt_meters >= 12600) dbm = 43;
else if (alt_meters >= 12200) dbm = 40;
else if (alt_meters >= 11800) dbm = 37;
else if (alt_meters >= 11400) dbm = 33;
else if (alt_meters >= 11000) dbm = 30;
else if (alt_meters >= 10600) dbm = 27;
else if (alt_meters >= 10200) dbm = 23;
else if (alt_meters >= 9800) dbm = 20;
else if (alt_meters >= 9000) dbm = 17;
else if (alt_meters >= 8000) dbm = 13;
else if (alt_meters >= 6000) dbm = 10;
else if (alt_meters >= 4000) dbm = 7;
else if (alt_meters >= 2000) dbm = 3;
else dbm = 0;
/Mikael
Beta Was this translation helpful? Give feedback.
All reactions