2022-07-03 17:41:06 +00:00
|
|
|
"""
|
|
|
|
Hold queues used by more than one module to eliminate cyclic imports.
|
|
|
|
"""
|
|
|
|
import queue
|
2022-09-05 08:47:03 +00:00
|
|
|
import static
|
2022-07-03 17:41:06 +00:00
|
|
|
|
|
|
|
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()
|
2022-09-05 08:37:50 +00:00
|
|
|
|
|
|
|
# Initialize FIFO queue to finally store received data
|
2022-09-05 08:47:03 +00:00
|
|
|
RX_BUFFER = queue.Queue(maxsize=static.RX_BUFFER_SIZE)
|
2023-01-04 18:26:11 +00:00
|
|
|
|
|
|
|
# Commands we want to send to rigctld
|
|
|
|
RIGCTLD_COMMAND_QUEUE = queue.Queue()
|