HF2Devices#

class HF2Devices(session: Session)[source]#

Bases: Devices

Mapping class for the connected HF2 devices.

Maps the connected devices from data server to lazy device objects. It derives from the general Devices class and adds the special handling for the HF2 data server. Since the HF2 Data Server is based on the API Level 1 it as a much more restricted API. This means it is not possible to get the connected or visible devices from the data server. This class must track the connected devices itself and use discovery to mimic the behavior of the new data server used for the other devices.

Methods

add_hf2_device(serial)

Add a new HF2 device.

connected()

Get a list of devices connected to the data server.

visible()

Get a list of devices visible to the data server.

Parameters:

session (Session) –