mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-15 09:56:00 -04:00
Add APRS Receiving App
This commit is contained in:
parent
de92faf67b
commit
f15cf78101
18 changed files with 1722 additions and 16 deletions
|
@ -36,6 +36,7 @@
|
|||
#include "adsb_frame.hpp"
|
||||
#include "ert_packet.hpp"
|
||||
#include "pocsag_packet.hpp"
|
||||
#include "aprs_packet.hpp"
|
||||
#include "sonde_packet.hpp"
|
||||
#include "tpms_packet.hpp"
|
||||
#include "jammer.hpp"
|
||||
|
@ -111,6 +112,8 @@ public:
|
|||
AudioLevelReport = 51,
|
||||
CodedSquelch = 52,
|
||||
AudioSpectrum = 53,
|
||||
APRSPacket = 54,
|
||||
APRSRxConfigure = 55,
|
||||
MAX
|
||||
};
|
||||
|
||||
|
@ -725,6 +728,18 @@ public:
|
|||
const bool trigger_word;
|
||||
};
|
||||
|
||||
class APRSRxConfigureMessage : public Message {
|
||||
public:
|
||||
constexpr APRSRxConfigureMessage(
|
||||
const uint32_t baudrate
|
||||
) : Message { ID::APRSRxConfigure },
|
||||
baudrate(baudrate)
|
||||
{
|
||||
}
|
||||
|
||||
const uint32_t baudrate;
|
||||
};
|
||||
|
||||
class BTLERxConfigureMessage : public Message {
|
||||
public:
|
||||
constexpr BTLERxConfigureMessage(
|
||||
|
@ -1002,6 +1017,19 @@ public:
|
|||
const bool phase;
|
||||
};
|
||||
|
||||
class APRSPacketMessage : public Message {
|
||||
public:
|
||||
constexpr APRSPacketMessage(
|
||||
const aprs::APRSPacket& packet
|
||||
) : Message { ID::APRSPacket },
|
||||
packet { packet }
|
||||
{
|
||||
}
|
||||
|
||||
aprs::APRSPacket packet;
|
||||
};
|
||||
|
||||
|
||||
class ADSBConfigureMessage : public Message {
|
||||
public:
|
||||
constexpr ADSBConfigureMessage(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue