Package kenozooid :: Package driver :: Package ostc

Package ostc

source code

Driver for OSTC, an open source dive computer.

OSTC dive computer specification and documentation of communication protocol can be found at address

http://www.heinrichsweikamp.net/
Submodules

Classes
  OSTCDriver
OSTC dive computer driver.
  OSTCSimulator
OSTC dive computer simulator support.
  OSTCDataParser
OSTC dive computer data parser.
Functions
 
pressure(depth)
Convert depth in meters to pressure in mBars.
source code
Variables
  log = logging.getLogger('kenozooid.driver.ostc')
  GAS_GETTERS = {i: attrgetter('gas{}_o2'.format(i), 'gas{}_he'....
Variables Details

GAS_GETTERS

Value:
{i: attrgetter('gas{}_o2'.format(i), 'gas{}_he'.format(i)) for i in ra\
nge(1, 7)}