mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-17 19:54:35 -05:00
Added Pocsag bitrate
I added 3200 to the bitrates in pocsag per a user request on Facebook.
This commit is contained in:
parent
4f90c5efee
commit
62c1e4e028
@ -90,7 +90,8 @@ private:
|
|||||||
{
|
{
|
||||||
{ "512bps ", 0 },
|
{ "512bps ", 0 },
|
||||||
{ "1200bps", 1 },
|
{ "1200bps", 1 },
|
||||||
{ "2400bps", 2 }
|
{ "2400bps", 2 },
|
||||||
|
{ "3200bps", 3 }
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
OptionsField options_phase {
|
OptionsField options_phase {
|
||||||
|
@ -65,10 +65,11 @@ struct POCSAGState {
|
|||||||
std::string output;
|
std::string output;
|
||||||
};
|
};
|
||||||
|
|
||||||
const pocsag::BitRate pocsag_bitrates[3] = {
|
const pocsag::BitRate pocsag_bitrates[4] = {
|
||||||
pocsag::BitRate::FSK512,
|
pocsag::BitRate::FSK512,
|
||||||
pocsag::BitRate::FSK1200,
|
pocsag::BitRate::FSK1200,
|
||||||
pocsag::BitRate::FSK2400
|
pocsag::BitRate::FSK2400,
|
||||||
|
pocsag::BitRate::FSK3200
|
||||||
};
|
};
|
||||||
|
|
||||||
std::string bitrate_str(BitRate bitrate);
|
std::string bitrate_str(BitRate bitrate);
|
||||||
|
@ -34,7 +34,8 @@ enum BitRate : uint32_t {
|
|||||||
UNKNOWN,
|
UNKNOWN,
|
||||||
FSK512 = 512,
|
FSK512 = 512,
|
||||||
FSK1200 = 1200,
|
FSK1200 = 1200,
|
||||||
FSK2400 = 2400
|
FSK2400 = 2400,
|
||||||
|
FSK3200 = 3200
|
||||||
};
|
};
|
||||||
|
|
||||||
enum PacketFlag : uint32_t {
|
enum PacketFlag : uint32_t {
|
||||||
|
Loading…
Reference in New Issue
Block a user