MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
Macros | Typedefs | Functions
glue_dsmcc.c File Reference

Interface functions to DSM-CC instance for MHEG5. More...

#include "stb_os.h"
#include "glue_memory.h"
#include "glue_debug.h"
#include "glue_queue.h"
#include "glue_main.h"
#include "dsm_client.h"
#include "dsm_control.h"
#include "mh5queue.h"
#include "mh5control.h"
#include "mh5display.h"
#include "dvb_service.h"
#include "dvb_native.h"
#include "glue_dsmcc.h"
#include "glue_events.h"

Macros

#define DBC_ID_SSU   0x000A
 
#define DBC_ID_MHEG5   0x0106
 
#define DBC_ID_OAD   0x0111
 
#define DBC_ID_HBBTV   0x0123
 
#define DBC_ID_MHP0   0x00F0
 
#define DBC_ID_MHP1   0x00F1
 
#define MHEG_NETBOOT_DESC   0x01
 
#define MHEG_SERVICE_DESC   0x02
 
#define DBC_PREF_NONE   0x0000
 
#define DBC_PREF_MHEG5   0x0100
 
#define INVALID_ATAG   0xFFFF
 
#define LIFECYCLE_EVENT_ID   0xFFFF
 
#define INVALID_NB   0xFF
 
#define MAX_PATH_NAME_SIZE   65
 
#define DSMCC_SECTION_CACHE_64K_BUFFERS   16
 
#define DSMCC_WORKING_4K_BUFFER_POOL   180
 
#define MAX_LANG_CODES   1
 
#define DVB_MhegOsdLanguageCodes   MhegOsdLanguageCodes
 

Typedefs

typedef struct s_dbc_app S_DBC_APP
 
typedef struct s_service_dbc S_SERVICE_DBC
 

Functions

U8BIT MhegOsdLanguageCodes (U32BIT *langcodes, U8BIT max)
 
void StopLifecycle (void)
 Clear MHEG Lifecycle Event listening. More...
 
BOOLEAN MH5GlueSiqNetBootInfo (S_STRING *nbinfo)
 Get current MHEG net boot info existance and nb info string. More...
 
E_MhegErr MH5GlueDsmccOpen (U32BIT taskPriority)
 
void MH5GlueDsmccClose (void)
 
E_MhegErr MH5GlueDsmccStart (S_DVB_LOCATOR *pDvbLoc, U32BIT carouselId, BOOLEAN clear)
 
void MH5GlueDsmccStop (U8BIT action)
 
void * MHEG5_DsmccInstance (void)
 Get the DSMCC instance handle. More...
 
void RunAutoboot (S_CONTENT *pContent)
 
void MH5GlueDsmccMHEGInitialBoot (void)
 Causes the autoboot application to be launched. The component must be in the correct state (DSM-CC booted and no application starting or running) before calling this function. More...
 
void MH5GlueDsmccReboot (void)
 

Detailed Description

Interface functions to DSM-CC instance for MHEG5.

Date
10 October 2013
Author
Adam Sturtridge

Function Documentation

void MH5GlueDsmccMHEGInitialBoot ( void  )

Causes the autoboot application to be launched. The component must be in the correct state (DSM-CC booted and no application starting or running) before calling this function.

Returns
E_FsStatus
BOOLEAN MH5GlueSiqNetBootInfo ( S_STRING nbinfo)

Get current MHEG net boot info existance and nb info string.

Parameters
S_STRING*pointer to return netboot info string
Returns
BOOLEAN - TRUE if net boot info descriptor exists
void* MHEG5_DsmccInstance ( void  )

Get the DSMCC instance handle.

Returns
dsmcc instance
void StopLifecycle ( void  )

Clear MHEG Lifecycle Event listening.

Returns
void.