OSTC Companion
3.0
Companion sofftware for H&W dive computers
|
#include <OSTCFrogOperations.h>
Public Member Functions | |
OSTCFrogOperations () | |
~OSTCFrogOperations () | |
Public Member Functions inherited from HardwareOperations | |
virtual | ~HardwareOperations () |
mandatory (and empty) virtual descructor in the base class. More... | |
Serial & | serial () |
Gives access to serial port in use. Used for other high and low level operations, eg. in OSTC Planner. More... | |
HardwareDescriptor | hardwareDescriptor () |
Ask the connect device for its hardware options. More... | |
Additional Inherited Members | |
Public Types inherited from HardwareOperations | |
enum | HardwareOption { HW_CHARGEABLE_BATTERY = 0x01, HW_LIGHT_SENSOR = 0x02, HW_S8_COM = 0x04, HW_OPTICAL_COM = 0x08, HW_BLUETOOTH_COM = 0x10, HW_DUALCORE = 0x20 } |
Optional features present in the dive computer hardware. More... | |
enum | HardwareDescriptor { HW_UNKNOWN_OSTC = 0, HW_Frog = HW_BLUETOOTH_COM, HW_OSTCSport_a = HW_LIGHT_SENSOR | HW_BLUETOOTH_COM, HW_OSTCSport_b = HW_OSTCSport_a | HW_CHARGEABLE_BATTERY, HW_OSTC2c = HW_CHARGEABLE_BATTERY, HW_OSTC2_a = HW_CHARGEABLE_BATTERY | HW_BLUETOOTH_COM, HW_OSTC2_b = HW_OSTCSport_b, HW_OSTC2_c = HW_OSTC2_b | HW_OPTICAL_COM, HW_OSTC3 = HW_LIGHT_SENSOR | HW_OPTICAL_COM, HW_OSTC3p_a = HW_LIGHT_SENSOR | HW_OPTICAL_COM | HW_BLUETOOTH_COM, HW_OSTC3p_b = HW_OSTCSport_b, HW_OSTCcR_a = HW_CHARGEABLE_BATTERY | HW_S8_COM, HW_OSTCcR_b = HW_OSTCcR_a | HW_LIGHT_SENSOR, HW_OSTC4 } |
Dive computer set of features. More... | |
enum | CompanionFeatures { PARAMETERS = (1<<0), DATE = (1<<1), NAME = (1<<2), ICON = (1<<3), DUMPSCREEN = (1<<4), FIRMWARE = (1<<5), HELIUM_DIVE = (1<<6), CCR_DIVE = (1<<7), BLUETOOTH = (1<<8), VPM_MODEL = (1<<9) } |
Features supported by OSTC Companion on the connected device. More... | |
Static Public Member Functions inherited from HardwareOperations | |
static EXPORT unsigned char | retryCommand (Serial &serial, unsigned char cmd, int retries=10) |
Send a command, wait ack, and retry on error. More... | |
Protected Member Functions inherited from HardwareOperations | |
QStringList | listBluetoothPorts () const |
List serial ports for Bluetooth based devices. More... | |
QStringList | listUSBPorts () const |
List serial ports for USB based devices. More... | |
Protected Attributes inherited from HardwareOperations | |
Serial | _serial |
Communication port used for all I/O operations. More... | |
OSTCFrogOperations::OSTCFrogOperations | ( | ) |
OSTCFrogOperations::~OSTCFrogOperations | ( | ) |