Linux SDK (lite-qmi)  MBPL_SDK_R25_ENG3
uim_fileAttributes Struct Reference

#include <uim.h>

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 [MAX_DESCRIPTION_LENGTH]
 

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.

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