Added Pocsag bitrate

I added 3200 to the bitrates in pocsag per a user request on Facebook.
This commit is contained in:
ImDroided 2021-02-14 12:52:56 -06:00
parent 4f90c5efee
commit 62c1e4e028
3 changed files with 7 additions and 4 deletions

View File

@ -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 {

View File

@ -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);

View File

@ -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 {