LinuxSDK  V1.4.0.5
Data Fields
SWI_STRUCT_FlashImgInfo Struct Reference

#include <SwiApiCmBasic.h>

Data Fields

swi_int32 sizeStruct
 
swi_char szImageType [LENGTH_ImgInfoImgType]
 
TYPE_FlashImgInfo_Result eResult
 
swi_char szVersion [LENGTH_ImgInfoVer]
 
swi_char szRelDate [LENGTH_ImgInfoRelDate]
 
swi_char szProdType [LENGTH_ImgInfoProdType]
 
swi_int32 nImgSize
 

Detailed Description

This structure contains flash image information.

Supports PC cards, embedded devices, and MP line of products.

See Also
TYPE_FlashImgInfo_Result
SwiGetFlashImgInfo

Field Documentation

TYPE_FlashImgInfo_Result SWI_STRUCT_FlashImgInfo::eResult

A NULL terminated string returned from the device which specifies the version of the flash image of interest. The format of this string varies between technology types and image types:

  • CDMA QCOM, BOOT, APPL:
    • <product>_<build_type>[_<pid>].<major>.<minor>[.<point>]
      • <product> - ex. EM5625, SWI6800, SWI6800V2
      • <build_type> - Either FP for normal release or PP for point release.
      • <pid> - USB product ID (note: <pid> only appears in dedicated builds like EM5625 or MC5720 and does not appear in single builds used for multiple products (ex. SWI6800)).
      • <major>, <minor> and <point> are zero padded two digit decimal version numbers.
  • CDMA USBD:
    • <product>_<customer>.<major>.<minor>
      • <product> - ex. SWI6800 or SWI6800V2
      • <customer> - ex. GENERIC, AC595U
      • <major> and <minor> are zero padded two digit decimal version numbers.
  • UMTS QCOM, BOOT, APPL:
    • AW_X_Y_Zxx
      • A - Device family type (U-6275, H-6280, D-7200R2.x, F-7200R3.x, J-7200A)
      • W - Major release
      • X - Minor release
      • Y - Sub-release identifier (increments with a stack change)
      • Z - Sub-release identifier (increments with a Sierra update)
      • xx - Platform and load type
        • 'ap' - Application
        • 'bt' - Bootloader
  • UMTS USBD:
    • AW_Xud
      • A - Device family type (U-6275, H-6280, D-7200R2.x, F-7200R3.x, J-7200A)
      • W - Major release
      • X - Minor release
  • SWOC:
    • CDPC_<version>_<major>.<minor>.<point>
      • <version> - zero padded 5-digit decimal CDPC (CD Product Code).
      • <major>, <minor>, and <point> are zero padded two digit decimal numbers for CD version.
swi_int32 SWI_STRUCT_FlashImgInfo::nImgSize
swi_int32 SWI_STRUCT_FlashImgInfo::sizeStruct

< The size, in bytes, of this structure. This value must always be populated by the calling application. This value is case sensitive and must be supplied by the calling application. Possible values include:

  • 'QCOM' - Boot images including NAND image partition table, PBL (Primary Boot Loader), SBL (Secondary Boot Loader), OEMSBL (OEM Secondary Boot Loader) and the configuration data used by PBL)
  • 'BOOT' - OEMSBL (SWI Boot Loader)
  • 'APPL' - Application code
  • 'USBD' - USB descriptor table
  • 'SWOC' - Software on card image
swi_char SWI_STRUCT_FlashImgInfo::szImageType[LENGTH_ImgInfoImgType]

An enumeration of type TYPE_FlashImgInfo_Result returned from the device which specifies the result of the request.

swi_char SWI_STRUCT_FlashImgInfo::szProdType[LENGTH_ImgInfoProdType]

The size, in bytes, of the image data only and does not include the size of the CWE header.

swi_char SWI_STRUCT_FlashImgInfo::szRelDate[LENGTH_ImgInfoRelDate]

A NULL terminated string returned from the device which specifies the product type of the flash image of interest. Exact values are image specific; examples are '6800' or '5625' for FW_DWN_APPL and FW_DWN_BOOT images. FW_DWN_SWOC image does not use this field.

swi_char SWI_STRUCT_FlashImgInfo::szVersion[LENGTH_ImgInfoVer]

A NULL terminated string returned from the device which specifies the release date of the flash image of interest. The format of the date is MM/DD/YY.


The documentation for this struct was generated from the following file:

Linux SDK V1.4.0.5
Copyright (c) 2011 Sierra Wireless, Inc. All rights reserved