AIT functionality.
More...
#include <stdio.h>
#include <string.h>
#include "dbgfuncs.h"
#include "techtype.h"
#include "hbbtv_sif_os.h"
#include "debug.h"
#include "queue.h"
#include "ait.h"
#include "hbbtv_string.h"
#include "oipf_app_mgr.h"
#include "hbbtv_control.h"
#include "hbbtv.h"
|
#define | DTAG_APP_DESC 0x00 |
|
#define | DTAG_APP_NAME 0x01 |
|
#define | DTAG_TRANSPORT_PROTOCOL 0x02 |
|
#define | DTAG_EXT_AUTH 0x05 |
|
#define | DTAG_APPLICATION_ICON 0x0b |
|
#define | DTAG_SIMPLE_APP_LOCATION 0x15 |
|
#define | DTAG_APP_USAGE 0x16 |
|
#define | DTAG_SIMPLE_APP_BOUNDARY 0x17 |
|
#define | NUM_RECEIVED_SECTION_MASK_BYTES (256 / 8) |
|
#define | GET_SECTION_MASK_INDEX(section_number) (section_number / 8) |
|
#define | GET_SECTION_MASK_SHIFT(section_number) (section_number % 8) |
|
AIT functionality.
- Date
- September 2011
- Author
- Adam Sturtridge
E_HBBTV_ERR HBBTV_ProcessAitSection |
( |
U16BIT |
service_id, |
|
|
U8BIT * |
data, |
|
|
U32BIT |
nbytes |
|
) |
| |
Requests the HBBTV engine to process the specified AIT.
Requests the HbbTV engine to process the specified AIT. The HbbTV engine expects the relevant AITs only (the first one after HBBTV_Start and when the version changes). If more than one stream is signalled in the PMT for a service with an application_signalling_descriptor, then the application_signalling_descriptor for the stream containing the AIT for the HbbTV application shall include the HbbTV application_type (0x0010).
- Parameters
-
service_id | Service ID he AIT refers to |
data | pointer to the buffer containing the AIT row data |
nbytes | number of bytes contained in data |
- Returns
- HBBTV_OK is the AIT has been parsed correctly, HBBTV_IGNORED_REQUEST if the service ID is not the current one. Other possible error codes are: HBBTV_ERR_COMP_NOT_OPEN, HBBTV_ERR_COMP_NOT_STARTED, HBBTV_ERR_SYSTEM_RESOURCE, HBBTV_ERR_BAD_PARAMETER