mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-04 05:49:01 +00:00
POCSAG TX (with fixed message for testing)
This commit is contained in:
@@ -84,6 +84,7 @@ public:
|
||||
ADSBConfigure = 40,
|
||||
JammerConfigure = 41,
|
||||
WidebandSpectrumConfig = 42,
|
||||
FSKConfigure = 43,
|
||||
|
||||
POCSAGPacket = 50,
|
||||
|
||||
@@ -695,6 +696,27 @@ public:
|
||||
const uint32_t pause_symbols;
|
||||
};
|
||||
|
||||
class FSKConfigureMessage : public Message {
|
||||
public:
|
||||
constexpr FSKConfigureMessage(
|
||||
const uint32_t stream_length,
|
||||
const uint32_t samples_per_bit,
|
||||
const uint32_t shift,
|
||||
const uint32_t progress_notice
|
||||
) : Message { ID::FSKConfigure },
|
||||
stream_length(stream_length),
|
||||
samples_per_bit(samples_per_bit),
|
||||
shift(shift),
|
||||
progress_notice(progress_notice)
|
||||
{
|
||||
}
|
||||
|
||||
const uint32_t stream_length;
|
||||
const uint32_t samples_per_bit;
|
||||
const uint32_t shift;
|
||||
const uint32_t progress_notice;
|
||||
};
|
||||
|
||||
class POCSAGConfigureMessage : public Message {
|
||||
public:
|
||||
constexpr POCSAGConfigureMessage(
|
||||
|
||||
Reference in New Issue
Block a user