DSMCC engine interface.
More...
#include <stdio.h>
#include <techtype.h>
#include <dbgfuncs.h>
#include "hbbtv_sif_os.h"
#include "hbbtv_sif_service.h"
#include "hbbtv.h"
#include "dsmclient.h"
#include "debug.h"
DSMCC engine interface.
- Date
- February 2014
- Author
- Sergio Panseri
void HBBTV_DsmccInitialise |
( |
U32BIT |
task_priority | ) |
|
Initialises the interface with the DSMCC engine.
- Parameters
-
task_priority | HBBTV module task priority |
void HBBTV_DsmccRequestFile |
( |
void * |
user_data, |
|
|
U8BIT * |
url |
|
) |
| |
Request file from DSMCC (with 'dvb:' origin). The result is returned via function given to HBBTV_DsmccSetCallback(). This may be done synchronously or asynchronously.
- Parameters
-
user_data | User data to be given to callback function |
url | URL of the file to request |
Provide function to return result of file requests.
- Parameters
-
func | callback function to inform browser of result |
E_HBBTV_ERR HBBTV_DsmccSubscribe |
( |
U8BIT * |
path, |
|
|
S_STREAM_EVENT * |
event |
|
) |
| |
Subscribes to the specified event.
- Parameters
-
path | Path of a carousel object |
event | Structure representing the event to subscribe to |
- Returns
- HBBTV_ERR_OBJECT_NOT_FOUND if the subscription failed, HBBTV_OK otherwise
E_HBBTV_ERR HBBTV_DsmccSubscribeId |
( |
U16BIT |
association_tag, |
|
|
U16BIT |
event_id, |
|
|
S_STREAM_EVENT * |
event |
|
) |
| |
Subscribes to the specified event.
- Parameters
-
association_tag | |
event_id | |
event | Structure representing the event to subscribe to |
- Returns
- HBBTV_ERR_OBJECT_NOT_FOUND if the subscription failed, HBBTV_OK otherwise
Unsubscribes from the specified event.
- Parameters
-
event | Structure representing the event to unsubscribe from |