12 #ifndef __GOBI_API_FMS_H__
13 #define __GOBI_API_FMS_H__
20 #define SLQSFWINFO_MODELID_SZ 20
21 #define SLQSFWINFO_BOOTVERSION_SZ 85
22 #define SLQSFWINFO_APPVERSION_SZ 85
23 #define SLQSFWINFO_SKU_SZ 15
24 #define SLQSFWINFO_PACKAGEID_SZ 85
25 #define SLQSFWINFO_CARRIER_SZ 20
26 #define SLQSFWINFO_PRIVERSION_SZ 16
27 #define SLQSFWINFO_CUR_CARR_NAME 17
28 #define SLQSFWINFO_CUR_CARR_REV 13
30 #define GOBI_MBN_IMG_ID_STR_LEN 16
31 #define GOBI_MBN_BUILD_ID_STR_LEN 100
32 #define GOBI_LISTENTRIES_MAX 2
33 #define GOBI_SET_IMG_PREF_RSPLEN 40
34 #define DEVICE_SHUTDOWN 5
35 #define DEVICE_RESET 4
36 #define DEVICE_OFFLINE 3
38 #define FIRMWARE_UPDATE_SUCCESS 0x01
39 #define FIRMWARE_UPDATE_FAIL 0x01
40 #define PRI_UPDATE_FAIL 0x02
41 #define FIRMWARE_UPGRADE_SUCCESS 0x00
44 #define BUILD_ID_LEN 100
45 #define G3K_FIRMWARE_DOWNLOAD 1
46 #define SPKG_FIRMWARE_DOWNLOAD 2
165 WORD imageStorePathSize,
166 CHAR *pImageStorePath );
389 CHAR *pDestinationPath );
467 ULONG *pImageListSize,
514 ULONG bForceDownload,
516 ULONG *pImageTypesSize,
627 ULONG *pImageListSize,
730 CHAR *pDestinationPath );
954 ULONG *pValidCombinationSize,
Definition: qaGobiApiFms.h:197
Definition: qaGobiApiFms.h:211
Definition: qaGobiApiFms.h:195
ULONG SetImagesPreference(ULONG imageListSize, BYTE *pImageList, ULONG bForceDownload, BYTE modemIndex, ULONG *pImageTypesSize, BYTE *pImageTypes)
void eGetDeviceSeries(struct sGetDeviceSeriesResult *)
CHAR buildID[100]
Definition: qaGobiApiFms.h:553
Definition: qaGobiApiFms.h:182
ULONG SLQSUpgradeFirmware9x15(CHAR *pDestinationPath)
ULONG GetImageStore(WORD imageStorePathSize, CHAR *pImageStorePath)
char CHAR
Definition: SwiDataTypes.h:33
#define SLQSFWINFO_APPVERSION_SZ
Definition: qaGobiApiFms.h:22
Definition: qaGobiApiFms.h:183
ULONG m_nCarrierId
Definition: qaGobiApiFms.h:852
void SLQSSetCrashStateCheckIgnore(BOOL ignore)
ULONG upgrade_mc77xx_fw(LPCSTR path)
#define BUILD_ID_LEN
Definition: qaGobiApiFms.h:44
struct fwinfo_s g
Definition: qaGobiApiFms.h:142
unsigned char BYTE
Definition: SwiDataTypes.h:32
#define GOBI_MBN_BUILD_ID_STR_LEN
Definition: qaGobiApiFms.h:31
Definition: qaGobiApiFms.h:216
ULONG SLQSSwiGetAllCarrierImages(ULONG *pNumOfItems, struct SWI_STRUCT_CarrierImage *pCarrierImages, char *pFolderPath)
Definition: qaGobiApiFms.h:227
CHAR packageid_str[85]
Definition: qaGobiApiFms.h:100
Definition: qaGobiApiFms.h:242
Definition: qaGobiApiFms.h:191
struct ImageElement listEntries[2]
Definition: qaGobiApiFms.h:438
Definition: qaGobiApiFms.h:210
Definition: qaGobiApiFms.h:189
BYTE imageType
Definition: qaGobiApiFms.h:579
Definition: qaGobiApiFms.h:214
Definition: qaGobiApiFms.h:228
BYTE m_FwImageId[16]
Definition: qaGobiApiFms.h:855
eGobiImageGPS
Definition: qaGobiApiFms.h:251
BYTE buildIDLength
Definition: qaGobiApiFms.h:552
ULONG SLQSGetImageInfo(LPCSTR path, struct qmifwinfo_s *pinfo)
CHAR carrier_str[20]
Definition: qaGobiApiFms.h:101
ULONG SLQSGetImageInfoMC83xx(LPCSTR path, struct qmifwinfo_s *pinfo)
ULONG SLQSGetFirmwareInfo(struct qmifwinfo_s *pinfo)
Definition: qaGobiApiFms.h:192
enum eGobiDeviceSeries eDevice
Definition: qaGobiApiFms.h:803
#define GOBI_LISTENTRIES_MAX
Definition: qaGobiApiFms.h:32
eGobiImageCarrier
Definition: qaGobiApiFms.h:180
ULONG SLQSGetBootVersionNumber(ULONG *bootversion)
Definition: qaGobiApiFms.h:223
BYTE imageId[16]
Definition: qaGobiApiFms.h:419
Definition: qaGobiApiFms.h:199
Definition: qaGobiApiFms.h:785
Definition: qaGobiApiFms.h:243
Definition: qaGobiApiFms.h:254
Definition: qaGobiApiFms.h:801
BYTE imageType
Definition: qaGobiApiFms.h:418
Definition: qaGobiApiFms.h:138
ULONG Region
Definition: qaGobiApiFms.h:67
Definition: qaGobiApiFms.h:62
Definition: qaGobiApiFms.h:217
ULONG SLQSGetImageInfoMC77xx(LPCSTR path, struct qmifwinfo_s *pinfo)
ULONG SLQSGetValidFwPriCombinations(struct ImageList *pStoredImageList, ULONG *pValidCombinationSize, struct SWI_STRUCT_CarrierImage *pValidCombinations)
const char * LPCSTR
Definition: SwiDataTypes.h:36
Definition: qaGobiApiFms.h:201
Definition: qaGobiApiFms.h:206
Definition: qaGobiApiFms.h:788
struct slqsfwinfo_s s
Definition: qaGobiApiFms.h:143
Definition: qaGobiApiFms.h:783
ULONG GetImagesPreference(ULONG *pImageListSize, struct PrefImageList *pImageList)
#define SLQSFWINFO_CARRIER_SZ
Definition: qaGobiApiFms.h:25
Definition: qaGobiApiFms.h:226
BYTE m_PriImageId[16]
Definition: qaGobiApiFms.h:857
#define SLQSFWINFO_MODELID_SZ
Definition: qaGobiApiFms.h:20
CHAR modelid_str[20]
Definition: qaGobiApiFms.h:96
Definition: qaGobiApiFms.h:212
BYTE maxImages
Definition: qaGobiApiFms.h:580
#define GOBI_MBN_IMG_ID_STR_LEN
Definition: qaGobiApiFms.h:30
ULONG SLQSSetSIMBasedImageSwitching(void)
union qmifwinfo_s::@2 dev
struct ImageIDEntries imageIDEntries[2]
Definition: qaGobiApiFms.h:598
Definition: qaGobiApiFms.h:95
Definition: qaGobiApiFms.h:174
Definition: qaGobiApiFms.h:194
BYTE storageIndex
Definition: qaGobiApiFms.h:549
Definition: qaGobiApiFms.h:244
Definition: qaGobiApiFms.h:787
Definition: qaGobiApiFms.h:220
Definition: qaGobiApiFms.h:213
eGobiImageTech
Definition: qaGobiApiFms.h:171
#define SLQSFWINFO_BOOTVERSION_SZ
Definition: qaGobiApiFms.h:21
#define SLQSFWINFO_PRIVERSION_SZ
Definition: qaGobiApiFms.h:26
eGobiDeviceSeries
Definition: qaGobiApiFms.h:781
struct ImageIdElement imageIDElement[50]
Definition: qaGobiApiFms.h:583
Definition: qaGobiApiFms.h:215
Definition: qaGobiApiFms.h:187
BYTE m_PriBuildId[100]
Definition: qaGobiApiFms.h:858
Definition: qaGobiApiFms.h:202
Definition: qaGobiApiFms.h:850
Definition: qaGobiApiFms.h:203
Definition: qaGobiApiFms.h:786
BYTE buildIdLength
Definition: qaGobiApiFms.h:420
ULONG GetStoredImages(ULONG *pImageListSize, BYTE *pImageList)
Definition: qaGobiApiFms.h:219
Definition: qaGobiApiFms.h:218
Definition: qaGobiApiFms.h:240
Definition: qaGobiApiFms.h:435
ULONG SLQSGetImageInfo_9x15(LPCSTR path, BYTE imgType, struct slqsfwinfo_s *pinfo)
unsigned long ULONG
Definition: SwiDataTypes.h:28
#define SLQSFWINFO_CUR_CARR_NAME
Definition: qaGobiApiFms.h:27
Definition: qaGobiApiFms.h:221
ULONG uResult
Definition: qaGobiApiFms.h:804
Definition: qaGobiApiFms.h:200
Definition: qaGobiApiFms.h:595
Definition: qaGobiApiFms.h:209
Definition: qaGobiApiFms.h:547
BYTE m_FwBuildId[100]
Definition: qaGobiApiFms.h:856
Definition: qaGobiApiFms.h:186
CHAR priversion_str[16]
Definition: qaGobiApiFms.h:102
Definition: qaGobiApiFms.h:232
Definition: qaGobiApiFms.h:222
CHAR bootversion_str[85]
Definition: qaGobiApiFms.h:97
ULONG m_nStorage
Definition: qaGobiApiFms.h:854
CHAR buildId[100]
Definition: qaGobiApiFms.h:421
Definition: qaGobiApiFms.h:190
Definition: qaGobiApiFms.h:256
Definition: qaGobiApiFms.h:208
Definition: qaGobiApiFms.h:789
Definition: qaGobiApiFms.h:225
Definition: qaGobiApiFms.h:230
ULONG GPSCapability
Definition: qaGobiApiFms.h:68
BYTE listSize
Definition: qaGobiApiFms.h:597
Definition: qaGobiApiFms.h:416
ULONG m_nFolderId
Definition: qaGobiApiFms.h:853
BYTE imageIDSize
Definition: qaGobiApiFms.h:582
CHAR cur_carr_rev[13]
Definition: qaGobiApiFms.h:104
Definition: qaGobiApiFms.h:173
BYTE imageID[16]
Definition: qaGobiApiFms.h:551
Definition: qaGobiApiFms.h:198
CHAR appversion_str[85]
Definition: qaGobiApiFms.h:98
Definition: qaGobiApiFms.h:196
Definition: qaGobiApiFms.h:255
ULONG FirmwareID
Definition: qaGobiApiFms.h:64
CHAR sku_str[15]
Definition: qaGobiApiFms.h:99
BOOL SLQSIsSpkgFormatRequired(void)
Definition: qaGobiApiFms.h:224
Definition: qaGobiApiFms.h:245
#define SLQSFWINFO_CUR_CARR_REV
Definition: qaGobiApiFms.h:28
eGobiImageRegion
Definition: qaGobiApiFms.h:238
Definition: qaGobiApiFms.h:193
ULONG SLQSDownloadFirmwareToSlot(CHAR *pPath, BYTE slot_index, BYTE force_download)
ULONG Technology
Definition: qaGobiApiFms.h:65
Definition: qaGobiApiFms.h:577
BYTE failureCount
Definition: qaGobiApiFms.h:550
void SLQSSetSpkgFormatRequired(BYTE isneeded)
BYTE listSize
Definition: qaGobiApiFms.h:437
Definition: qaGobiApiFms.h:229
Definition: qaGobiApiFms.h:184
Definition: qaGobiApiFms.h:207
Definition: qaGobiApiFms.h:241
ULONG UpgradeFirmware2k(CHAR *pDestinationPath)
ULONG Carrier
Definition: qaGobiApiFms.h:66
int BOOL
Definition: SwiDataTypes.h:37
ULONG DeleteStoredImage(ULONG imageInfoSize, BYTE *pImageInfo)
Definition: qaGobiApiFms.h:784
unsigned short WORD
Definition: SwiDataTypes.h:34
Definition: qaGobiApiFms.h:231
Definition: qaGobiApiFms.h:253
#define IMG_ID_LEN
Definition: qaGobiApiFms.h:43
Definition: qaGobiApiFms.h:188
BYTE executingImage
Definition: qaGobiApiFms.h:581
#define SLQSFWINFO_SKU_SZ
Definition: qaGobiApiFms.h:23
#define SLQSFWINFO_PACKAGEID_SZ
Definition: qaGobiApiFms.h:24
Definition: qaGobiApiFms.h:204
CHAR cur_carr_name[17]
Definition: qaGobiApiFms.h:103