| CE Gobi SDK 2.7 GobiApi

- Main Page
- Modules
- Classes
- Files

- File List

GobiAPI.h
1 #ifndef __GOBIAPI_H__
2 /*===========================================================================
3 FILE:
4 GobiAPI.h
5
6 DESCRIPTION:
7 Sierra Wirless CE Gobi SDK Top level header file
8
9 Copyright (C) 2015 Sierra Wireless Incorporated. All rights reserved.
10 Sierra Wireless Proprietary/GTDR
11 ==========================================================================*/
12
13
14
15
16 /*=========================================================================*/
17 // ANSI/UNICODE Varaints
18 /*=========================================================================*/
19 #ifdef UNICODE
20 #define GetFirmwareID GetFirmwareIDW
21 #define UpgradeFirmware UpgradeFirmwareW
22 #define UpgradeFirmware2k UpgradeFirmware2kW
23 #define GetImageInfo GetImageInfoW
24 #define GetImageStore GetImageStoreW
25
26 #else
27 #define GetFirmwareID GetFirmwareIDA
28 #define UpgradeFirmware UpgradeFirmwareA
29 #define UpgradeFirmware2k UpgradeFirmware2kA
30 #define GetImageInfo GetImageInfoA
31 #define GetImageStore GetImageStoreA
32 #endif
33
34 #include <Windows.h>
35 #include <GobiAPIDefs.h>
36
41
42 // Device removal callback function
43 typedef void (GOBICALLBACK * tFNDeviceRemoval)();
44
45
55 IMPORTGOBI ULONG GOBICMAPI SetDeviceRemovalCallback(
56 tFNDeviceRemoval pCallback );
57
72 IMPORTGOBI ULONG GOBICMAPI GetImageStoreA(
73 WORD pathSize,
74 CHAR * pImageStorePath );
75
91 IMPORTGOBI ULONG GOBICMAPI GetImageInfoA(
92 CHAR * pPath,
93 ULONG * pFirmwareID,
94 ULONG * pTechnology,
95 ULONG * pCarrier,
96 ULONG * pRegion,
97 ULONG * pGPSCapability );
98
99
115 IMPORTGOBI ULONG GOBICMAPI GetImageInfoW(
116 WCHAR * pPath,
117 ULONG * pFirmwareID,
118 ULONG * pTechnology,
119 ULONG * pCarrier,
120 ULONG * pRegion,
121 ULONG * pGPSCapability );
122
123
141 IMPORTGOBI ULONG GOBICMAPI UpgradeFirmware2kA( CHAR * pDestinationPath );
142
160 IMPORTGOBI ULONG GOBICMAPI UpgradeFirmware2kW( WCHAR * pDestinationPath );
161
179 IMPORTGOBI ULONG GOBICMAPI UpgradeFirmware2kA( CHAR * pDestinationPath );
180
181
182
197 IMPORTGOBI ULONG GOBICMAPI GetImageStoreW(
198 WORD pathSize,
199 WCHAR * pImageStorePath );
200
220 IMPORTGOBI ULONG GOBICMAPI UpgradeFirmwareA(
221 CHAR * pSourcePath,
222 CHAR * pDestinationPath );
223
245 IMPORTGOBI ULONG GOBICMAPI UpgradeFirmwareW(
246 WCHAR * pSourcePath,
247 WCHAR * pDestinationPath );
248
249
250
263 IMPORTGOBI ULONG GOBICMAPI GetFirmwareIDA(
264 CHAR * pPath,
265 ULONG * pFirmwareID );
266
278 IMPORTGOBI ULONG GOBICMAPI GetFirmwareIDW(
279 WCHAR * pPath,
280 ULONG * pFirmwareID );
281
282
296 IMPORTGOBI ULONG GOBICMAPI QCWWAN2kEnumerateDevices(
297 BYTE * pDevicesSize,
298 BYTE * pDevices );
299
311 IMPORTGOBI ULONG GOBICMAPI QCWWAN2kConnect(
312 CHAR * pDeviceID,
313 CHAR * pDeviceKey );
314
325 IMPORTGOBI ULONG GOBICMAPI QCWWANConnect();
326
335 IMPORTGOBI ULONG GOBICMAPI QCWWANCancel();
336
345 IMPORTGOBI ULONG GOBICMAPI QCWWANDisconnect();
346
362 IMPORTGOBI ULONG GOBICMAPI QCWWAN2kGetConnectedDeviceID(
363 ULONG deviceIDSize,
364 CHAR * pDeviceID,
365 ULONG deviceKeySize,
366 CHAR * pDeviceKey );
367
380 IMPORTGOBI ULONG GOBICMAPI QCWWANGetConnectedDeviceID(
381 ULONG stringSize,
382 CHAR * pString );
383 // End of basic group
385
386
387
388 #include <SwiWwanCmApi.h>
389 #include <GobiConnectionMgmtAPI.h>
390 #include <QMIDMS.h>
391 #include <GobiImageMgmtAPI.h>
392 #include <GobiPBMgmtAPI.h>
393 #include <GobiUIMMgmtAPI.h>
394 #include <GobiVoiceMgmtAPI.h>
395 #include <QCWWANCMAPI2k.h>
396 #include <SwiM2MAVAPI.h>
397 #include <QmiWDS.h>
398 #include <QmiNAS.h>
399 #include <SwiDMS.h>
400 #include <QmiCAT.h>
401 #include <QmiPDS.h>
402 #include <QmiWMS.h>
403 #include <QmiOMA.h>
404 #include <QmiRMS.h>
405 #include <SwiOMADMEX.h>
406 #include <PlaceHolder.h>
407
408
409
410 #endif
UpgradeFirmwareA
IMPORTGOBI ULONG GOBICMAPI UpgradeFirmwareA(CHAR *pSourcePath, CHAR *pDestinationPath)
GetImageInfoA
IMPORTGOBI ULONG GOBICMAPI GetImageInfoA(CHAR *pPath, ULONG *pFirmwareID, ULONG *pTechnology, ULONG *pCarrier, ULONG *pRegion, ULONG *pGPSCapability)
UpgradeFirmware2kW
IMPORTGOBI ULONG GOBICMAPI UpgradeFirmware2kW(WCHAR *pDestinationPath)
GetFirmwareIDA
IMPORTGOBI ULONG GOBICMAPI GetFirmwareIDA(CHAR *pPath, ULONG *pFirmwareID)
QCWWANCancel
IMPORTGOBI ULONG GOBICMAPI QCWWANCancel()
QCWWAN2kEnumerateDevices
IMPORTGOBI ULONG GOBICMAPI QCWWAN2kEnumerateDevices(BYTE *pDevicesSize, BYTE *pDevices)
GetImageStoreA
IMPORTGOBI ULONG GOBICMAPI GetImageStoreA(WORD pathSize, CHAR *pImageStorePath)
GetImageInfoW
IMPORTGOBI ULONG GOBICMAPI GetImageInfoW(WCHAR *pPath, ULONG *pFirmwareID, ULONG *pTechnology, ULONG *pCarrier, ULONG *pRegion, ULONG *pGPSCapability)
GetImageStoreW
IMPORTGOBI ULONG GOBICMAPI GetImageStoreW(WORD pathSize, WCHAR *pImageStorePath)
QCWWAN2kConnect
IMPORTGOBI ULONG GOBICMAPI QCWWAN2kConnect(CHAR *pDeviceID, CHAR *pDeviceKey)
QCWWANDisconnect
IMPORTGOBI ULONG GOBICMAPI QCWWANDisconnect()
QCWWANConnect
IMPORTGOBI ULONG GOBICMAPI QCWWANConnect()
QCWWAN2kGetConnectedDeviceID
IMPORTGOBI ULONG GOBICMAPI QCWWAN2kGetConnectedDeviceID(ULONG deviceIDSize, CHAR *pDeviceID, ULONG deviceKeySize, CHAR *pDeviceKey)
SetDeviceRemovalCallback
IMPORTGOBI ULONG GOBICMAPI SetDeviceRemovalCallback(tFNDeviceRemoval pCallback)
UpgradeFirmware2kA
IMPORTGOBI ULONG GOBICMAPI UpgradeFirmware2kA(CHAR *pDestinationPath)
GetFirmwareIDW
IMPORTGOBI ULONG GOBICMAPI GetFirmwareIDW(WCHAR *pPath, ULONG *pFirmwareID)
QCWWANGetConnectedDeviceID
IMPORTGOBI ULONG GOBICMAPI QCWWANGetConnectedDeviceID(ULONG stringSize, CHAR *pString)
UpgradeFirmwareW
IMPORTGOBI ULONG GOBICMAPI UpgradeFirmwareW(WCHAR *pSourcePath, WCHAR *pDestinationPath)