Project CASUAL
API for CASUAL
 All Classes Namespaces Functions Variables
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
CASUAL.archiving.libpit.PitEntry Class Reference

Public Member Functions

 PitEntry ()
 
boolean matches (PitEntry otherPitEntry)
 
int getBinType ()
 
String getBinFriendlyType ()
 
void setBinType (int binType)
 
int getDevType ()
 
void setDeviceType (int devType)
 
int getPartID ()
 
void setPartID (int partitionIdentifier)
 
int getPartitionType ()
 
void setPartitionType (int partitionFlags)
 
int getFilesystem ()
 
void setFilesystem (int filesystem)
 
int getBlockStart ()
 
void setBlockStart (int blockStart)
 
int getBlockCount ()
 
void setBlockCount (int partitionBlockCount)
 
int getFileOffset ()
 
void setFileOffset (int fileOffset)
 
int getFileSize ()
 
void setFileSize (int partitionBlockSize)
 
byte[] getPartitionNameBytes ()
 
String getPartitionName ()
 
String getOdinFlashablePartitionName ()
 
String getPartitionFriendlyName ()
 
void setPartitionName (byte[] partitionName)
 
void setPartitionName (String partitionName)
 
byte[] getFileNameBytes ()
 
String getFilenameString ()
 
String getFriendlyFileName ()
 
void setFilename (byte[] filename)
 
void setFilename (String filename)
 
byte[] getFotaNameBytes ()
 
String getFotaName ()
 
String getFOTAFriendlyName ()
 
void setFotaName (byte[] fotaName)
 
void setFotaName (String fotaName)
 
String getPartitionTypeFriendlyName ()
 
String getFilesystemTypeFriendlyName ()
 
String getDeviceTypeFriendlyName ()
 
String getBlockCountFriendly (boolean si)
 
String getPartitionDescritpion ()
 
String toString ()
 
char[] convertByteArrayToCharArray (byte[] byteArray)
 
byte[] convertCharArrayToByteArray (char[] charArray)
 
 PitEntry ()
 
boolean matches (PitEntry otherPitEntry)
 
int getBinType ()
 
String getBinFriendlyType ()
 
void setBinType (int binType)
 
int getDevType ()
 
void setDeviceType (int devType)
 
int getPartID ()
 
void setPartID (int partitionIdentifier)
 
int getPartitionType ()
 
void setPartitionType (int partitionFlags)
 
int getFilesystem ()
 
void setFilesystem (int filesystem)
 
int getBlockStart ()
 
void setBlockStart (int blockStart)
 
int getBlockCount ()
 
void setBlockCount (int partitionBlockCount)
 
int getFileOffset ()
 
void setFileOffset (int fileOffset)
 
int getFileSize ()
 
void setFileSize (int partitionBlockSize)
 
byte[] getPartitionNameBytes ()
 
String getPartitionName ()
 
String getOdinFlashablePartitionName ()
 
String getPartitionFriendlyName ()
 
void setPartitionName (byte[] partitionName)
 
void setPartitionName (String partitionName)
 
byte[] getFileNameBytes ()
 
String getFilenameString ()
 
String getFriendlyFileName ()
 
void setFilename (byte[] filename)
 
void setFilename (String filename)
 
byte[] getFotaNameBytes ()
 
String getFotaName ()
 
String getFOTAFriendlyName ()
 
void setFotaName (byte[] fotaName)
 
void setFotaName (String fotaName)
 
String getPartitionTypeFriendlyName ()
 
String getFilesystemTypeFriendlyName ()
 
String getDeviceTypeFriendlyName ()
 
String getBlockCountFriendly (boolean si)
 
String getPartitionDescritpion ()
 
String toString ()
 
char[] convertByteArrayToCharArray (byte[] byteArray)
 
byte[] convertCharArrayToByteArray (char[] charArray)
 
 PitEntry ()
 
boolean matches (PitEntry otherPitEntry)
 
int getBinType ()
 
String getBinFriendlyType ()
 
void setBinType (int binType)
 
int getDevType ()
 
void setDeviceType (int devType)
 
int getPartID ()
 
void setPartID (int partitionIdentifier)
 
int getPartitionType ()
 
void setPartitionType (int partitionFlags)
 
