Added fixed callsign table for Canada

This commit is contained in:
Sjef Verhoeven PE5PVB
2025-02-25 11:19:31 +01:00
parent 7a50e48e1b
commit 310277fb5c
2 changed files with 52 additions and 28 deletions

View File

@@ -91,6 +91,10 @@ static const char* const PTY_USA[] {
" "
};
// Fixed PI/callsign combinations for Canada
inline const uint16_t fixedPI[] = {0x4C10, 0x4C11, 0x4C12};
inline const char* fixedCalls[] = {"CBLA", "CBFM", "CBOT"};
static const uint16_t oda_app_ids[] {
0x0000, 0x0093, 0x0BCB, 0x0C24, 0x0CC1, 0x0D45, 0x0D8B, 0x0E2C, 0x0E31, 0x0F87,
0x125F, 0x1BDA, 0x1C5E, 0x1C68, 0x1CB1, 0x1D47, 0x1DC2, 0x1DC5, 0x1E8F, 0x4400,
@@ -733,8 +737,8 @@ class TEF6686 {
void RDScharConverter(const char* input, wchar_t* output, size_t size, bool under);
String convertToUTF8(const wchar_t* input);
String extractUTF8Substring(const String& utf8String, size_t start, size_t length, bool under);
String eRTconverter(const wchar_t* input);
String ucs2ToUtf8(const char* ucs2Input);
bool isFixedCallsign(uint16_t stationID, char* stationIDStr);
String PSLongtext;
char ps_buffer[9];
char ps_buffer2[9];
@@ -789,4 +793,4 @@ class TEF6686 {
time_t lastrdstime;
int32_t lasttimeoffset;
};
#endif
#endif