37 #define HBBTV_DBG_THBBAPI 1
38 #define HBBTV_DBG_TAIT (1 << 2)
39 #define HBBTV_DBG_TKEYS (1 << 3)
40 #define HBBTV_DBG_TAPP (1 << 4)
41 #define HBBTV_DBG_TPVR (1 << 5)
42 #define HBBTV_DBG_TAV (1 << 6)
43 #define HBBTV_DBG_TOBJS (1 << 7)
44 #define HBBTV_DBG_TSTRMEV (1 << 8)
45 #define HBBTV_DBG_TVB (1 << 9)
46 #define HBBTV_DBG_TCHN (1 << 10)
47 #define HBBTV_DBG_TAVC (1 << 11)
48 #define HBBTV_DBG_TSRCH (1 << 12)
49 #define HBBTV_DBG_TDRM (1 << 13)
54 #define HBBTV_CAP_DL 1
59 #define HBBTV_CAP_PVR 2
64 #define HBBTV_CAP_DRM 4
71 HBBTV_CHANNEL_CHANGE_SUCCEEDED,
72 HBBTV_CHANNEL_CHANGE_WRONG_TUNER,
73 HBBTV_CHANNEL_CHANGE_NO_SIGNAL,
74 HBBTV_CHANNEL_CHANGE_TUNER_IN_USE,
75 HBBTV_CHANNEL_CHANGE_PARENTAL_LOCKED,
76 HBBTV_CHANNEL_CHANGE_ENCRYPTED,
77 HBBTV_CHANNEL_CHANGE_UNKNOWN_CHANNEL,
78 HBBTV_CHANNEL_CHANGE_INTERRUPTED,
79 HBBTV_CHANNEL_CHANGE_RECORDING_IN_PROGRESS,
80 HBBTV_CHANNEL_CHANGE_INSUFFICIENT_RESOURCES,
81 HBBTV_CHANNEL_CHANGE_CHANNEL_NOT_IN_TS,
82 HBBTV_CHANNEL_CHANGE_UNKNOWN_ERROR
83 } E_HBBTV_CHANNEL_CHANGE_STATUS;
98 HBBTV_RECPLAYER_STOPPED,
99 HBBTV_RECPLAYER_PLAYING,
100 HBBTV_RECPLAYER_PAUSED,
101 HBBTV_RECPLAYER_BUFFERING,
103 HBBTV_RECPLAYER_ERROR
104 } E_HBBTV_RECPLAYER_STATE;
108 HBBTV_RECORDING_STARTED,
109 HBBTV_RECORDING_COMPLETED,
110 HBBTV_RECORDING_PART_COMPLETED,
111 HBBTV_RECORDING_ERROR,
112 HBBTV_RECORDING_TS_STARTING,
113 HBBTV_RECORDING_TS_STARTED,
114 HBBTV_RECORDING_TS_STOPPED
115 } E_HBBTV_RECORDING_EVENT;
119 HBBTV_STRING_FORMAT_SI,
120 HBBTV_STRING_FORMAT_HBBTV
121 } E_HBBTV_STRING_FORMAT;
128 HBBTV_PVR_STORAGE_DISCONNECTED = 0,
129 HBBTV_PVR_STORAGE_ERROR = 1,
130 HBBTV_PVR_STORAGE_CONNECTED = 2
138 HBBTV_NW_DISCONNECTED = 0,
140 HBBTV_NW_CONNECTED = 2
148 HBBTV_DRM_NO_LICENSE,
149 HBBTV_DRM_INVALID_LICENSE,
150 HBBTV_DRM_VALID_LICENSE
161 typedef void (*F_HBBTV_DRM_SEND)(U8BIT *message, U32BIT length, U32BIT id,
void *user_data);
183 E_HBBTV_ERR
HBBTV_Initialise(U32BIT task_priority, E_HBBTV_STRING_FORMAT string_format,
284 E_HBBTV_CHANNEL_CHANGE_STATUS status);
359 E_HBBTV_ERR
HBBTV_DRMRegister(U16BIT ca_system_id, F_HBBTV_DRM_SEND send_function,
void *user_data);
402 U8BIT *rights_issuer_url, U32BIT rights_issuer_length);
Definition: hbbtv_types.h:159
E_HBBTV_KEY
Key codes.
Definition: hbbtv_types.h:87
Definition: hbbtv_types.h:189
void HBBTV_DBGSetMask(U32BIT debug_mask)
Sets the debug mask.
Definition: debug.c:54
E_HBBTV_DRM_ERROR_STATE
OIPF Vol.5, section 7.13.6.
Definition: hbbtv.h:146
Definition of general purpose types.
E_HBBTV_ERR HBBTV_NotifyDRMRightsError(E_HBBTV_DRM_ERROR_STATE error_state, U16BIT ca_system_id, U8BIT *rights_issuer_url, U32BIT rights_issuer_length)
Notifies an incoming rights error from the DRM system.
Definition: hbbtv_control.c:887
void HBBTV_DRMUnregister(U16BIT ca_system_id)
Unregisters a DRM system with the HbbTV engine. Unegistering a new DRM system will also change the ca...
Definition: oipf_drm_agent.c:232
E_HBBTV_ERR HBBTV_NotifyChannelChangeStatus(U16BIT onet_id, U16BIT trans_id, U16BIT serv_id, E_HBBTV_CHANNEL_CHANGE_STATUS status)
Notifies the HbbTV engine of a change in the status of the service identified by the specified DVB tr...
Definition: hbbtv_control.c:494
void HBBTV_DsmccRequestFile(void *user_data, U8BIT *url)
Request file from DSMCC (with 'dvb:' origin). The result is returned via function given to HBBTV_Dsmc...
Definition: dsmclient.c:417
void HBBTV_ReleaseAppList(S_HBBTV_BROADCAST_APP *apps)
Releases the list of applications allocated by HBBTV_GetBroadcastAppList.
Definition: hbbtv_control.c:418
E_HBBTV_ERR HBBTV_NotifyDRMSystemMessage(U8BIT *message, U32BIT length, U16BIT ca_system_id)
Notifies an incoming message from the DRM system. The HbbTV engine copies the content of message befo...
Definition: hbbtv_control.c:803
E_HBBTV_ERR HBBTV_DRMRegister(U16BIT ca_system_id, F_HBBTV_DRM_SEND send_function, void *user_data)
Registers a DRM system with the HbbTV engine. Registering a new DRM system will also change the capab...
Definition: oipf_drm_agent.c:191
E_HBBTV_ERR HBBTV_LaunchApplication(U32BIT org_id, U16BIT app_id)
Launches the specified application.
Definition: hbbtv_control.c:430
void HBBTV_Finalise(void)
Finalises the HBBTV module.
Definition: hbbtv_control.c:192
E_HBBTV_ERR HBBTV_NotifyParentalRatingChange(BOOLEAN blocked)
Notifies the HbbTV engine that the parental rating of the currently playing service has changed...
Definition: hbbtv_control.c:469
E_HBBTV_ERR HBBTV_NotifyKeyPress(E_HBBTV_KEY key)
Notifies the HbbTV engine of a user key press. If the key is not required by an active HbbTV applicat...
Definition: hbbtv_control.c:572
E_HBBTV_NW_EVENT
See Freesat OPAL v1.0, section 8.6.1.1.
Definition: hbbtv.h:136
void HBBTV_Start(S_HBBTV_DVB_LOCATOR *p_dvb_locator)
Allows the HbbTV engine to run on the specified channel and handle the applications lifecyle as speci...
Definition: hbbtv_control.c:206
E_HBBTV_ERR HBBTV_HbbTvSetUrl(const U8BIT *url)
Launches a "Broadcast-INDEPENDENT" application. The url could be an XML-AIT file. ...
Definition: hbbtv_control.c:331
E_HBBTV_ERR HBBTV_ProcessAitSection(U16BIT service_id, U8BIT *data, U32BIT nbytes)
Requests the HbbTV engine to process the specified AIT. The HbbTV engine expects the relevant AITs on...
Definition: ait.c:902
E_HBBTV_ERR HBBTV_NotifyDRMMessageResult(U32BIT id, U8BIT *message, U32BIT length, U8BIT result_code)
Notifies the result message from the DRM system.The HbbTV engine copies the content of message before...
Definition: hbbtv_control.c:845
void HBBTV_MPNotifyState(void *ihdl, E_HBBTV_MP_STATE state)
Notifies the HbbTV engine that the media player state has changed.
Definition: av_control.c:1284
E_HBBTV_ERR HBBTV_SetFreesatCallbacks(S_HBBTV_FREESAT_CALLBACKS *callbacks)
Registers Freesat callbacks with the HbbTV engine.
Definition: hbbtv_control.c:980
void HBBTV_DsmccSetCallback(F_HBBTV_DSMCC_FILE_CALLBACK func)
Provide function to return result of file requests.
Definition: dsmclient.c:403
E_HBBTV_ERR HBBTV_NotifyServiceListChange(void)
Notifies the HbbTV ending that it must update Service list. This will cause the engine to subsequentl...
Definition: hbbtv_control.c:448
E_HBBTV_PVR_STORAGE_EVENT
See Freesat OPAL v1.0, section 8.5.1.4.
Definition: hbbtv.h:126
E_HBBTV_ERR HBBTV_NotifyPvrStorageEvent(E_HBBTV_PVR_STORAGE_EVENT event)
Notifies the HbbTV engine of a PVR storage event.
Definition: hbbtv_control.c:736
E_HBBTV_ERR HBBTV_NotifyRecordingPlayerState(void *ihdl, E_HBBTV_RECPLAYER_STATE state)
Notifies the HbbTV engine that the media player state has changed.
Definition: av_control.c:1433
Structure containing function pointers used by the HbbTV engine to retrieve Freesat specific data...
Definition: hbbtv_types.h:265
System Wide Global Technical Data Type Definitions.
E_HBBTV_ERR HBBTV_NotifyRecordingEvent(U32BIT id, E_HBBTV_RECORDING_EVENT event)
Notifies the HbbTV engine of a recording event.
Definition: hbbtv_control.c:540
E_HBBTV_ERR HBBTV_NotifyVideoAspectRatio(E_HBBTV_ASPECT_RATIO ratio)
Notifies the HBBTV module of the aspect ratio of the video stream. This is used by the engine to corr...
Definition: hbbtv_control.c:635
E_HBBTV_ERR HBBTV_GetBroadcastAppList(S_HBBTV_BROADCAST_APP **apps, U32BIT *total)
Returns a list of HbbTv Broadcast Appications signalled in the current AIT. The list must be freed us...
Definition: hbbtv_control.c:374
void(* F_HBBTV_DSMCC_FILE_CALLBACK)(void *user_data, U32BIT err, U8BIT *data, U32BIT size)
Callback function to provide result of file request (using HBBTV_DsmccRequestFile) ...
Definition: hbbtv.h:170
E_HBBTV_ERR HBBTV_NotifyProgrammeChanged(void)
Notifies the HbbTV engine that the present/following events have changed on the current service...
Definition: hbbtv_control.c:519
E_HBBTV_ERR HBBTV_Initialise(U32BIT task_priority, E_HBBTV_STRING_FORMAT string_format, U8BIT options)
Initialises the HBBTV module.
Definition: hbbtv_control.c:86
E_HBBTV_ERR HBBTV_NotifyNetworkEvent(void *handle, E_HBBTV_NW_EVENT event)
Notifies the HbbTV engine of a network event.
Definition: hbbtv_control.c:768
void HBBTV_Stop(void)
Stops the HbbTV engine and prevents any HbbTV application to be displayed.
Definition: hbbtv_control.c:233
E_HBBTV_ERR HBBTV_NotifyLowMemory(void)
Notifies the HbbTv engine that the device is running low on available memory for running applications...
Definition: hbbtv_control.c:951
E_HBBTV_ERR HBBTV_SetSystemInfo(S_HBBTV_SYSTEM_INFO *info)
Informs the HbbTV engine of some information regarding the system. The HbbTV engine makes a copy of t...
Definition: hbbtv_control.c:663