Source code for pyfldigi.client.ioconfig
'''ARQ/KISS I/O port
'''
[docs]class Io(object):
'''
.. note:: An instance of this class automatically gets created under :py:class:`pyfldigi.client.client.Client` when it is constructed.
'''
def __init__(self, clientObj):
self.clientObj = clientObj
self.client = clientObj.client
[docs] def in_use(self):
'''Returns the IO port in use (ARQ/KISS).
'''
return self.client.io.in_use()
[docs] def enable_kiss(self):
'''Switch to KISS I/O
'''
self.client.io.enable_kiss()
[docs] def enable_arq(self):
'''Switch to ARQ I/O
'''
self.client.io.enable_arq()