LinuxQMISDK-Lite  SLQS04.00.23
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
uim_fileAttributes Struct Reference

Data Fields

uint16_t fileSize
 
uint16_t fileID
 
uint8_t fileType
 
uint16_t recordSize
 
uint16_t recordCount
 
uint8_t secRead
 
uint16_t secReadMask
 
uint8_t secWrite
 
uint16_t secWriteMask
 
uint8_t secIncrease
 
uint16_t secIncreaseMask
 
uint8_t secDeactivate
 
uint16_t secDeactivateMask
 
uint8_t secActivate
 
uint16_t secActivateMask
 
uint16_t rawLen
 
uint8_t rawValue [255]
 

Detailed Description

This structure contains the information about the File Attributes.

Parameters
fileSize
  • Indicates the size of the file.
fileID
  • Indicates the ID of the file.
fileType
  • Indicates the type of the file.
    • 0 - Transparent
    • 1 - Cyclic
    • 2 - Linear fixed
    • 3 - Dedicated file
    • 4 - Master file
recordSize
  • Indicates the size of the records.
  • Only for cyclic and linear fixed files
recordCount
  • Indicates the total no. of the records.
  • Only for linear fixed files
secRead
  • Read security attributes.
    • 0 - Always
    • 1 - Never
    • 2 - AND condition
    • 3 - OR condition
    • 4 - Single condition
secReadMask
  • Mask with read security attributes.
  • This field is valid only when required by security attributes.
    • Bit 0 - PIN1
    • Bit 1 - PIN2
    • Bit 2 - UPIN
    • Bit 3 - ADM
secWrite
  • Write security attributes.
    • 0 - Always
    • 1 - Never
    • 2 - AND condition
    • 3 - OR condition
    • 4 - Single condition
secWriteMask
  • Mask with write security attributes.
  • This field is valid only when required by security attributes.
    • Bit 0 - PIN1
    • Bit 1 - PIN2
    • Bit 2 - UPIN
    • Bit 3 - ADM
secIncrease
  • Increase security attributes.
    • 0 - Always
    • 1 - Never
    • 2 - AND condition
    • 3 - OR condition
    • 4 - Single condition
secIncreaseMask
  • Mask with increase security attributes.
  • This field is valid only when required by security attributes.
    • Bit 0 - PIN1
    • Bit 1 - PIN2
    • Bit 2 - UPIN
    • Bit 3 - ADM
secDeactivate
  • Deactivate security attributes.
    • 0 - Always
    • 1 - Never
    • 2 - AND condition
    • 3 - OR condition
    • 4 - Single condition
secDeactivateMask
  • Mask with deactivate security attributes.
  • This field is valid only when required by security attributes.
    • Bit 0 - PIN1
    • Bit 1 - PIN2
    • Bit 2 - UPIN
    • Bit 3 - ADM
secActivate
  • Activate security attributes.
    • 0 - Always
    • 1 - Never
    • 2 - AND condition
    • 3 - OR condition
    • 4 - Single condition
secActivateMask
  • Mask with activate security attributes.
  • This field is valid only when required by security attributes.
    • Bit 0 - PIN1
    • Bit 1 - PIN2
    • Bit 2 - UPIN
    • Bit 3 - ADM
rawLen
  • Length of the following elements i.e. raw value.
rawValue[MAX_DESCRIPTION_LENGTH]
  • Raw value of file attributes.

Field Documentation

uint16_t uim_fileAttributes::fileID
uint16_t uim_fileAttributes::fileSize
uint8_t uim_fileAttributes::fileType
uint16_t uim_fileAttributes::rawLen
uint8_t uim_fileAttributes::rawValue[255]
uint16_t uim_fileAttributes::recordCount
uint16_t uim_fileAttributes::recordSize
uint8_t uim_fileAttributes::secActivate
uint16_t uim_fileAttributes::secActivateMask
uint8_t uim_fileAttributes::secDeactivate
uint16_t uim_fileAttributes::secDeactivateMask
uint8_t uim_fileAttributes::secIncrease
uint16_t uim_fileAttributes::secIncreaseMask
uint8_t uim_fileAttributes::secRead
uint16_t uim_fileAttributes::secReadMask
uint8_t uim_fileAttributes::secWrite
uint16_t uim_fileAttributes::secWriteMask

Copyright (c) 2011-2015 Sierra Wireless, Inc. All rights reserved