int getFilesystem ()
 
void setFilesystem (int filesystem)
 
int getBlockStart ()
 
void setBlockStart (int blockStart)
 
int getBlockCount ()
 
void setBlockCount (int partitionBlockCount)
 
int getFileOffset ()
 
void setFileOffset (int fileOffset)
 
int getFileSize ()
 
void setFileSize (int partitionBlockSize)
 
byte[] getPartitionNameBytes ()
 
String getPartitionName ()
 
String getOdinFlashablePartitionName ()
 
String getPartitionFriendlyName ()
 
void setPartitionName (byte[] partitionName)
 
void setPartitionName (String partitionName)
 
byte[] getFileNameBytes ()
 
String getFilenameString ()
 
String getFriendlyFileName ()
 
void setFilename (byte[] filename)
 
void setFilename (String filename)
 
byte[] getFotaNameBytes ()
 
String getFotaName ()
 
String getFOTAFriendlyName ()
 
void setFotaName (byte[] fotaName)
 
void setFotaName (String fotaName)
 
String getPartitionTypeFriendlyName ()
 
String getFilesystemTypeFriendlyName ()
 
String getDeviceTypeFriendlyName ()
 
String getBlockCountFriendly (boolean si)
 
String getPartitionDescritpion ()
 
String toString ()
 
char[] convertByteArrayToCharArray (byte[] byteArray)
 
byte[] convertCharArrayToByteArray (char[] charArray)
 

Public Attributes

char[] part_name = new char[32]
 
char[] file_name = new char[32]
 
char[] fota_name = new char[32]
 

Static Public Attributes

static final int PARTITION_NAME_MAX_LENGTH = 32
 
static final int FILENAME_MAX_LENGTH = 32
 
static final int FOTA_NAME_MAX_LENGTH = 32
 

Detailed Description

PitEntry provides a method of organizing PIT entries and storing PIT data Original Files may be found here: https://github.com/Benjamin-Dobell/libpit–Java-/tree/master/libpit/src/au/com/glassechidna/libpit modified by: Adam Outler

Author
Benjamin Dobell

Constructor & Destructor Documentation

CASUAL.archiving.libpit.PitEntry.PitEntry ( )

Constructor for PitEntry sets default values

CASUAL.archiving.libpit.PitEntry.PitEntry ( )

Constructor for PitEntry sets default values

CASUAL.archiving.libpit.PitEntry.PitEntry ( )

Constructor for PitEntry sets default values

Member Function Documentation

char [] CASUAL.archiving.libpit.PitEntry.convertByteArrayToCharArray ( byte[]  byteArray)

converts a byte array to an equivalent char array

Parameters
byteArrayarray of bytes to be converted into chars
Returns
byte representation of char array
char [] CASUAL.archiving.libpit.PitEntry.convertByteArrayToCharArray ( byte[]  byteArray)

converts a byte array to an equivalent char array

Parameters
byteArrayarray of bytes to be converted into chars
Returns
byte representation of char array
char [] CASUAL.archiving.libpit.PitEntry.convertByteArrayToCharArray ( byte[]  byteArray)

converts a byte array to an equivalent char array

Parameters
byteArrayarray of bytes to be converted into chars
Returns
byte representation of char array
byte [] CASUAL.archiving.libpit.PitEntry.convertCharArrayToByteArray ( char[]  charArray)

converts a char array to an equivalent byte array

Parameters
charArrayarray to be converted into bytes
Returns
byte representation of char array
byte [] CASUAL.archiving.libpit.PitEntry.convertCharArrayToByteArray ( char[]  charArray)

converts a char array to an equivalent byte array

Parameters
charArrayarray to be converted into bytes
Returns
byte representation of char array
byte [] CASUAL.archiving.libpit.PitEntry.convertCharArrayToByteArray ( char[]  charArray)

converts a char array to an equivalent byte array

Parameters
charArrayarray to be converted into bytes
Returns
byte representation of char array
String CASUAL.archiving.libpit.PitEntry.getBinFriendlyType ( )

gets the friendly name of bin AP or CP

Returns
AP or CP
String CASUAL.archiving.libpit.PitEntry.getBinFriendlyType ( )

gets the friendly name of bin AP or CP

