60 #ifdef COMMON_INTERFACE 64 #ifndef DEFAULT_ASCII_TABLE 65 #define DEFAULT_ASCII_TABLE 0 97 E_STB_TTXT_SUBT_CONTROL subt_ctrl;
101 U8BIT second_lang_entry;
102 U8BIT text_lang_entry;
103 U8BIT second_text_lang_entry;
115 AEV_Initialise(event_handler);
120 case DVB_INIT_TELETEXT_ONLY:
121 subt_ctrl = EBU_SUBTITLES;
123 case DVB_INIT_SUBTITLES_ONLY:
124 subt_ctrl = DVB_SUBTITLES;
126 case DVB_INIT_TELETEXT_AND_SUBTITLES:
127 subt_ctrl = DVB_SUBTITLES_AND_TELETEXT;
129 case DVB_INIT_NO_TELETEXT_OR_SUBTITLES:
131 subt_ctrl = NO_TELETEXT_OR_SUBTITLES;
146 #ifdef COMMON_INTERFACE 165 if (second_lang_entry == ACFG_INVALID_LANG)
168 if (second_lang_entry != ACFG_INVALID_LANG)
176 if (second_text_lang_entry == ACFG_INVALID_LANG)
179 if (second_text_lang_entry != ACFG_INVALID_LANG)
188 if (second_lang_entry != ACFG_INVALID_LANG)
193 if (second_text_lang_entry != ACFG_INVALID_LANG)
204 APP_NvmSave(AERIAL_POWER_ON_NVM, aerial_pwr, TRUE);
208 aerial_pwr = (BOOLEAN)
APP_NvmRead(AERIAL_POWER_ON_NVM);
229 void APP_TerminateDVB(
void)
231 FUNCTION_START(APP_TerminateDVB);
238 FUNCTION_FINISH(APP_TerminateDVB);
245 FUNCTION_START(APP_RegisterUIInfoCallback);
246 UiInfoCallback = ui_info_callback;
247 FUNCTION_FINISH(APP_RegisterUIInfoCallback);
254 FUNCTION_START(ACB_GetUIInfo);
255 retval = UiInfoCallback ? UiInfoCallback(info) : FALSE;
256 FUNCTION_FINISH(ACB_GetUIInfo);
U8BIT ACFG_GetRegionId(void)
Returns the internal ID of the region the DVB is configured for.
macros and function prototypes for public use
U8BIT ACFG_GetPrimaryAudioLangId(void)
Returns the primary audio language ID.
void STB_ERInitialise(void)
Initialises STB layer Event Reporting control.
void APVR_Initialise(void)
Initialise all PVR resources: filters, recordings etc.
void ADB_Initialise(void)
Initialises database access.
void STB_OSInitialise(void)
Allows setting of initial boot time.
U8BIT STB_HWGetTunerPaths(void)
Returns the number of front end (Tuner) paths on the platform.
void ASI_InitialiseAppSi(void)
Initialises application SI handling.
U8BIT ACFG_GetSecondaryAudioLangId(void)
Returns the secondary audio language ID.
Application configuration.
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.
Header file for NVM data handling functions.
void ACTL_InitialiseAppControl(void)
Control system initialisation.
void APVR_Terminate(void)
Destroy all PVR resources: filters, recordings etc.
Header file - Function prototypes for A/V control.
U32BIT APP_NvmRead(E_NVM_ITEMS nvm_item)
Returns the current value for the given DVB setting.
void(* DVB_EVENT_HANDLER)(U32BIT event, void *event_data, U32BIT data_size)
The event notification callback function.
Application timer functions and defines.
void APP_NvmSave(E_NVM_ITEMS nvm_item, U32BIT new_value, BOOLEAN write_to_flash_now)
Sets the current value for the given DVB setting.
Header file - macros and function prototypes for public use.
U8BIT ACFG_GetPrimaryTextLangId(void)
Returns the primary DVB subtitle/teletext language ID.
void STB_TuneActiveAerialPower(U8BIT path, BOOLEAN enabled)
Enables/disables aerial power for DVB-T.
BOOLEAN APP_InitialiseDVB(DVB_EVENT_HANDLER event_handler, E_DVB_INIT_SUBS_TTXT subs_ttxt)
Main function to initialise the DVB.
U8BIT ACFG_GetDefaultSecondaryLangId(void)
Returns the default secondary language for audio and subtitles as defined for the selected country...
U8BIT ACFG_GetSecondaryTextLangId(void)
Returns the secondary DVB subtitle/teletext language ID.
BOOLEAN ACFG_GetDefaultAerialPower(U32BIT country_code)
Returns the default aerial power option setting for DVB-T/T2 for the given country.
void STB_PVRSetStandbyState(BOOLEAN state)
Sets the standby state of the PVR path control.
Header file - macros and function prototypes for public use.
void ACFG_SetSecondaryAudioLangId(U8BIT lang_id)
Sets the secondary language id to be used for audio.
Debug functions header file.
Header file - Function prototypes for linked lists.
Header file - macros and function prototypes for public use.
Application level CI - internal functions.
void ADB_SetTextLang(U32BIT country_code, U8BIT lang_id)
Sets the primary subtitle and teletext language to be used.
Contains the initialise functions for IP.
Header file - Function prototypes for Event Reporting.
Header for STB unicode string handling routines.
void ADB_SetAudioLang(U32BIT country_code, U8BIT lang_id)
Sets the primary audio language to be used.
U32BIT ACFG_GetCountry(void)
Returns the country code the DVB is configured for.
application level SI task
Application stb layer control.
Header file - Function prototypes for operating system.
System Wide Global Technical Data Type Definitions.
void ADB_SetSecondaryAudioLang(U32BIT country_code, U8BIT lang_id)
Sets the secondary audio language to be used. This will be selected if the primary audio language isn...
void ADB_SetSecondaryTextLang(U32BIT country_code, U8BIT lang_id)
Sets the secondary subtitle and teletext language to be used. This will be used if the primary langua...
void ACI_Initialise(void)
Initialise CI Host Control support.
BOOLEAN ACFG_GetAerialPowerOptionReqd(U32BIT country_code)
Returns whether the aerial power option is required for DVB-T/T2 for the given country.
Header file - Function prototypes for heap memory.
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.
void STB_SetDefaultAsciiTable(U8BIT table)
Sets default ascii table to be used, if not overridden by the table index at the start of a string...
BOOLEAN(* ACB_INFO_CALLBACK)(S_ACB_UI_INFO *info)
Callback function implemented in the UI. This function is called by the DVB module to query values de...
void ATMR_Initialise(void)
Performs initialisation of the timers, reading existing entries from the database.
void AIP_ConnectToNetwork(BOOLEAN wait_for_completion)
Connect to network based on IP_MODE from NVM e.g. restore from IP NVM and connect to network...
Application database access functions.
void STB_Initialise(E_STB_TTXT_SUBT_CONTROL ttxt_subt_cntrl)
Initialises STB layer.
Header file - macros and function prototypes for public use.
void APP_NvmInitialise(void)
Initialises the DVB core's NVM data.