"CW generator" and "Whistle" merged in "Signal generator"

Added wave shape selection and tone frequency auto-update
Converted color icons to B&W
This commit is contained in:
furrtek 2017-07-18 19:31:05 +01:00
parent 93c5959df6
commit 58f113d153
38 changed files with 758 additions and 374 deletions

View file

@ -87,6 +87,8 @@ public:
WidebandSpectrumConfig = 42,
FSKConfigure = 43,
SSTVConfigure = 44,
SigGenConfig = 43,
SigGenTone = 44,
POCSAGPacket = 50,
@ -683,6 +685,36 @@ public:
const bool ctcss_enabled;
};
class SigGenConfigMessage : public Message {
public:
constexpr SigGenConfigMessage(
const uint32_t bw,
const uint32_t shape,
const uint32_t duration
) : Message { ID::SigGenConfig },
bw(bw),
shape(shape),
duration(duration)
{
}
const uint32_t bw;
const uint32_t shape;
const uint32_t duration;
};
class SigGenToneMessage : public Message {
public:
constexpr SigGenToneMessage(
const uint32_t tone_delta
) : Message { ID::SigGenTone },
tone_delta(tone_delta)
{
}
const uint32_t tone_delta;
};
class AFSKConfigureMessage : public Message {
public:
constexpr AFSKConfigureMessage(