Returns
AP or CP
String CASUAL.archiving.libpit.PitEntry.getBinFriendlyType ( )

gets the friendly name of bin AP or CP

Returns
AP or CP
int CASUAL.archiving.libpit.PitEntry.getBinType ( )

The major hardware structure that the partition belongs to. Call processor or App Processor

Returns
type of binary
int CASUAL.archiving.libpit.PitEntry.getBinType ( )

The major hardware structure that the partition belongs to. Call processor or App Processor

Returns
type of binary
int CASUAL.archiving.libpit.PitEntry.getBinType ( )

The major hardware structure that the partition belongs to. Call processor or App Processor

Returns
type of binary
int CASUAL.archiving.libpit.PitEntry.getBlockCount ( )

number of 512b blocks in partition

Returns
block count
int CASUAL.archiving.libpit.PitEntry.getBlockCount ( )

number of 512b blocks in partition

Returns
block count
int CASUAL.archiving.libpit.PitEntry.getBlockCount ( )

number of 512b blocks in partition

Returns
block count
String CASUAL.archiving.libpit.PitEntry.getBlockCountFriendly ( boolean  si)

convert block count into human-readable form.

Parameters
siuse SI units (KB=1000B) or binary (KiB=1024B)
Returns
human readable bytes from block count
String CASUAL.archiving.libpit.PitEntry.getBlockCountFriendly ( boolean  si)

convert block count into human-readable form.

Parameters
siuse SI units (KB=1000B) or binary (KiB=1024B)
Returns
human readable bytes from block count
String CASUAL.archiving.libpit.PitEntry.getBlockCountFriendly ( boolean  si)

convert block count into human-readable form.

Parameters
siuse SI units (KB=1000B) or binary (KiB=1024B)
Returns
human readable bytes from block count
int CASUAL.archiving.libpit.PitEntry.getBlockStart ( )

starting block on EMMC in 512b blocks

Returns
starting block
int CASUAL.archiving.libpit.PitEntry.getBlockStart ( )

starting block on EMMC in 512b blocks

Returns
starting block
int CASUAL.archiving.libpit.PitEntry.getBlockStart ( )

starting block on EMMC in 512b blocks

Returns
starting block
String CASUAL.archiving.libpit.PitEntry.getDeviceTypeFriendlyName ( )

returns the friendly hardware type nand, emmc, spi, ide, nand_x16, unknown

Returns
the name of the hardware device
String CASUAL.archiving.libpit.PitEntry.getDeviceTypeFriendlyName ( )

returns the friendly hardware type nand, emmc, spi, ide, nand_x16, unknown

Returns
the name of the hardware device
String CASUAL.archiving.libpit.PitEntry.getDeviceTypeFriendlyName ( )

returns the friendly hardware type nand, emmc, spi, ide, nand_x16, unknown

Returns
the name of the hardware device
int CASUAL.archiving.libpit.PitEntry.getDevType ( )

Device Type differs per-device. generally 0=emmc.

Returns
device type
int CASUAL.archiving.libpit.PitEntry.getDevType ( )

Device Type differs per-device. generally 0=emmc.

Returns
device type
int CASUAL.archiving.libpit.PitEntry.getDevType ( )

Device Type differs per-device. generally 0=emmc.

Returns
device type
byte [] CASUAL.archiving.libpit.PitEntry.getFileNameBytes ( )

Name of file when transferred from device

Returns
byte representation of filename
byte [] CASUAL.archiving.libpit.PitEntry.getFileNameBytes ( )

Name of file when transferred from device

Returns
byte representation of filename
byte [] CASUAL.archiving.libpit.PitEntry.getFileNameBytes ( )

Name of file when transferred from device

Returns
byte representation of filename
String CASUAL.archiving.libpit.PitEntry.getFilenameString ( )

Name of file when transferred from device

Returns
file name
String CASUAL.archiving.libpit.PitEntry.getFilenameString ( )

Name of file when transferred from device

Returns
file name
String CASUAL.archiving.libpit.PitEntry.getFilenameString ( )

Name of file when transferred from device

Returns
file name
int CASUAL.archiving.libpit.PitEntry.getFileOffset ( )

number of blocks to offset in partition before beginning write

