FreeDATA/modem/queues.py

16 lines
434 B
Python
Raw Normal View History

"""
Hold queues used by more than one module to eliminate cyclic imports.
"""
import 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
# 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()