peripherals.Peripheral

class peripherals.Peripheral(**kwargs)
abstract __init__(**kwargs)

Initialize the peripheral

abstract property connected: bool

True if the peripheral is connected

abstract property gui_name: str

The GUI-friendly name of this peripheral

abstract connect(**kwargs)bool

Connect the peripheral (disconnect first if necessary). Returns True if successful, False otherwise

abstract disconnect()None

Disconnect the peripheral