36 #define ACFG_INVALID_REGION 255 37 #define ACFG_INVALID_LANG 255 41 #define COUNTRY_CODE_ARGENTINA (U32BIT)(('a' << 16) | ('r' << 8) | 'g') 42 #define COUNTRY_CODE_AUSTRALIA (U32BIT)(('a' << 16) | ('u' << 8) | 's') 43 #define COUNTRY_CODE_AUSTRIA (U32BIT)(('a' << 16) | ('u' << 8) | 't') 44 #define COUNTRY_CODE_BELGIUM (U32BIT)(('b' << 16) | ('e' << 8) | 'l') 45 #define COUNTRY_CODE_BOLIVIA (U32BIT)(('b' << 16) | ('o' << 8) | 'l') 46 #define COUNTRY_CODE_BRAZIL (U32BIT)(('b' << 16) | ('r' << 8) | 'a') 47 #define COUNTRY_CODE_CHILE (U32BIT)(('c' << 16) | ('h' << 8) | 'l') 48 #define COUNTRY_CODE_CHINA (U32BIT)(('c' << 16) | ('h' << 8) | 'i') 49 #define COUNTRY_CODE_COLOMBIA (U32BIT)(('c' << 16) | ('o' << 8) | 'l') 50 #define COUNTRY_CODE_COSTARICA (U32BIT)(('c' << 16) | ('r' << 8) | 'i') 51 #define COUNTRY_CODE_CROATIA (U32BIT)(('h' << 16) | ('r' << 8) | 'v') 52 #define COUNTRY_CODE_CZECHREP (U32BIT)(('c' << 16) | ('z' << 8) | 'e') 53 #define COUNTRY_CODE_DENMARK (U32BIT)(('d' << 16) | ('n' << 8) | 'k') 54 #define COUNTRY_CODE_DOMINICANREP (U32BIT)(('d' << 16) | ('m' << 8) | 'a') 55 #define COUNTRY_CODE_ECUADOR (U32BIT)(('e' << 16) | ('c' << 8) | 'u') 56 #define COUNTRY_CODE_ELSALVADOR (U32BIT)(('s' << 16) | ('l' << 8) | 'v') 57 #define COUNTRY_CODE_FINLAND (U32BIT)(('f' << 16) | ('i' << 8) | 'n') 58 #define COUNTRY_CODE_FRANCE (U32BIT)(('f' << 16) | ('r' << 8) | 'a') 59 #define COUNTRY_CODE_GERMANY (U32BIT)(('d' << 16) | ('e' << 8) | 'u') 60 #define COUNTRY_CODE_GUATEMALA (U32BIT)(('g' << 16) | ('t' << 8) | 'm') 61 #define COUNTRY_CODE_HONDURAS (U32BIT)(('h' << 16) | ('n' << 8) | 'd') 62 #define COUNTRY_CODE_HUNGARY (U32BIT)(('h' << 16) | ('u' << 8) | 'n') 63 #define COUNTRY_CODE_IRELAND (U32BIT)(('i' << 16) | ('r' << 8) | 'l') 64 #define COUNTRY_CODE_ITALY (U32BIT)(('i' << 16) | ('t' << 8) | 'a') 65 #define COUNTRY_CODE_LATVIA (U32BIT)(('l' << 16) | ('v' << 8) | 'a') 66 #define COUNTRY_CODE_LUXEMBOURG (U32BIT)(('l' << 16) | ('u' << 8) | 'x') 67 #define COUNTRY_CODE_MEXICO (U32BIT)(('m' << 16) | ('e' << 8) | 'x') 68 #define COUNTRY_CODE_NETHERLANDS (U32BIT)(('n' << 16) | ('l' << 8) | 'd') 69 #define COUNTRY_CODE_NICARAGUA (U32BIT)(('n' << 16) | ('i' << 8) | 'c') 70 #define COUNTRY_CODE_NORWAY (U32BIT)(('n' << 16) | ('o' << 8) | 'r') 71 #define COUNTRY_CODE_PANAMA (U32BIT)(('p' << 16) | ('a' << 8) | 'n') 72 #define COUNTRY_CODE_PERU (U32BIT)(('p' << 16) | ('e' << 8) | 'r') 73 #define COUNTRY_CODE_POLAND (U32BIT)(('p' << 16) | ('o' << 8) | 'l') 74 #define COUNTRY_CODE_PORTUGAL (U32BIT)(('p' << 16) | ('o' << 8) | 'r') 75 #define COUNTRY_CODE_RUSSIA (U32BIT)(('r' << 16) | ('u' << 8) | 's') 76 #define COUNTRY_CODE_SERBIA (U32BIT)(('s' << 16) | ('r' << 8) | 'b') 77 #define COUNTRY_CODE_SLOVAKIA (U32BIT)(('s' << 16) | ('v' << 8) | 'k') 78 #define COUNTRY_CODE_SLOVENIA (U32BIT)(('s' << 16) | ('v' << 8) | 'n') 79 #define COUNTRY_CODE_SOUTHAFRICA (U32BIT)(('z' << 16) | ('a' << 8) | 'f') 80 #define COUNTRY_CODE_SPAIN (U32BIT)(('e' << 16) | ('s' << 8) | 'p') 81 #define COUNTRY_CODE_SWEDEN (U32BIT)(('s' << 16) | ('w' << 8) | 'e') 82 #define COUNTRY_CODE_SWITZERLAND (U32BIT)(('c' << 16) | ('h' << 8) | 'e') 83 #define COUNTRY_CODE_UK (U32BIT)(('g' << 16) | ('b' << 8) | 'r') 84 #define COUNTRY_CODE_UKRAINE (U32BIT)(('u' << 16) | ('k' << 8) | 'r') 85 #define COUNTRY_CODE_VENEZUELA (U32BIT)(('v' << 16) | ('e' << 8) | 'n') 87 #define COUNTRY_CODE_USERDEFINED (U32BIT)(('u' << 24) | ('s' << 16) | ('e' << 8) | 'r') 93 #define ENGLISH_LANG_CODE (('e' << 16) | ('n' << 8) | 'g') 94 #define WELSH1_LANG_CODE (('w' << 16) | ('e' << 8) | 'l') 95 #define WELSH2_LANG_CODE (('c' << 16) | ('y' << 8) | 'm') 96 #define GAELIC_LANG_CODE (('g' << 16) | ('l' << 8) | 'a') 97 #define IRISH1_LANG_CODE (('i' << 16) | ('r' << 8) | 'i') 98 #define IRISH2_LANG_CODE (('g' << 16) | ('l' << 8) | 'e') 99 #define DUTCH1_LANG_CODE (('n' << 16) | ('l' << 8) | 'd') 100 #define DUTCH2_LANG_CODE (('d' << 16) | ('u' << 8) | 't') 101 #define GERMAN1_LANG_CODE (('g' << 16) | ('e' << 8) | 'r') 102 #define GERMAN2_LANG_CODE (('d' << 16) | ('e' << 8) | 'u') 103 #define FRENCH1_LANG_CODE (('f' << 16) | ('r' << 8) | 'e') 104 #define FRENCH2_LANG_CODE (('f' << 16) | ('r' << 8) | 'a') 105 #define RUSSIAN_LANG_CODE (('r' << 16) | ('u' << 8) | 's') 106 #define SIMPLIFIED_CHINESE_LANG_CODE (('c' << 16) | ('h' << 8) | 'i') 107 #define TRADITIONAL_CHINESE_LANG_CODE (('c' << 16) | ('h' << 8) | 'i') 108 #define FINNISH_LANG_CODE (('f' << 16) | ('i' << 8) | 'n') 109 #define SWEDISH_LANG_CODE (('s' << 16) | ('w' << 8) | 'e') 110 #define NORWEGIAN_LANG_CODE (('n' << 16) | ('o' << 8) | 'r') 111 #define DANISH_LANG_CODE (('d' << 16) | ('a' << 8) | 'n') 112 #define MANDARIN_LANG_CODE (('c' << 16) | ('m' << 8) | 'n') 113 #define CANTONESE_LANG_CODE (('y' << 16) | ('u' << 8) | 'e') 114 #define MAORI1_LANG_CODE (('m' << 16) | ('a' << 8) | 'o') 115 #define MAORI2_LANG_CODE (('m' << 16) | ('r' << 8) | 'i') 116 #define JAPANESE_LANG_CODE (('j' << 16) | ('p' << 8) | 'n') 117 #define ITALIAN_LANG_CODE (('i' << 16) | ('t' << 8) | 'a') 118 #define SPANISH1_LANG_CODE (('s' << 16) | ('p' << 8) | 'a') 119 #define SPANISH2_LANG_CODE (('e' << 16) | ('s' << 8) | 'l') 120 #define KOREAN_LANG_CODE (('k' << 16) | ('o' << 8) | 'r') 121 #define HINDI_LANG_CODE (('h' << 16) | ('i' << 8) | 'n') 122 #define CZECH1_LANG_CODE (('c' << 16) | ('z' << 8) | 'e') 123 #define CZECH2_LANG_CODE (('c' << 16) | ('e' << 8) | 's') 124 #define SLOVAK1_LANG_CODE (('s' << 16) | ('l' << 8) | 'k') 125 #define SLOVAK2_LANG_CODE (('s' << 16) | ('l' << 8) | 'o') 126 #define AFRIKAANS_LANG_CODE (('a' << 16) | ('f' << 8) | 'r') 127 #define NDEBELE_LANG_CODE (('n' << 16) | ('b' << 8) | 'l') 128 #define NORTHERN_SOTHO_LANG_CODE (('n' << 16) | ('s' << 8) | 'o') 129 #define SOUTHERN_SOTHO_LANG_CODE (('s' << 16) | ('o' << 8) | 't') 130 #define SWATI_LANG_CODE (('s' << 16) | ('s' << 8) | 'w') 131 #define TSONGA_LANG_CODE (('t' << 16) | ('s' << 8) | 'o') 132 #define TSWANA_LANG_CODE (('t' << 16) | ('s' << 8) | 'n') 133 #define VENDA_LANG_CODE (('v' << 16) | ('e' << 8) | 'n') 134 #define XHOSA_LANG_CODE (('x' << 16) | ('h' << 8) | 'o') 135 #define ZULU_LANG_CODE (('z' << 16) | ('u' << 8) | 'l') 136 #define CROATIAN_LANG_CODE (('h' << 16) | ('r' << 8) | 'v') 137 #define HUNGARIAN_LANG_CODE (('h' << 16) | ('u' << 8) | 'n') 138 #define LATVIAN_LANG_CODE (('l' << 16) | ('a' << 8) | 'v') 139 #define LUXEMBOURGISH_LANG_CODE (('l' << 16) | ('t' << 8) | 'z') 140 #define POLISH_LANG_CODE (('p' << 16) | ('o' << 8) | 'l') 141 #define PORTUGUESE_LANG_CODE (('p' << 16) | ('o' << 8) | 'r') 142 #define SERBIAN_LANG_CODE (('s' << 16) | ('r' << 8) | 'p') 143 #define ROMANIAN1_LANG_CODE (('r' << 16) | ('o' << 8) | 'n') 144 #define ROMANIAN2_LANG_CODE (('r' << 16) | ('u' << 8) | 'm') 145 #define ALBANIAN1_LANG_CODE (('s' << 16) | ('q' << 8) | 'i') 146 #define ALBANIAN2_LANG_CODE (('a' << 16) | ('l' << 8) | 'b') 147 #define SLOVENE_LANG_CODE (('s' << 16) | ('l' << 8) | 'v') 148 #define CATALAN_LANG_CODE (('c' << 16) | ('a' << 8) | 't') 149 #define GALICIAN_LANG_CODE (('g' << 16) | ('l' << 8) | 'g') 150 #define BASQUE1_LANG_CODE (('e' << 16) | ('u' << 8) | 's') 151 #define BASQUE2_LANG_CODE (('b' << 16) | ('a' << 8) | 'q') 152 #define UKRAINIAN_LANG_CODE (('u' << 16) | ('k' << 8) | 'r') 153 #define UND_LANG_CODE (('u' << 16) | ('n' << 8) | 'd') 154 #define ARABIC_LANG_CODE (('a' << 16) | ('r' << 8) | 'a') 159 enum E_DVB_LANGUAGE_IDS
161 DVB_LANGUAGE_ENGLISH,
168 DVB_LANGUAGE_RUSSIAN,
169 DVB_LANGUAGE_SIMPLIFIED_CHINESE,
170 DVB_LANGUAGE_TRADITIONAL_CHINESE,
171 DVB_LANGUAGE_FINNISH,
172 DVB_LANGUAGE_SWEDISH,
173 DVB_LANGUAGE_NORWEGIAN,
175 DVB_LANGUAGE_MANDARIN,
176 DVB_LANGUAGE_CANTONESE,
178 DVB_LANGUAGE_JAPANESE,
179 DVB_LANGUAGE_ITALIAN,
180 DVB_LANGUAGE_SPANISH,
185 DVB_LANGUAGE_AFRIKAANS,
186 DVB_LANGUAGE_NDEBELE,
187 DVB_LANGUAGE_NORTHERN_SOTHO,
188 DVB_LANGUAGE_SOUTHERN_SOTHO,
195 DVB_LANGUAGE_CROATIAN,
196 DVB_LANGUAGE_HUNGARIAN,
197 DVB_LANGUAGE_LATVIAN,
198 DVB_LANGUAGE_LUXEMBOURGISH,
200 DVB_LANGUAGE_PORTUGUESE,
201 DVB_LANGUAGE_SERBIAN,
202 DVB_LANGUAGE_ROMANIAN,
203 DVB_LANGUAGE_ALBANIAN,
204 DVB_LANGUAGE_SLOVENE,
205 DVB_LANGUAGE_CATALAN,
206 DVB_LANGUAGE_GALICIAN,
208 DVB_LANGUAGE_UKRAINIAN,
215 ACFG_DB_LANG_ENGLISH,
223 ACFG_DB_LANG_GERMAN1,
224 ACFG_DB_LANG_GERMAN2,
225 ACFG_DB_LANG_FRENCH1,
226 ACFG_DB_LANG_FRENCH2,
227 ACFG_DB_LANG_RUSSIAN,
228 ACFG_DB_LANG_SIMPLIFIED_CHINESE,
229 ACFG_DB_LANG_TRADITIONAL_CHINESE,
230 ACFG_DB_LANG_FINNISH,
231 ACFG_DB_LANG_SWEDISH,
232 ACFG_DB_LANG_NORWEGIAN,
234 ACFG_DB_LANG_MANDARIN,
235 ACFG_DB_LANG_CANTONESE,
238 ACFG_DB_LANG_JAPANESE,
239 ACFG_DB_LANG_ITALIAN,
240 ACFG_DB_LANG_SPANISH1,
241 ACFG_DB_LANG_SPANISH2,
246 ACFG_DB_LANG_SLOVAK1,
247 ACFG_DB_LANG_SLOVAK2,
248 ACFG_DB_LANG_AFRIKAANS,
249 ACFG_DB_LANG_NDEBELE,
250 ACFG_DB_LANG_NORTHERN_SOTHO,
251 ACFG_DB_LANG_SOUTHERN_SOTHO,
258 ACFG_DB_LANG_CROATIAN,
259 ACFG_DB_LANG_HUNGARIAN,
260 ACFG_DB_LANG_LATVIAN,
261 ACFG_DB_LANG_LUXEMBOURGISH,
263 ACFG_DB_LANG_PORTUGUESE,
264 ACFG_DB_LANG_SERBIAN,
265 ACFG_DB_LANG_ROMANIAN1,
266 ACFG_DB_LANG_ROMANIAN2,
267 ACFG_DB_LANG_ALBANIAN1,
268 ACFG_DB_LANG_ALBANIAN2,
269 ACFG_DB_LANG_SLOVENE,
270 ACFG_DB_LANG_CATALAN,
271 ACFG_DB_LANG_GALICIAN,
272 ACFG_DB_LANG_BASQUE1,
273 ACFG_DB_LANG_BASQUE2,
274 ACFG_DB_LANG_UKRAINIAN,
277 ACFG_NUM_DB_LANGUAGES
283 ACFG_DYNAMIC_SI_UPDATE_NONE = 0,
284 ACFG_DYNAMIC_SI_UPDATE_LCNS = 0x0001,
285 ACFG_DYNAMIC_SI_UPDATE_SERVICE_ADD = 0x0002,
286 ACFG_DYNAMIC_SI_UPDATE_SERVICE_REMOVE = 0x0004,
287 ACFG_DYNAMIC_SI_UPDATE_SERVICE_MOVE = 0x0008
288 } E_ACFG_DYNAMIC_SI_UPDATE_TYPE;
303 E_STB_DP_TBWIDTH bwidth;
319 U16BIT original_network_id;
322 typedef BOOLEAN (*AllocLcnFunc)(E_STB_DP_SIGNAL_TYPE tuner_type);
323 typedef void (*DBTidyFunc)(E_STB_DP_SIGNAL_TYPE tuner_type, BOOLEAN search_completed, BOOLEAN manual);
340 STB_SI_USER_DEF_DESCRIP_FUNCTION func;
351 U32BIT private_data_specifier;
352 U16BIT terr_first_unallocated_lcn;
353 U16BIT terr_last_unallocated_lcn;
354 U16BIT cab_first_unallocated_lcn;
355 U16BIT cab_last_unallocated_lcn;
356 U16BIT sat_first_unallocated_lcn;
357 U16BIT sat_last_unallocated_lcn;
358 AllocLcnFunc terr_lcn_func;
359 AllocLcnFunc cab_lcn_func;
360 AllocLcnFunc sat_lcn_func;
361 DBTidyFunc terr_db_tidy_func;
362 DBTidyFunc cab_db_tidy_func;
363 DBTidyFunc sat_db_tidy_func;
364 U16BIT start_watershed;
365 U16BIT end_watershed;
368 U8BIT *event_content_types;
369 U16BIT num_ana_rf_channels;
371 U16BIT num_ter_rf_channels;
373 U16BIT num_cab_rf_channels;
378 U8BIT num_symbol_rates;
379 U16BIT sat_symbol_rates[8];
380 BOOLEAN include_dvbs2;
381 BOOLEAN aerial_power_option_reqd;
382 BOOLEAN default_aerial_power;
383 BOOLEAN aerial_tuning_screen_reqd;
384 BOOLEAN nordig_compliant;
385 BOOLEAN terr_nordig_service;
386 BOOLEAN cab_nordig_service;
387 BOOLEAN sat_nordig_service;
390 U8BIT eit_searches_per_day;
391 U8BIT eit_update_time;
393 U8BIT default_secondary_language;
467 BOOLEAN
ACFG_GetRegionList(U32BIT country_code, U8BIT ***str_array_ptr, U8BIT *num_regions_ptr);
536 BOOLEAN
ACFG_GetDbLangList(U32BIT country_code, U8BIT ***str_array_ptr, U8BIT *num_langs_ptr);
580 void ACFG_SetCountryIds(U32BIT country_code, U8BIT region_id, U8BIT audio_lang_id, U8BIT sub_lang_id);
648 U16BIT *num_entries_ptr);
658 U16BIT *num_entries_ptr);
668 U16BIT *num_entries_ptr);
986 E_ACFG_DYNAMIC_SI_UPDATE_TYPE update_type);
void ACFG_SetTerrestrialLcnFunction(U32BIT country_code, AllocLcnFunc func_ptr)
Overrides an existing DVB-T/T2 LCN allocation function for the given country.
Definition: ap_cfg.c:1869
U32BIT ACFG_GetUndefinedLanguageBehaviour(void)
Gets the language code set by ACFG_SetUndefinedLanguageBehaviour, or 'und' if that function has not b...
Definition: ap_cfg.c:2135
AllocLcnFunc ACFG_GetTerrestrialLcnFunction(U32BIT country_code)
Returns a pointer to a function that's used to assign LCNs following a DVB-T/T2 scan for the given co...
Definition: ap_cfg.c:1842
BOOLEAN ACFG_GetWatershedTimes(U32BIT country_code, U16BIT *start_time, U16BIT *end_time)
Get the start and end times of the watershed hours for a country.
Definition: ap_cfg.c:1308
U8BIT ACFG_GetRegionId(void)
Returns the internal ID of the region the DVB is configured for.
Definition: ap_cfg.c:189
U8BIT ACFG_GetPrimaryAudioLangId(void)
Returns the primary audio language ID.
Definition: ap_cfg.c:204
void ACFG_ReleaseRegionList(U8BIT **str_array, U8BIT num_regions)
Frees the region array previously acquired using ACFG_GetRegionList.
Definition: ap_cfg.c:747
U16BIT ACFG_GetLastUnallocatedLcn(U32BIT country_code, E_STB_DP_SIGNAL_TYPE tuner_type)
Returns the last LCN that should be used when assigning LCNs to services that don't appear in an LCN ...
Definition: ap_cfg.c:1269
void ACFG_GetBackgroundSearchTime(U16BIT *start_time, U16BIT *end_time)
Gets the background start and end search times.
Definition: ap_cfg.c:1649
BOOLEAN ACFG_GetDynamicSIUpdate(E_STB_DP_SIGNAL_TYPE signal_type, U16BIT onet_id, E_ACFG_DYNAMIC_SI_UPDATE_TYPE update_type)
Use to check whether a dynamic SI update is enabled for the currently configured country and given si...
Definition: ap_cfg.c:2166
U16BIT ACFG_GetMinSatelliteScanFreq(U32BIT country_code)
Returns the minimum frequency to be used when performing a satellite based frequency scan in the give...
Definition: ap_cfg.c:1340
void ACFG_SetCableLcnFunction(U32BIT country_code, AllocLcnFunc func_ptr)
Overrides an existing DVB-C LCN allocation function for the given country.
Definition: ap_cfg.c:1917
U8BIT ACFG_GetSecondaryAudioLangId(void)
Returns the secondary audio language ID.
Definition: ap_cfg.c:219
U8BIT ACFG_GetEitUpdateTime(void)
Returns the number of minutes after which all the events should have been received during an EIT sear...
Definition: ap_cfg.c:1818
Header file - macros and function prototypes for public use.
void ACFG_SetSecondaryTextLangId(U8BIT lang_id)
Sets the secondary language id to be used for teletext/subtitles.
Definition: ap_cfg.c:490
BOOLEAN ACFG_GetAnaRfChannelTable(U32BIT country_code, ACFG_ANA_RF_CHANNEL_DATA **rf_chan_data_ptr, U16BIT *num_entries_ptr)
Returns a pointer to the channel table for an analog tuner for the given country. ...
Definition: ap_cfg.c:1001
void ACFG_SetBackgroundServiceSearch(BOOLEAN enabled)
Enables or disables the background service search when in standby.
Definition: ap_cfg.c:1670
DBTidyFunc ACFG_GetSatelliteDBTidyFunction(U32BIT country_code)
Returns a pointer to a function that's used to tidy up the database following a DVB-S/S2 scan for the...
Definition: ap_cfg.c:2042
U8BIT ACFG_GetNumRegions(U32BIT country_code)
Returns the number of regions in the given country.
Definition: ap_cfg.c:642
void ACFG_SetPrimaryAudioLangId(U8BIT lang_id)
Sets the primary language id to be used for audio. This is the language that will be chosen first...
Definition: ap_cfg.c:415
void ACFG_SetSatelliteLcnFunction(U32BIT country_code, AllocLcnFunc func_ptr)
Overrides an existing DVB-S/S2 LCN allocation function for the given country.
Definition: ap_cfg.c:1965
void ACFG_GetCountryList(U8BIT ***str_array_ptr, U8BIT *num_countries_ptr)
Returns an array containing the names of all the countries included in the DVB. The index into this a...
Definition: ap_cfg.c:518
BOOLEAN ACFG_GetCountryConfig(U32BIT country_code, ACFG_COUNTRY_CONFIG *config)
Copies the country configuration for the given country into the provided structure. None of the included arrays should be freed.
Definition: ap_cfg.c:572
U8BIT ACFG_GetNumCountries(void)
Returns the number of country configurations included in the DVB stack.
Definition: ap_cfg.c:139
U32BIT ACFG_ConvertLangIdToCode(U8BIT lang_id)
Returns the language code for the given language id.
Definition: ap_cfg.c:957
AllocLcnFunc ACFG_GetSatelliteLcnFunction(U32BIT country_code)
Returns a pointer to a function that's used to assign LCNs following a DVB-S/S2 scan for the given co...
Definition: ap_cfg.c:1938
BOOLEAN ACFG_GetRegionList(U32BIT country_code, U8BIT ***str_array_ptr, U8BIT *num_regions_ptr)
Returns an array of pointers to strings containing the region names for the given country...
Definition: ap_cfg.c:698
void ACFG_ReleaseCountryList(U8BIT **str_array, U8BIT num_countries)
Frees a country list previously acquired using ACFG_GetCountryList.
Definition: ap_cfg.c:551
U8BIT ACFG_GetPrimaryTextLangId(void)
Returns the primary DVB subtitle/teletext language ID.
Definition: ap_cfg.c:234
BOOLEAN ACFG_GetBackgroundServiceSearch(void)
Returns whether the background service search is enabled or not.
Definition: ap_cfg.c:1683
BOOLEAN ACFG_GetAerialTuningScreenReqd(U32BIT country_code)
Returns whether an aerial tuning screen should be presented by the interface before performing a DVB-...
Definition: ap_cfg.c:1546
BOOLEAN ACFG_SetCountry(U32BIT country_code)
Sets the current country and sets default values for region and language.
Definition: ap_cfg.c:265
U8BIT ACFG_GetDefaultSecondaryLangId(void)
Returns the default secondary language for audio and subtitles as defined for the selected country...
Definition: ap_cfg.c:2071
U8BIT ACFG_GetSecondaryTextLangId(void)
Returns the secondary DVB subtitle/teletext language ID.
Definition: ap_cfg.c:249
BOOLEAN ACFG_GetCabRfChannelTable(U32BIT country_code, ACFG_CAB_RF_CHANNEL_DATA **rf_chan_data_ptr, U16BIT *num_entries_ptr)
Returns a pointer to the channel table for a cable tuner for the given country.
Definition: ap_cfg.c:1059
DBTidyFunc ACFG_GetCableDBTidyFunction(U32BIT country_code)
Returns a pointer to a function that's used to tidy up the database following a DVB-C scan for the gi...
Definition: ap_cfg.c:2014
BOOLEAN ACFG_GetBackgroundSSUSearch(void)
Returns whether the background SSU search is enabled or not.
Definition: ap_cfg.c:1713
void ACFG_SetCableChannelTable(ACFG_CAB_RF_CHANNEL_DATA *cable_channel_data, U16BIT number_channels)
Replaces the cable tuning table for the current country with the one provided.
Definition: ap_cfg.c:1086
BOOLEAN ACFG_GetDefaultAerialPower(U32BIT country_code)
Returns the default aerial power option setting for DVB-T/T2 for the given country.
Definition: ap_cfg.c:1521
BOOLEAN ACFG_GetSatelliteScanDvbS2(U32BIT country_code)
Returns whether DVB-S2 should be included when performing a satellite based frequency scan in the giv...
Definition: ap_cfg.c:1470
void ACFG_SetSecondaryAudioLangId(U8BIT lang_id)
Sets the secondary language id to be used for audio.
Definition: ap_cfg.c:440
BOOLEAN ACFG_IsNordigCountry(void)
Returns whether the current country requires Nordig compliance for SI.
Definition: ap_cfg.c:1730
U8BIT * ACFG_GetDbLangId(U32BIT country_code, U8BIT lang_entry)
Returns an array of language ids for a given country and index into the language array. A language id is one of the ACFG_DB_LANG_XXXX values above and there might be more than one for a given language. For example german language has two ids associated to it: ACFG_DB_LANG_GERMAN1 and ACFG_DB_LANG_GERMAN2 because german language can have two different codes, 'deu' and 'ger'. See also functions ACFG_ConvertLangIdToCode and ACFG_ConvertLangCodeToId. The returned pointer is an internal array and must not be freed.
Definition: ap_cfg.c:900
void ACFG_SetPrimaryTextLangId(U8BIT lang_id)
Sets the primary language id to be used for teletext/subtitles.
Definition: ap_cfg.c:465
Header file - macros and function prototypes for public use.
U8BIT ACFG_ConvertLangCodeToId(U32BIT lang_code)
Returns the language id for the given language code.
Definition: ap_cfg.c:931
BOOLEAN ACFG_IsNordigService(E_STB_DP_SIGNAL_TYPE tuner_type)
Returns whether the broadcast SI data for the given tuner type is to be treated as Nordig compliant...
Definition: ap_cfg.c:1757
BOOLEAN ACFG_GetDbLangList(U32BIT country_code, U8BIT ***str_array_ptr, U8BIT *num_langs_ptr)
Returns an array of pointers to strings containing the available language names for the given country...
Definition: ap_cfg.c:844
BOOLEAN ACFG_GetRegionCode(U32BIT country_code, U8BIT region_id, U8BIT *code_ptr)
Returns the region code that identifies the given region.
Definition: ap_cfg.c:1572
U8BIT ACFG_GetEitSearchesPerDay(void)
Returns the number of EIT searches that should be performed per day when the box is in standby...
Definition: ap_cfg.c:1795
void ACFG_SetBackgroundSearchTime(U16BIT start_time, U16BIT end_time)
Sets the start and end times during which background searches are allowed run when in standby...
Definition: ap_cfg.c:1631
U8BIT ACFG_GetSatelliteScanNumSymbolRates(U32BIT country_code)
Returns the number of items in the fixed array of symbol rates to be used when performing a satellite...
Definition: ap_cfg.c:1444
DBTidyFunc ACFG_GetTerrestrialDBTidyFunction(U32BIT country_code)
Returns a pointer to a function that's used to tidy up the database following a DVB-T/T2 scan for the...
Definition: ap_cfg.c:1986
U16BIT ACFG_GetOriginalNetworkID(U32BIT country_code, E_STB_DP_SIGNAL_TYPE tuner_type)
Returns the original network ID for the given country and tuner type.
Definition: ap_cfg.c:1130
U32BIT ACFG_GetPrivateDataSpecifier(U32BIT country_code)
Returns the private data specifier value for the given country.
Definition: ap_cfg.c:1204
U32BIT ACFG_GetCountry(void)
Returns the country code the DVB is configured for.
Definition: ap_cfg.c:150
System Wide Global Technical Data Type Definitions.
void ACFG_SetUndefinedLanguageBehaviour(U32BIT lang_code)
Sets the language code to be used when the SI descriptors contain 'und', 'qaa' or don't contain any l...
Definition: ap_cfg.c:2115
BOOLEAN ACFG_SetCountryConfig(U32BIT country_code, ACFG_COUNTRY_CONFIG *config)
Sets the country configuration settings that will be used for given country. This could be used to ov...
Definition: ap_cfg.c:605
U16BIT ACFG_GetSatelliteScanFreqInc(U32BIT country_code)
Returns the increment frequency to be used when performing a satellite based frequency scan in the gi...
Definition: ap_cfg.c:1392
AllocLcnFunc ACFG_GetCableLcnFunction(U32BIT country_code)
Returns a pointer to a function that's used to assign LCNs following a DVB-C scan for the given count...
Definition: ap_cfg.c:1890
U8BIT ACFG_GetCountryIndex(U32BIT country_code)
Returns the index in the list of countries known by the DVB, of the given country.
Definition: ap_cfg.c:166
BOOLEAN ACFG_GetAerialPowerOptionReqd(U32BIT country_code)
Returns whether the aerial power option is required for DVB-T/T2 for the given country.
Definition: ap_cfg.c:1496
U8BIT * ACFG_GetEventContentTypes(U32BIT country_code)
Returns the event content types for the given country. This defines how the content type value broadc...
Definition: ap_cfg.c:1603
void ACFG_SetCountryIds(U32BIT country_code, U8BIT region_id, U8BIT audio_lang_id, U8BIT sub_lang_id)
Saves the configured country and changes settings related to the country.
Definition: ap_cfg.c:297
U16BIT * ACFG_GetSatelliteScanSymbolRates(U32BIT country_code)
Returns a fixed array of symbol rates to be used when performing a satellite based frequency scan in ...
Definition: ap_cfg.c:1418
U16BIT ACFG_GetFirstUnallocatedLcn(U32BIT country_code, E_STB_DP_SIGNAL_TYPE tuner_type)
Returns the first LCN that should be used when assigning LCNs to services that don't appear in an LCN...
Definition: ap_cfg.c:1230
void ACFG_SetBackgroundSSUSearch(BOOLEAN enabled)
Enables or disables the background SSU search when in standby.
Definition: ap_cfg.c:1700
BOOLEAN ACFG_GetTerRfChannelTable(U32BIT country_code, ACFG_TER_RF_CHANNEL_DATA **rf_chan_data_ptr, U16BIT *num_entries_ptr)
Returns a pointer to the channel table for a terrestrial tuner for the given country.
Definition: ap_cfg.c:1030
U16BIT ACFG_GetMaxSatelliteScanFreq(U32BIT country_code)
Returns the maximum frequency to be used when performing a satellite based frequency scan in the give...
Definition: ap_cfg.c:1366
void ACFG_ReleaseDbLangList(U8BIT **str_array, U8BIT num_langs)
Frees the language array previously acquired using ACFG_GetDbLangList.
Definition: ap_cfg.c:980
void ACFG_SetHostCountryLanguageModuleId(U32BIT module)
Sets the host and country module for CI stack. Value zero for disable.
Definition: ap_cfg.c:2146
BOOLEAN ACFG_SetDbLanguages(U32BIT country_code, ACFG_LANGUAGE_IDS *languages, U8BIT num_languages)
Sets the languages that can be used for setting the default primary and secondary audio...
Definition: ap_cfg.c:771
U32BIT ACFG_GetCountryCode(U8BIT country_id)
Returns the country code for the given country index.
Definition: ap_cfg.c:1107
U8BIT ACFG_GetNumDbLanguages(U32BIT country_code)
Returns the number of languages defined for the given country that can be used for audio and subtitle...
Definition: ap_cfg.c:668
BOOLEAN ACFG_SetDynamicSIUpdates(E_STB_DP_SIGNAL_TYPE signal_type, ACFG_DYNAMIC_SI_UPDATES *dynamic_updates, U8BIT num_updates)
Sets the dynamic SI updates for the given tuner type of the currently configured country.
Definition: ap_cfg.c:2230
void ACFG_SetOriginalNetworkID(U32BIT country_code, E_STB_DP_SIGNAL_TYPE tuner_type, U16BIT onet_id)
Sets the original network ID for the given country and tuner type, replacing any existing value defin...
Definition: ap_cfg.c:1170