DVBCore  17.9.0
Open Source DVB Engine
 All Data Structures Files Functions Typedefs Macros Pages
stbota.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3  * Copyright © 2009 Ocean Blue Software Ltd
4  *
5  * This file is part of a DTVKit Software Component
6  * You are permitted to copy, modify or distribute this file subject to the terms
7  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
8  *
9  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
10  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
11  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
12  *
13  * If you or your organisation is not a member of DTVKit then you have access
14  * to this source code outside of the terms of the licence agreement
15  * and you are expected to delete this and any associated files immediately.
16  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
17  *******************************************************************************/
24 #ifndef _STBOTA_H
25 #define _STBOTA_H
26 
27 #include "techtype.h"
28 
29 /*---Constant and macro definitions for public use-----------------------------*/
30 
31 /*---Enumerations for public use-----------------------------------------------*/
32 
33 /*---Global type defs for public use-------------------------------------------*/
34 typedef BOOLEAN (*F_SSU_VERSION_CALLBACK)(U32BIT group_id, U32BIT group_size, U16BIT hw_model,
35  U16BIT hw_version, U16BIT sw_model, U16BIT sw_version);
36 
37 /*---Global Function prototypes for public use---------------------------------*/
38 
49 BOOLEAN STB_OTAStartLoader(U8BIT path, U16BIT onet_id, U16BIT tran_id, U16BIT serv_id,
50  U16BIT download_pid, F_SSU_VERSION_CALLBACK version_cb);
51 
56 U8BIT STB_OTAGetProgress(void);
57 
64 void STB_OTAContinueDownload(BOOLEAN status);
65 
69 void STB_OTAStopLoader(void);
70 
71 #endif /* _STBOTA_H */
72 
73 /******************************************************************************
74 ** End of file
75 ******************************************************************************/
void STB_OTAContinueDownload(BOOLEAN status)
This function should be called to unblock the download process. This can be used to in the case where...
Definition: stbota.c:292
void STB_OTAStopLoader(void)
Stops the download process.
Definition: stbota.c:220
System Wide Global Technical Data Type Definitions.
U8BIT STB_OTAGetProgress(void)
Returns the SSU download progress as a percentage.
Definition: stbota.c:250
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.
Definition: stbota.c:133