org.openaltimeter
Class Altimeter
java.lang.Object
org.openaltimeter.Altimeter
public class Altimeter
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FLASH_MEMORY_SIZE
public static final int FLASH_MEMORY_SIZE
- See Also:
- Constant Field Values
settings
public Settings settings
firmwareVersion
public java.lang.String firmwareVersion
loggingPeriod
public int loggingPeriod
Altimeter
public Altimeter()
connect
public java.lang.String connect(java.lang.String comPortName,
int baudRate)
throws NoSuchPortException,
PortInUseException,
UnsupportedCommOperationException,
java.io.IOException,
Altimeter.NotAnOpenaltimeterException,
java.util.TooManyListenersException
- Throws:
NoSuchPortException
PortInUseException
UnsupportedCommOperationException
java.io.IOException
Altimeter.NotAnOpenaltimeterException
java.util.TooManyListenersException
getFileInfo
public java.lang.String getFileInfo()
throws java.io.IOException
- Throws:
java.io.IOException
disconnect
public void disconnect()
reset
public void reset()
downloadData
public FlightLog downloadData()
throws java.io.IOException,
Altimeter.DownloadTimeoutException
- Throws:
java.io.IOException
Altimeter.DownloadTimeoutException
erase
public java.lang.String erase()
throws java.io.IOException
- Throws:
java.io.IOException
readSettings
public void readSettings()
throws java.io.IOException
- Throws:
java.io.IOException
writeSettings
public void writeSettings()
throws java.io.IOException
- Throws:
java.io.IOException
wipeSettings
public void wipeSettings()
throws java.io.IOException
- Throws:
java.io.IOException
upload
public void upload(java.lang.String dataToUpload)
throws java.io.IOException
- Throws:
java.io.IOException