src.services.hardware_interface.testing package¶
Submodules¶
src.services.hardware_interface.testing.uart module¶
- class src.services.hardware_interface.testing.uart.UARTTestManager(hi_interface: DummyInterface, uart_name: str, max_queue_size: int = 100)¶
Bases:
objectManages UART testing with queues for sending and receiving messages
- receive_message() str | None¶
Retrieve a message from the receive queue
- Returns:
Optional message from the queue
- send_message(message: str)¶
Add a message to the send queue
- Parameters:
message (str) – Message to send via UART
- start_testing()¶
Start the UART testing thread
- stop_testing()¶
Stop the UART testing thread