BowlerKernel
Public Member Functions | Private Member Functions | Private Attributes | List of all members
com.neuronrobotics.sdk.bootloader.hexLine Class Reference
Collaboration diagram for com.neuronrobotics.sdk.bootloader.hexLine:
Collaboration graph
[legend]

Public Member Functions

int getCheckSum ()
 
 hexLine (String s) throws Exception
 
int getStartAddress ()
 
int getEndAddress ()
 
void setHighAddress (long highAddress)
 
int getByteCount ()
 
int getRecordType ()
 
byte[] getDataBytes ()
 
Boolean hasData ()
 
String toString ()
 

Private Member Functions

byte[] dataToArray (ArrayList< Byte > bl)
 

Private Attributes

ArrayList< Byte > dataBytes = new ArrayList<Byte>()
 
int address
 
int byteCount
 
int recordType
 
int checkSum
 
boolean hasSetHighAddress =false
 

Detailed Description

The Class hexLine.

Definition at line 10 of file hexLine.java.

Constructor & Destructor Documentation

◆ hexLine()

com.neuronrobotics.sdk.bootloader.hexLine.hexLine ( String  s) throws Exception

Member Function Documentation

◆ dataToArray()

byte [] com.neuronrobotics.sdk.bootloader.hexLine.dataToArray ( ArrayList< Byte >  bl)
private

Data to array.

Parameters
blthe bl
Returns
the byte[]

Definition at line 145 of file hexLine.java.

Referenced by com.neuronrobotics.sdk.bootloader.hexLine.getDataBytes().

◆ getByteCount()

int com.neuronrobotics.sdk.bootloader.hexLine.getByteCount ( )

Gets the byte count.

Returns
the byte count

Definition at line 105 of file hexLine.java.

References com.neuronrobotics.sdk.bootloader.hexLine.byteCount.

◆ getCheckSum()

int com.neuronrobotics.sdk.bootloader.hexLine.getCheckSum ( )

Gets the check sum.

Returns
the check sum

Definition at line 35 of file hexLine.java.

References com.neuronrobotics.sdk.bootloader.hexLine.checkSum.

◆ getDataBytes()

byte [] com.neuronrobotics.sdk.bootloader.hexLine.getDataBytes ( )

◆ getEndAddress()

int com.neuronrobotics.sdk.bootloader.hexLine.getEndAddress ( )

◆ getRecordType()

int com.neuronrobotics.sdk.bootloader.hexLine.getRecordType ( )

Gets the record type.

Returns
the record type

Definition at line 114 of file hexLine.java.

References com.neuronrobotics.sdk.bootloader.hexLine.recordType.

Referenced by com.neuronrobotics.sdk.bootloader.hexLine.toString().

◆ getStartAddress()

int com.neuronrobotics.sdk.bootloader.hexLine.getStartAddress ( )

Gets the start address.

Returns
the start address

Definition at line 75 of file hexLine.java.

References com.neuronrobotics.sdk.bootloader.hexLine.address.

Referenced by com.neuronrobotics.sdk.bootloader.hexLine.toString().

◆ hasData()

Boolean com.neuronrobotics.sdk.bootloader.hexLine.hasData ( )

Checks for data.

Returns
the boolean

Definition at line 134 of file hexLine.java.

References com.neuronrobotics.sdk.bootloader.hexLine.dataBytes.

◆ setHighAddress()

void com.neuronrobotics.sdk.bootloader.hexLine.setHighAddress ( long  highAddress)

Sets the high address.

Parameters
highAddressthe new high address

Definition at line 93 of file hexLine.java.

References com.neuronrobotics.sdk.bootloader.hexLine.address, and com.neuronrobotics.sdk.bootloader.hexLine.hasSetHighAddress.

◆ toString()

String com.neuronrobotics.sdk.bootloader.hexLine.toString ( )

Member Data Documentation

◆ address

int com.neuronrobotics.sdk.bootloader.hexLine.address
private

◆ byteCount

int com.neuronrobotics.sdk.bootloader.hexLine.byteCount
private

◆ checkSum

int com.neuronrobotics.sdk.bootloader.hexLine.checkSum
private

◆ dataBytes

ArrayList<Byte> com.neuronrobotics.sdk.bootloader.hexLine.dataBytes = new ArrayList<Byte>()
private

◆ hasSetHighAddress

boolean com.neuronrobotics.sdk.bootloader.hexLine.hasSetHighAddress =false
private

The has set high address.

Definition at line 28 of file hexLine.java.

Referenced by com.neuronrobotics.sdk.bootloader.hexLine.setHighAddress().

◆ recordType

int com.neuronrobotics.sdk.bootloader.hexLine.recordType
private

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