| CE Gobi SDK 2.7 GobiApi

- Main Page
- Modules
- Classes
- Files

- File List

GobiImageMgmtAPI.h
1 /*===========================================================================
2 FILE:
3 GobiImageMgmtAPI.h
4
5 DESCRIPTION:
6 QUALCOMM Image Management API for Gobi 3000
7
8 Copyright (C) 2011 QUALCOMM Incorporated. All rights reserved.
9 QUALCOMM Proprietary/GTDR
10
11 All data and information contained in or disclosed by this document is
12 confidential and proprietary information of QUALCOMM Incorporated and all
13 rights therein are expressly reserved. By accepting this material the
14 recipient agrees that this material and the information contained therein
15 is held in confidence and in trust and will not be used, copied, reproduced
16 in whole or in part, nor its contents revealed in any manner to others
17 without the express written permission of QUALCOMM Incorporated.
18 ==========================================================================*/
19
20 /*=========================================================================*/
21 // Pragmas
22 /*=========================================================================*/
23 #pragma once
24
25 //---------------------------------------------------------------------------
26 // Definitions
27 //---------------------------------------------------------------------- -----
28
29 // The actual Gobi IM API functions are tagged/exported with this
30 #ifndef IMPORTGOBI
31 #define IMPORTGOBI extern "C" __declspec( dllimport )
32 #endif
33
34 // Calling convention for API
35 #define GOBIAPI __cdecl
36
37 /*=========================================================================*/
38 // Definitions
39 /*=========================================================================*/
40
45
46 /*=========================================================================*/
47 // Structs
48 /*=========================================================================*/
49
50 #ifdef __cplusplus
51 extern "C" {
52 #endif
53
54 #define UNIQUE_ID_LEN 16
55 #define MAX_BUILDID_LEN 255
56 #define MAX_NO_OF_FW 5
57
58 typedef struct
59 {
60 BYTE imageType;
61 CHAR uniqueID[UNIQUE_ID_LEN];
62 BYTE buildIDLen;
63 CHAR buildID[MAX_BUILDID_LEN];
64 } curFwImageList;
65
66 typedef struct
67 {
68 BYTE numInstances;
69 curFwImageList fwImage[MAX_NO_OF_FW];
70 } arrFwImageList;
71
72
73
74 #ifdef __cplusplus
75 };
76 #endif
77
78 /*=========================================================================*/
79 // Prototypes
80 /*=========================================================================*/
81
82
83
84
85
95 IMPORTGOBI ULONG GOBIAPI GetBARMode( ULONG * pBARMode );
96
97 /*=========================================================================*/
106 IMPORTGOBI ULONG GOBIAPI SetBARMode();
107
108
109
125 IMPORTGOBI ULONG GOBIAPI GetStoredImageInfo(
126 ULONG imageInfoSize,
127 BYTE * pImageInfo,
128 ULONG * pMajorVersion,
129 ULONG * pMinorVersion,
130 ULONG * pVersionID,
131 CHAR * pInfo,
132 ULONG * pLockID );
133
144 IMPORTGOBI ULONG GOBIAPI DeleteStoredImage(
145 ULONG imageInfoSize,
146 BYTE * pImageInfo );
147
148 // End of GIM group
GetBARMode
IMPORTGOBI ULONG GOBIAPI GetBARMode(ULONG *pBARMode)
curFwImageList
Definition: GobiImageMgmtAPI.h:58
arrFwImageList
Definition: GobiImageMgmtAPI.h:66
SetBARMode
IMPORTGOBI ULONG GOBIAPI SetBARMode()
DeleteStoredImage
IMPORTGOBI ULONG GOBIAPI DeleteStoredImage(ULONG imageInfoSize, BYTE *pImageInfo)
GetStoredImageInfo
IMPORTGOBI ULONG GOBIAPI GetStoredImageInfo(ULONG imageInfoSize, BYTE *pImageInfo, ULONG *pMajorVersion, ULONG *pMinorVersion, ULONG *pVersionID, CHAR *pInfo, ULONG *pLockID)