Returns
block offset
int CASUAL.archiving.libpit.PitEntry.getFileOffset ( )

number of blocks to offset in partition before beginning write

Returns
block offset
int CASUAL.archiving.libpit.PitEntry.getFileOffset ( )

number of blocks to offset in partition before beginning write

Returns
block offset
int CASUAL.archiving.libpit.PitEntry.getFileSize ( )

size of file in bytes

Returns
partition size in bytes
int CASUAL.archiving.libpit.PitEntry.getFileSize ( )

size of file in bytes

Returns
partition size in bytes
int CASUAL.archiving.libpit.PitEntry.getFileSize ( )

size of file in bytes

Returns
partition size in bytes
int CASUAL.archiving.libpit.PitEntry.getFilesystem ( )

rfs=0 raw=1 ext4=2

Returns
filesystem type
int CASUAL.archiving.libpit.PitEntry.getFilesystem ( )

rfs=0 raw=1 ext4=2

Returns
filesystem type
int CASUAL.archiving.libpit.PitEntry.getFilesystem ( )

rfs=0 raw=1 ext4=2

Returns
filesystem type
String CASUAL.archiving.libpit.PitEntry.getFilesystemTypeFriendlyName ( )

gets the friendly name of the filesystem type raw, basic, enhanced, ext2, yaffs2, unknown

Returns
friendly filesystem type name
String CASUAL.archiving.libpit.PitEntry.getFilesystemTypeFriendlyName ( )

gets the friendly name of the filesystem type raw, basic, enhanced, ext2, yaffs2, unknown

Returns
friendly filesystem type name
String CASUAL.archiving.libpit.PitEntry.getFilesystemTypeFriendlyName ( )

gets the friendly name of the filesystem type raw, basic, enhanced, ext2, yaffs2, unknown

Returns
friendly filesystem type name
String CASUAL.archiving.libpit.PitEntry.getFOTAFriendlyName ( )

Proper Friendly name and parameters of partition used to reference flash location

Returns
partition name
String CASUAL.archiving.libpit.PitEntry.getFOTAFriendlyName ( )

Proper Friendly name and parameters of partition used to reference flash location

Returns
partition name
String CASUAL.archiving.libpit.PitEntry.getFOTAFriendlyName ( )

Proper Friendly name and parameters of partition used to reference flash location

Returns
partition name
String CASUAL.archiving.libpit.PitEntry.getFotaName ( )

Name of file when receiving an OTA update

Returns
FOTA name
String CASUAL.archiving.libpit.PitEntry.getFotaName ( )

Name of file when receiving an OTA update

Returns
FOTA name
String CASUAL.archiving.libpit.PitEntry.getFotaName ( )

Name of file when receiving an OTA update

Returns
FOTA name
byte [] CASUAL.archiving.libpit.PitEntry.getFotaNameBytes ( )

Name of file when receiving an OTA update

Returns
byte representation of FOTA name
byte [] CASUAL.archiving.libpit.PitEntry.getFotaNameBytes ( )

Name of file when receiving an OTA update

Returns
byte representation of FOTA name
byte [] CASUAL.archiving.libpit.PitEntry.getFotaNameBytes ( )

Name of file when receiving an OTA update

Returns
byte representation of FOTA name
String CASUAL.archiving.libpit.PitEntry.getFriendlyFileName ( )

Name of file when transferred from device

Returns
file name
String CASUAL.archiving.libpit.PitEntry.getFriendlyFileName ( )

Name of file when transferred from device

Returns
file name
String CASUAL.archiving.libpit.PitEntry.getFriendlyFileName ( )

Name of file when transferred from device

Returns
file name
String CASUAL.archiving.libpit.PitEntry.getOdinFlashablePartitionName ( )

Proper name of partition used to reference flash location

Returns
partition name
String CASUAL.archiving.libpit.PitEntry.getOdinFlashablePartitionName ( )

Proper name of partition used to reference flash location

Returns
partition name
String CASUAL.archiving.libpit.PitEntry.getOdinFlashablePartitionName ( )

Proper name of partition used to reference flash location

Returns
partition name
int CASUAL.archiving.libpit.PitEntry.getPartID ( )

Partition ID is a number which identifies the partition

