Package kenozooid :: Package driver :: Package hwos :: Module api :: Class HWOSDriver

Class HWOSDriver

source code

Driver for hwOS family OSTC dive computers.
Instance Methods
 
__init__(self, port) source code
Static Methods
 
scan(port=None)
Look for hwOS based dive computer connected via Bluetooth.
source code
Class Variables
  dev = self._device
  value = await dev.read(1)
  data = await dev.read(n+ 1)
Method Details

scan(port=None)
Static Method

source code 

Look for hwOS based dive computer connected via Bluetooth.

NOTE: Just connects to a dive computer using given MAC address.

Parameters:
  • port - Bluetooth MAC address of a dive computer.