Merge pull request #311 from ImDroided/next

Added Pocsag bitrate
This commit is contained in:
Erwin Ried 2021-02-15 09:52:15 +01:00 committed by GitHub
commit b82b0f15d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 4 deletions

View File

@ -90,7 +90,8 @@ private:
{
{ "512bps ", 0 },
{ "1200bps", 1 },
{ "2400bps", 2 }
{ "2400bps", 2 },
{ "3200bps", 3 }
}
};
OptionsField options_phase {

View File

@ -65,10 +65,11 @@ struct POCSAGState {
std::string output;
};
const pocsag::BitRate pocsag_bitrates[3] = {
const pocsag::BitRate pocsag_bitrates[4] = {
pocsag::BitRate::FSK512,
pocsag::BitRate::FSK1200,
pocsag::BitRate::FSK2400
pocsag::BitRate::FSK2400,
pocsag::BitRate::FSK3200
};
std::string bitrate_str(BitRate bitrate);

View File

@ -34,7 +34,8 @@ enum BitRate : uint32_t {
UNKNOWN,
FSK512 = 512,
FSK1200 = 1200,
FSK2400 = 2400
FSK2400 = 2400,
FSK3200 = 3200
};
enum PacketFlag : uint32_t {