Returns
partition identifier
int CASUAL.archiving.libpit.PitEntry.getPartID ( )

Partition ID is a number which identifies the partition

Returns
partition identifier
int CASUAL.archiving.libpit.PitEntry.getPartID ( )

Partition ID is a number which identifies the partition

Returns
partition identifier
String CASUAL.archiving.libpit.PitEntry.getPartitionDescritpion ( )

gets the partition Description of the entry in human readable form.

Returns
partition description.
String CASUAL.archiving.libpit.PitEntry.getPartitionDescritpion ( )

gets the partition Description of the entry in human readable form.

Returns
partition description.
String CASUAL.archiving.libpit.PitEntry.getPartitionDescritpion ( )

gets the partition Description of the entry in human readable form.

Returns
partition description.
String CASUAL.archiving.libpit.PitEntry.getPartitionFriendlyName ( )

Proper Friendly name and parameters of partition used to reference flash location

Returns
partition name
String CASUAL.archiving.libpit.PitEntry.getPartitionFriendlyName ( )

Proper Friendly name and parameters of partition used to reference flash location

Returns
partition name
String CASUAL.archiving.libpit.PitEntry.getPartitionFriendlyName ( )

Proper Friendly name and parameters of partition used to reference flash location

Returns
partition name
String CASUAL.archiving.libpit.PitEntry.getPartitionName ( )

Proper name of partition used to reference flash location

Returns
partition name
String CASUAL.archiving.libpit.PitEntry.getPartitionName ( )

Proper name of partition used to reference flash location

Returns
partition name
String CASUAL.archiving.libpit.PitEntry.getPartitionName ( )

Proper name of partition used to reference flash location

Returns
partition name
byte [] CASUAL.archiving.libpit.PitEntry.getPartitionNameBytes ( )

Proper name of partition used to reference flash location

Returns
byte representation of partition name
byte [] CASUAL.archiving.libpit.PitEntry.getPartitionNameBytes ( )

Proper name of partition used to reference flash location

Returns
byte representation of partition name
byte [] CASUAL.archiving.libpit.PitEntry.getPartitionNameBytes ( )

Proper name of partition used to reference flash location

Returns
byte representation of partition name
int CASUAL.archiving.libpit.PitEntry.getPartitionType ( )

Partition Type bootloader, data, bct... This is the type of partition.

Returns
attributes field in PIT
int CASUAL.archiving.libpit.PitEntry.getPartitionType ( )

Partition Type bootloader, data, bct... This is the type of partition.

Returns
attributes field in PIT
int CASUAL.archiving.libpit.PitEntry.getPartitionType ( )

Partition Type bootloader, data, bct... This is the type of partition.

Returns
attributes field in PIT
String CASUAL.archiving.libpit.PitEntry.getPartitionTypeFriendlyName ( )

returns partition type friendly name bct, bootloader, data, mbr, ebr, gp1, gpt, unknown

Returns
friendly name of the partition type
String CASUAL.archiving.libpit.PitEntry.getPartitionTypeFriendlyName ( )

returns partition type friendly name bct, bootloader, data, mbr, ebr, gp1, gpt, unknown

Returns
friendly name of the partition type
String CASUAL.archiving.libpit.PitEntry.getPartitionTypeFriendlyName ( )

returns partition type friendly name bct, bootloader, data, mbr, ebr, gp1, gpt, unknown

Returns
friendly name of the partition type
boolean CASUAL.archiving.libpit.PitEntry.matches ( PitEntry  otherPitEntry)

matches this entries parameters against another to detect equivalence.

Parameters
otherPitEntryentry to match against
Returns
true if match
boolean CASUAL.archiving.libpit.PitEntry.matches ( PitEntry  otherPitEntry)

matches this entries parameters against another to detect equivalence.

Parameters
otherPitEntryentry to match against
Returns
true if match
boolean CASUAL.archiving.libpit.PitEntry.matches ( PitEntry  otherPitEntry)

matches this entries parameters against another to detect equivalence.

Parameters
otherPitEntryentry to match against
Returns
true if match
void CASUAL.archiving.libpit.PitEntry.setBinType ( int  binType)

binary type

Parameters
binTypeunsigned integer
void CASUAL.archiving.libpit.PitEntry.setBinType ( int  binType)

