• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1  /*
2   * Copyright (C) 2015 NXP Semiconductors
3   *
4   * Licensed under the Apache License, Version 2.0 (the "License");
5   * you may not use this file except in compliance with the License.
6   * You may obtain a copy of the License at
7   *
8   *      http://www.apache.org/licenses/LICENSE-2.0
9   *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16 #ifdef __cplusplus
17 
18 extern "C" {
19 
20 #endif
21 
22 
23 #ifndef JCDNLD_H_
24 #define JCDNLD_H_
25 
26 #include "IChannel.h"
27 /*******************************************************************************
28 **
29 ** Function:        JCDNLD_Init
30 **
31 ** Description:     Initializes the JCOP library and opens the DWP communication channel
32 **
33 ** Returns:         SUCCESS if ok.
34 **
35 *******************************************************************************/
36 unsigned char JCDNLD_Init(IChannel *channel);
37 
38 /*******************************************************************************
39 **
40 ** Function:        JCDNLD_StartDownload
41 **
42 ** Description:     Starts the JCOP update
43 **
44 ** Returns:         SUCCESS if ok.
45 **
46 *******************************************************************************/
47 unsigned char JCDNLD_StartDownload();
48 
49 /*******************************************************************************
50 **
51 ** Function:        JCDNLD_DeInit
52 **
53 ** Description:     Deinitializes the JCOP Lib
54 **
55 ** Returns:         TRUE if ok.
56 **
57 *******************************************************************************/
58 bool JCDNLD_DeInit();
59 
60 /*******************************************************************************
61 **
62 ** Function:        JCDNLD_CheckVersion
63 **
64 ** Description:     Check the existing JCOP OS version
65 **
66 ** Returns:         TRUE if ok.
67 **
68 *******************************************************************************/
69 bool JCDNLD_CheckVersion();
70 
71 
72 #endif /* JCDNLD_H_ */
73 
74 #ifdef __cplusplus
75 
76 }
77 
78 #endif
79