org.mbari.siam.operations.utils
Class PuckCommandSpec

java.lang.Object
  extended by org.mbari.siam.operations.utils.PuckCommandSpec
Direct Known Subclasses:
PuckCommandSpec_versionOneDotTwo, PuckCommandSpec_versionOneDotZero

public abstract class PuckCommandSpec
extends java.lang.Object


Constructor Summary
PuckCommandSpec()
           
 
Method Summary
abstract  java.lang.String eraseMemoryCommand()
          in spec v1.2 command is: PUCKEM in spec v1.0 command is: ER
abstract  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"
abstract  java.lang.String getAddressCommand()
          in spec v1.2 command is: PUCKGA
abstract  java.lang.String getFirmwareVersionCommand()
          in spec v1.2 command is: PUCKVR
static PuckCommandSpec getInstance()
           
static java.lang.String getPUCK_SPECIFICATION_VERSION()
           
abstract  java.lang.String getSizeOfMemoryCommand()
          in spec v1.2 command is: PUCKSZ
abstract  java.lang.String putPuckInInstrumentModeCommand()
          in spec v1.2 command is: PUCKIM in spec v1.0 command is: SM
abstract  java.lang.String queryPuckTypeCommand()
          in spec v1.2 command is: PUCKTY in spec v1.0 command DOES NOT EXIST
abstract  java.lang.String readFromMemoryCommand()
          in spec v1.2 command is: PUCKRM
abstract  java.lang.String setAddressOfMemoryPointerCommand()
          in spec v1.2 command is: PUCKSA
abstract  java.lang.String setBaudRateCommand()
          in spec v1.2 command is: PUCKSB
static void setPUCK_SPECIFICATION_VERSION(java.lang.String puck_specification_version)
           
abstract  java.lang.String verifyBaudRateCommand()
          in spec v1.2 command is: PUCKVB
abstract  java.lang.String writeToMemoryCommand()
          in spec v1.2 command is: PUCKWM
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PuckCommandSpec

public PuckCommandSpec()
Method Detail

getInstance

public static PuckCommandSpec getInstance()

setBaudRateCommand

public abstract java.lang.String setBaudRateCommand()
in spec v1.2 command is: PUCKSB

Returns:
the PUCK command to set PUCK baud rate

verifyBaudRateCommand

public abstract java.lang.String verifyBaudRateCommand()
in spec v1.2 command is: PUCKVB

Returns:
the PUCK command to Verify baud rate support

readFromMemoryCommand

public abstract java.lang.String readFromMemoryCommand()
in spec v1.2 command is: PUCKRM

Returns:
the PUCK command to Read from PUCK memory

writeToMemoryCommand

public abstract java.lang.String writeToMemoryCommand()
in spec v1.2 command is: PUCKWM

Returns:
the PUCK command to Write to PUCK memory

flushMemoryCommand

public abstract 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"

Returns:
the PUCK command to Make sure any buffered bytes are written to PUCK memory

eraseMemoryCommand

public abstract java.lang.String eraseMemoryCommand()
in spec v1.2 command is: PUCKEM in spec v1.0 command is: ER

Returns:
the PUCK command to Erase PUCK memory

getAddressCommand

public abstract java.lang.String getAddressCommand()
in spec v1.2 command is: PUCKGA

Returns:
the PUCK command to Get address of PUCK internal memory pointer

putPuckInInstrumentModeCommand

public abstract java.lang.String putPuckInInstrumentModeCommand()
in spec v1.2 command is: PUCKIM in spec v1.0 command is: SM

Returns:
the PUCK command to Put PUCK into instrument mode

setAddressOfMemoryPointerCommand

public abstract java.lang.String setAddressOfMemoryPointerCommand()
in spec v1.2 command is: PUCKSA

Returns:
the PUCK command to Set address of PUCK internal memory pointer

getSizeOfMemoryCommand

public abstract java.lang.String getSizeOfMemoryCommand()
in spec v1.2 command is: PUCKSZ

Returns:
the PUCK command to Get the size of the PUCK memory

queryPuckTypeCommand

public abstract java.lang.String queryPuckTypeCommand()
in spec v1.2 command is: PUCKTY in spec v1.0 command DOES NOT EXIST

Returns:
the PUCK command to Query PUCK type

getFirmwareVersionCommand

public abstract java.lang.String getFirmwareVersionCommand()
in spec v1.2 command is: PUCKVR

Returns:
the PUCK command to Get PUCK firmware version string

getPUCK_SPECIFICATION_VERSION

public static final java.lang.String getPUCK_SPECIFICATION_VERSION()

setPUCK_SPECIFICATION_VERSION

public static final void setPUCK_SPECIFICATION_VERSION(java.lang.String puck_specification_version)


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.