binary type

Parameters
binTypeunsigned integer
void CASUAL.archiving.libpit.PitEntry.setBinType ( int  binType)

binary type

Parameters
binTypeunsigned integer
void CASUAL.archiving.libpit.PitEntry.setBlockCount ( int  partitionBlockCount)

number of 512b blocks in partition

Parameters
partitionBlockCountunsigned integer
void CASUAL.archiving.libpit.PitEntry.setBlockCount ( int  partitionBlockCount)

number of 512b blocks in partition

Parameters
partitionBlockCountunsigned integer
void CASUAL.archiving.libpit.PitEntry.setBlockCount ( int  partitionBlockCount)

number of 512b blocks in partition

Parameters
partitionBlockCountunsigned integer
void CASUAL.archiving.libpit.PitEntry.setBlockStart ( int  blockStart)

starting block on EMMC in 512b blocks

Parameters
blockStartunsigned integer
void CASUAL.archiving.libpit.PitEntry.setBlockStart ( int  blockStart)

starting block on EMMC in 512b blocks

Parameters
blockStartunsigned integer
void CASUAL.archiving.libpit.PitEntry.setBlockStart ( int  blockStart)

starting block on EMMC in 512b blocks

Parameters
blockStartunsigned integer
void CASUAL.archiving.libpit.PitEntry.setDeviceType ( int  devType)

Device Type differs per-device. generally 0=emmc.

Parameters
devTypeunsigned integer
void CASUAL.archiving.libpit.PitEntry.setDeviceType ( int  devType)

Device Type differs per-device. generally 0=emmc.

Parameters
devTypeunsigned integer
void CASUAL.archiving.libpit.PitEntry.setDeviceType ( int  devType)

Device Type differs per-device. generally 0=emmc.

Parameters
devTypeunsigned integer
void CASUAL.archiving.libpit.PitEntry.setFilename ( byte[]  filename)

Name of file when transferred from device

Parameters
filenamefilename in pit entry
void CASUAL.archiving.libpit.PitEntry.setFilename ( byte[]  filename)

Name of file when transferred from device

Parameters
filenamefilename in pit entry
void CASUAL.archiving.libpit.PitEntry.setFilename ( byte[]  filename)

Name of file when transferred from device

Parameters
filenamefilename in pit entry
void CASUAL.archiving.libpit.PitEntry.setFilename ( String  filename)

Name of file when transferred from device

Parameters
filenamefilename in pit entry
void CASUAL.archiving.libpit.PitEntry.setFilename ( String  filename)

Name of file when transferred from device

Parameters
filenamefilename in pit entry
void CASUAL.archiving.libpit.PitEntry.setFilename ( String  filename)

Name of file when transferred from device

Parameters
filenamefilename in pit entry
void CASUAL.archiving.libpit.PitEntry.setFileOffset ( int  fileOffset)

number of blocks to offset in partition before beginning write

Parameters
fileOffsetunsigned integer
void CASUAL.archiving.libpit.PitEntry.setFileOffset ( int  fileOffset)

number of blocks to offset in partition before beginning write

Parameters
fileOffsetunsigned integer
void CASUAL.archiving.libpit.PitEntry.setFileOffset ( int  fileOffset)

number of blocks to offset in partition before beginning write

Parameters
fileOffsetunsigned integer
void CASUAL.archiving.libpit.PitEntry.setFileSize ( int  partitionBlockSize)

size of file in bytes

Parameters
partitionBlockSizeunsigned integer
void CASUAL.archiving.libpit.PitEntry.setFileSize ( int  partitionBlockSize)

size of file in bytes

Parameters
partitionBlockSizeunsigned integer
void CASUAL.archiving.libpit.PitEntry.setFileSize ( int  partitionBlockSize)

size of file in bytes

Parameters
partitionBlockSizeunsigned integer
void CASUAL.archiving.libpit.PitEntry.setFilesystem ( int  filesystem)

sets filesystem type rfs=0 raw=1 ext4=2

Parameters
filesystemunsigned integer
void CASUAL.archiving.libpit.PitEntry.setFilesystem ( int  filesystem)

sets filesystem type rfs=0 raw=1 ext4=2

