org.mbari.siam.operations.utils
Class PuckCommandSpec_versionOneDotZero

java.lang.Object
  extended by org.mbari.siam.operations.utils.PuckCommandSpec
      extended by org.mbari.siam.operations.utils.PuckCommandSpec_versionOneDotZero

public class PuckCommandSpec_versionOneDotZero
extends PuckCommandSpec


Field Summary
static java.lang.String VERSION
           
 
Constructor Summary
protected PuckCommandSpec_versionOneDotZero()
          This class should only be instantiated by the PuckCommandSpec superclass in order to maintain the singleton pattern
 
Method Summary
 java.lang.String eraseMemoryCommand()
          in spec v1.2 command is: PUCKEM in spec v1.0 command is: ER
 java.lang.String flushMemoryCommand()
          in spec v1.2 command is: PUCKFM in spec v1.0 command is: FL ???? In 1.0, description says command is to "End PUCK write session"
 java.lang.String getAddressCommand()
          in spec v1.2 command is: PUCKGA
 java.lang.String getFirmwareVersionCommand()
          in spec v1.2 command is: PUCKVR
 java.lang.String getSizeOfMemoryCommand()
          in spec v1.2 command is: PUCKSZ
 java.lang.String putPuckInInstrumentModeCommand()
          in spec v1.2 command is: PUCKIM in spec v1.0 command is: SM
 java.lang.String queryPuckTypeCommand()
          in spec v1.2 command is: PUCKTY in spec v1.0 command DOES NOT EXIST
 java.lang.String readFromMemoryCommand()
          in spec v1.2 command is: PUCKRM
 java.lang.String setAddressOfMemoryPointerCommand()
          in spec v1.2 command is: PUCKSA
 java.lang.String setBaudRateCommand()
          in spec v1.2 command is: PUCKSB
 java.lang.String verifyBaudRateCommand()
          in spec v1.2 command is: PUCKVB
 java.lang.String writeToMemoryCommand()
          in spec v1.2 command is: PUCKWM
 
Methods inherited from class org.mbari.siam.operations.utils.PuckCommandSpec
getInstance, getPUCK_SPECIFICATION_VERSION, setPUCK_SPECIFICATION_VERSION
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION

public static final java.lang.String VERSION
See Also:
Constant Field Values
Constructor Detail

PuckCommandSpec_versionOneDotZero

protected PuckCommandSpec_versionOneDotZero()
This class should only be instantiated by the PuckCommandSpec superclass in order to maintain the singleton pattern

Method Detail

setBaudRateCommand

public java.lang.String setBaudRateCommand()
Description copied from class: PuckCommandSpec
in spec v1.2 command is: PUCKSB

Specified by:
setBaudRateCommand in class PuckCommandSpec
Returns:
the PUCK command to set PUCK baud rate

verifyBaudRateCommand

public java.lang.String verifyBaudRateCommand()
Description copied from class: PuckCommandSpec
in spec v1.2 command is: PUCKVB

Specified by:
verifyBaudRateCommand in class PuckCommandSpec
Returns:
the PUCK command to Verify baud rate support

readFromMemoryCommand

public java.lang.String readFromMemoryCommand()
Description copied from class: PuckCommandSpec
in spec v1.2 command is: PUCKRM

Specified by:
readFromMemoryCommand in class PuckCommandSpec
Returns:
the PUCK command to Read from PUCK memory

writeToMemoryCommand

public java.lang.String writeToMemoryCommand()
Description copied from class: PuckCommandSpec
in spec v1.2 command is: PUCKWM

Specified by:
writeToMemoryCommand in class PuckCommandSpec
Returns:
the PUCK command to Write to PUCK memory

flushMemoryCommand

public java.lang.String flushMemoryCommand()
Description copied from class: PuckCommandSpec
in spec v1.2 command is: PUCKFM in spec v1.0 command is: FL ???? In 1.0, description says command is to "End PUCK write session"

Specified by:
flushMemoryCommand in class PuckCommandSpec
Returns:
the PUCK command to Make sure any buffered bytes are written to PUCK memory

eraseMemoryCommand

public java.lang.String eraseMemoryCommand()
Description copied from class: PuckCommandSpec
in spec v1.2 command is: PUCKEM in spec v1.0 command is: ER

Specified by:
eraseMemoryCommand in class PuckCommandSpec
Returns:
the PUCK command to Erase PUCK memory

getAddressCommand

public java.lang.String getAddressCommand()
Description copied from class: PuckCommandSpec
in spec v1.2 command is: PUCKGA

Specified by:
getAddressCommand in class PuckCommandSpec
Returns:
the PUCK command to Get address of PUCK internal memory pointer

putPuckInInstrumentModeCommand

public java.lang.String putPuckInInstrumentModeCommand()
Description copied from class: PuckCommandSpec
in spec v1.2 command is: PUCKIM in spec v1.0 command is: SM

Specified by:
putPuckInInstrumentModeCommand in class PuckCommandSpec
Returns:
the PUCK command to Put PUCK into instrument mode

setAddressOfMemoryPointerCommand

public java.lang.String setAddressOfMemoryPointerCommand()
Description copied from class: PuckCommandSpec
in spec v1.2 command is: PUCKSA

Specified by:
setAddressOfMemoryPointerCommand in class PuckCommandSpec
Returns:
the PUCK command to Set address of PUCK internal memory pointer

getSizeOfMemoryCommand

public java.lang.String getSizeOfMemoryCommand()
Description copied from class: PuckCommandSpec
in spec v1.2 command is: PUCKSZ

Specified by:
getSizeOfMemoryCommand in class PuckCommandSpec
Returns:
the PUCK command to Get the size of the PUCK memory

queryPuckTypeCommand

public java.lang.String queryPuckTypeCommand()
Description copied from class: PuckCommandSpec
in spec v1.2 command is: PUCKTY in spec v1.0 command DOES NOT EXIST

Specified by:
queryPuckTypeCommand in class PuckCommandSpec
Returns:
the PUCK command to Query PUCK type

getFirmwareVersionCommand

public java.lang.String getFirmwareVersionCommand()
Description copied from class: PuckCommandSpec
in spec v1.2 command is: PUCKVR

Specified by:
getFirmwareVersionCommand in class PuckCommandSpec
Returns:
the PUCK command to Get PUCK firmware version string


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.