peripherals.UtahSocketPeripheral

class peripherals.UtahSocketPeripheral
gui_name = 'Utah'
__init__()

Initialize the peripheral

property connected

True if the peripheral is connected

connect(addr, port=54321, timeout=60, **kwargs)

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

disconnect()

Disconnect the peripheral

handle_new_message(backend, timeout=0)

Get a new message from the external controller using the given timeout. If a new message exists, handle it using the current backend object