FreeDATA/modem/queues.py

28 lines
753 B
Python
Raw Normal View History

"""
Hold queues used by more than one module to eliminate cyclic imports.
"""
import queue
DATA_QUEUE_TRANSMIT = queue.Queue()
DATA_QUEUE_RECEIVED = queue.Queue()
# Initialize FIFO queue to store received frames
MODEM_RECEIVED_QUEUE = queue.Queue()
MODEM_TRANSMIT_QUEUE = queue.Queue()
2023-05-26 12:25:48 +00:00
# Initialize FIFO queue to store received frames
MESH_RECEIVED_QUEUE = queue.Queue()
2023-06-11 07:12:40 +00:00
MESH_QUEUE_TRANSMIT = queue.Queue()
2023-06-13 12:03:36 +00:00
MESH_SIGNALLING_TABLE = []
2023-06-11 07:12:40 +00:00
2023-05-26 12:25:48 +00:00
2023-02-21 10:57:14 +00:00
# Initialize FIFO queue to store audio frames
AUDIO_RECEIVED_QUEUE = queue.Queue()
AUDIO_TRANSMIT_QUEUE = queue.Queue()
# Initialize FIFO queue to finally store received data
# TODO Fix rx_buffer_size
RX_BUFFER = queue.Queue(maxsize=16)
# Commands we want to send to rigctld
RIGCTLD_COMMAND_QUEUE = queue.Queue()