DVBCore  17.9.0
Open Source DVB Engine
 All Data Structures Files Functions Typedefs Macros Pages
Typedefs | Functions
stbota.h File Reference

API interfacing the midware with Intellibyte loader library. More...

#include "techtype.h"

Go to the source code of this file.

Typedefs

typedef BOOLEAN(* F_SSU_VERSION_CALLBACK )(U32BIT group_id, U32BIT group_size, U16BIT hw_model, U16BIT hw_version, U16BIT sw_model, U16BIT sw_version)
 

Functions

BOOLEAN STB_OTAStartLoader (U8BIT path, U16BIT onet_id, U16BIT tran_id, U16BIT serv_id, U16BIT download_pid, F_SSU_VERSION_CALLBACK version_cb)
 Starts the over-the-air download process. More...
 
U8BIT STB_OTAGetProgress (void)
 Returns the SSU download progress as a percentage. More...
 
void STB_OTAContinueDownload (BOOLEAN status)
 This function should be called to unblock the download process. This can be used to in the case where an update may not be mandatory to allow a user to reject an update. More...
 
void STB_OTAStopLoader (void)
 Stops the download process. More...
 

Detailed Description

API interfacing the midware with Intellibyte loader library.

Date
06/10/2009
Author
Sergio Panseri

Function Documentation

void STB_OTAContinueDownload ( BOOLEAN  status)

This function should be called to unblock the download process. This can be used to in the case where an update may not be mandatory to allow a user to reject an update.

Parameters
statusTRUE if the download should continue, FALSE otherwise
U8BIT STB_OTAGetProgress ( void  )

Returns the SSU download progress as a percentage.

Returns
Download progress as a percentage
BOOLEAN STB_OTAStartLoader ( U8BIT  path,
U16BIT  onet_id,
U16BIT  tran_id,
U16BIT  serv_id,
U16BIT  download_pid,
F_SSU_VERSION_CALLBACK  version_cb 
)

Starts the over-the-air download process.

Parameters
onet_idoriginal network ID of the transport containing the DSM-CC carousel
tran_idtransport ID of the transport containing the DSM-CC carousel
serv_idservice ID of the DSM-CC carousel, or DVB_INVALID_ID if the PID is given
download_pidPID containing the download, or DVB_INVALID_ID if the service ID is given
version_cbcallback function that will be called when version info becomes available. If the callback is NULL then the update will always be accepted
Returns
TRUE if the update process is started, FALSE otherwise
void STB_OTAStopLoader ( void  )

Stops the download process.

Stops the download process.