2022-07-03 17:41:06 +00:00
|
|
|
"""
|
|
|
|
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
|
|
|
|
2022-09-05 08:37:50 +00:00
|
|
|
# Initialize FIFO queue to finally store received data
|
2023-11-17 22:33:30 +00:00
|
|
|
# TODO Fix rx_buffer_size
|
|
|
|
RX_BUFFER = queue.Queue(maxsize=16)
|
2023-01-04 18:26:11 +00:00
|
|
|
|
|
|
|
# Commands we want to send to rigctld
|
|
|
|
RIGCTLD_COMMAND_QUEUE = queue.Queue()
|