FreeDATA/modem/queues.py
2023-12-04 11:36:50 +01:00

16 lines
434 B
Python

"""
Hold queues used by more than one module to eliminate cyclic imports.
"""
import queue
# Initialize FIFO queue to store received frames
MESH_RECEIVED_QUEUE = queue.Queue()
MESH_QUEUE_TRANSMIT = queue.Queue()
MESH_SIGNALLING_TABLE = []
# 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()