Parameters
filesystemunsigned integer
void CASUAL.archiving.libpit.PitEntry.setFilesystem ( int  filesystem)

sets filesystem type rfs=0 raw=1 ext4=2

Parameters
filesystemunsigned integer
void CASUAL.archiving.libpit.PitEntry.setFotaName ( byte[]  fotaName)

Name of file when receiving an OTA update

Parameters
fotaNamename to set for FOTA entry
void CASUAL.archiving.libpit.PitEntry.setFotaName ( byte[]  fotaName)

Name of file when receiving an OTA update

Parameters
fotaNamename to set for FOTA entry
void CASUAL.archiving.libpit.PitEntry.setFotaName ( byte[]  fotaName)

Name of file when receiving an OTA update

Parameters
fotaNamename to set for FOTA entry
void CASUAL.archiving.libpit.PitEntry.setFotaName ( String  fotaName)

Name of file when receiving an OTA update

Parameters
fotaNamename to set for FOTA entry
void CASUAL.archiving.libpit.PitEntry.setFotaName ( String  fotaName)

Name of file when receiving an OTA update

Parameters
fotaNamename to set for FOTA entry
void CASUAL.archiving.libpit.PitEntry.setFotaName ( String  fotaName)

Name of file when receiving an OTA update

Parameters
fotaNamename to set for FOTA entry
void CASUAL.archiving.libpit.PitEntry.setPartID ( int  partitionIdentifier)

Partition ID is a number which identifies the partition

Parameters
partitionIdentifierunsigned integer
void CASUAL.archiving.libpit.PitEntry.setPartID ( int  partitionIdentifier)

Partition ID is a number which identifies the partition

Parameters
partitionIdentifierunsigned integer
void CASUAL.archiving.libpit.PitEntry.setPartID ( int  partitionIdentifier)

Partition ID is a number which identifies the partition

Parameters
partitionIdentifierunsigned integer
void CASUAL.archiving.libpit.PitEntry.setPartitionName ( byte[]  partitionName)

Proper name of partition used to reference flash location

Parameters
partitionNameunsigned integer
void CASUAL.archiving.libpit.PitEntry.setPartitionName ( byte[]  partitionName)

Proper name of partition used to reference flash location

Parameters
partitionNameunsigned integer
void CASUAL.archiving.libpit.PitEntry.setPartitionName ( byte[]  partitionName)

Proper name of partition used to reference flash location

Parameters
partitionNameunsigned integer
void CASUAL.archiving.libpit.PitEntry.setPartitionName ( String  partitionName)

Proper name of partition used to reference flash location

Parameters
partitionNameunsigned integer
void CASUAL.archiving.libpit.PitEntry.setPartitionName ( String  partitionName)

Proper name of partition used to reference flash location

Parameters
partitionNameunsigned integer
void CASUAL.archiving.libpit.PitEntry.setPartitionName ( String  partitionName)

Proper name of partition used to reference flash location

Parameters
partitionNameunsigned integer
void CASUAL.archiving.libpit.PitEntry.setPartitionType ( int  partitionFlags)

Partition Attributes

Parameters
partitionFlagsunsigned integer
void CASUAL.archiving.libpit.PitEntry.setPartitionType ( int  partitionFlags)

Partition Attributes

Parameters
partitionFlagsunsigned integer
void CASUAL.archiving.libpit.PitEntry.setPartitionType ( int  partitionFlags)

Partition Attributes

Parameters
partitionFlagsunsigned integer

Member Data Documentation

char [] CASUAL.archiving.libpit.PitEntry.file_name = new char[32]

File name.

static final int CASUAL.archiving.libpit.PitEntry.FILENAME_MAX_LENGTH = 32
static

maximum byte length of file_name

char [] CASUAL.archiving.libpit.PitEntry.fota_name = new char[32]

Firmware Over The Air name.

static final int CASUAL.archiving.libpit.PitEntry.FOTA_NAME_MAX_LENGTH = 32
static

maximum byte length of fota_name

char [] CASUAL.archiving.libpit.PitEntry.part_name = new char[32]

Partition name.

static final int CASUAL.archiving.libpit.PitEntry.PARTITION_NAME_MAX_LENGTH = 32
static

maximum byte length of part_name


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